diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-12-13 07:56:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 13:56:24 +0800 |
commit | 9d6b4702602cd29387a639c35cfb92e21a3bad11 (patch) | |
tree | d399130b9276f88be21cd277940110154df329f9 /.golangci.yml | |
parent | chore: Set max line length to 130 characters (#1676) (diff) | |
download | fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.tar.gz fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.tar.bz2 fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.zip |
chore: Add missing dots at the end of comments (#1677)
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.golangci.yml b/.golangci.yml index bfc873b..d768d90 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -21,7 +21,6 @@ linters: - gocognit - goconst - gocyclo - - godot - goerr113 - gomnd - gosec @@ -35,7 +34,6 @@ linters: - nonamedreturns - paralleltest - perfsprint - - stylecheck - testableexamples - testpackage - thelper @@ -59,20 +57,28 @@ linters: - varcheck linters-settings: - # Show all issues from a linter. - max-issues-per-linter: 0 - - # Show all issues with the same text. - max-same-issues: 0 - revive: # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md rules: - name: use-any lll: line-length: 130 + stylecheck: + checks: [ + "all", + "-ST1000", # at least one file in a package should have a package comment + ] issues: + # Show all issues from a linter. + max-issues-per-linter: 0 + + # Show all issues with the same text. + max-same-issues: 0 + + include: + - EXC0011 # include issues about comments from `stylecheck` + exclude-rules: # Exclude some linters from running on tests files. - path: _test\.go |