@@ -217,6 +217,7 @@ gocognit: Computes and checks the cognitive complexity of functions [fast: true,
217217goconst: Finds repeated strings that could be replaced by a constant [fast: true, auto-fix: false]
218218gocritic: The most opinionated Go source code linter [fast: true, auto-fix: false]
219219gocyclo: Computes and checks the cyclomatic complexity of functions [fast: true, auto-fix: false]
220+ godot: Check if comments end in a period [fast: true, auto-fix: false]
220221godox: Tool for detection of FIXME, TODO and other comment keywords [fast: true, auto-fix: false]
221222gofmt: Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification [fast: true, auto-fix: true]
222223goimports: Goimports does everything that gofmt does. Additionally it checks unused imports [fast: true, auto-fix: true]
@@ -488,6 +489,7 @@ golangci-lint help linters
488489- [wsl](https://github.com/bombsimon/wsl) - Whitespace Linter - Forces you to use empty lines!
489490- [goprintffuncname](https://github.com/jirfag/go-printf-func-name) - Checks that printf-like functions are named with `f` at the end
490491- [gomnd](https://github.com/tommy-muehle/go-mnd) - An analyzer to detect magic numbers.
492+ - [godot](https://github.com/tetafro/godot) - Check if comments end in a period
491493
492494## Configuration
493495
@@ -736,6 +738,9 @@ linters-settings:
736738 gocyclo:
737739 # minimal code complexity to report, 30 by default (but we recommend 10 -20 )
738740 min-complexity: 10
741+ godot:
742+ # check all top-level comments, not only declarations
743+ check-all: false
739744 godox:
740745 # report any comments starting with keywords, this is useful for TODO or FIXME comments that
741746 # might be left in the code accidentally and should be resolved before merging
@@ -1261,6 +1266,7 @@ Thanks to developers and authors of used linters:
12611266- [bombsimon](https://github.com/bombsimon)
12621267- [jirfag](https://github.com/jirfag)
12631268- [tommy-muehle](https://github.com/tommy-muehle)
1269+ - [tetafro](https://github.com/tetafro)
12641270
12651271## Changelog
12661272
0 commit comments