1. Rename in a backward compatible way
2. Remove gosec default exclude list because gosec is already disabled
by default.
3. Warn about unmatched linter names in //nolint directives
4. Process linter names in //nolint directives in upper case
5. Disable gosec for golangci-lint in .golangci.yml
We skip all issues from autogenerated files.
Also reuse AST parsing for nolint and autogenerated exclude processors:
decrease processing time on golang source code from 3s to 800ms.
As observed in #30, there's tools out there that don't comply 100% with
the referenced golang convention.
With this change, golangci-lint will skip some more of those generated
files.
Signed-off-by: Stephan Renatus <srenatus@chef.io>