mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-04 09:19:06 +01:00
cb50375e2b
Add nakedret, unconvert, wastedassign, stylecheck and nolintlint linters to improve code readability - nakedret - https://github.com/alexkohler/nakedret - nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length. - unconvert - https://github.com/mdempsky/unconvert - Remove unnecessary type conversions - wastedassign - https://github.com/sanposhiho/wastedassign - wastedassign finds wasted assignment statements. - notlintlint - Reports ill-formed or insufficient nolint directives - stylecheck - https://staticcheck.io/docs/checks/#ST - keep style consistent - excluded: [ST1003 - Poorly chosen identifier](https://staticcheck.io/docs/checks/#ST1003) and [ST1005 - Incorrectly formatted error string](https://staticcheck.io/docs/checks/#ST1005) |
||
---|---|---|
.. | ||
activitypub.go | ||
admin_user.go | ||
attachment.go | ||
commit_status.go | ||
cron.go | ||
doc.go | ||
fork.go | ||
git_blob.go | ||
git_hook.go | ||
hook.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_milestone.go | ||
issue_reaction.go | ||
issue_stopwatch.go | ||
issue_tracked_time.go | ||
lfs_lock.go | ||
miscellaneous.go | ||
nodeinfo.go | ||
notifications.go | ||
org.go | ||
org_member.go | ||
org_team.go | ||
org_type.go | ||
package.go | ||
pull.go | ||
pull_review.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaborator.go | ||
repo_commit.go | ||
repo_file.go | ||
repo_key.go | ||
repo_note.go | ||
repo_refs.go | ||
repo_tag.go | ||
repo_topic.go | ||
repo_tree.go | ||
repo_watch.go | ||
repo_wiki.go | ||
settings.go | ||
status.go | ||
task.go | ||
user.go | ||
user_app.go | ||
user_email.go | ||
user_gpgkey.go | ||
user_key.go |