@@ -546,34 +546,34 @@ Flags:
546546 --fast Run only fast linters from enabled linters set (first run won' t be fast)
547547 -e, --exclude strings Exclude issue by regexp
548548 --exclude-use-default Use or not use default excludes:
549- # errcheck: Almost all programs ignore errors on these functions and in most cases it' s ok
549+ # EXC0001 errcheck: Almost all programs ignore errors on these functions and in most cases it' s ok
550550 - Error return value of .(( os\.)? std(out| err)\..*| .* Close| .* Flush| os\.Remove(All)?| .* printf?| os\.(Un)? Setenv). is not checked
551551
552- # golint: Annoying issue about not having a comment. The rare codebase has such comments
552+ # EXC 0002 golint: Annoying issue about not having a comment. The rare codebase has such comments
553553 - (comment on exported (method|function|type|const)|should have( a package)? comment|comment should be of the form)
554554
555- # golint: False positive when tests are defined in package 'test'
555+ # EXC 0003 golint: False positive when tests are defined in package 'test'
556556 - func name will be used as test\.Test.* by other packages, and that stutters; consider calling this
557557
558- # govet: Common false positives
558+ # EXC 0004 govet: Common false positives
559559 - (possible misuse of unsafe.Pointer|should have signature)
560560
561- # staticcheck: Developers tend to write in C-style with an explicit 'break' in a 'switch', so it's ok to ignore
561+ # EXC 0005 staticcheck: Developers tend to write in C-style with an explicit 'break' in a 'switch', so it's ok to ignore
562562 - ineffective break statement. Did you mean to break out of the outer loop
563563
564- # gosec: Too many false-positives on 'unsafe' usage
564+ # EXC 0006 gosec: Too many false-positives on 'unsafe' usage
565565 - Use of unsafe calls should be audited
566566
567- # gosec: Too many false-positives for parametrized shell calls
567+ # EXC 0007 gosec: Too many false-positives for parametrized shell calls
568568 - Subprocess launch(ed with variable|ing should be audited)
569569
570- # gosec: Duplicated errcheck checks
570+ # EXC 0008 gosec: Duplicated errcheck checks
571571 - G104
572572
573- # gosec: Too many issues in popular repos
573+ # EXC 0009 gosec: Too many issues in popular repos
574574 - (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
575575
576- # gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
576+ # EXC 0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
577577 - Potential file inclusion via variable
578578 (default true)
579579 --exclude-case-sensitive If set to true exclude and exclude rules regular expressions are case sensitive
0 commit comments