File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed
Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,19 @@ linters:
7878 rules :
7979 - name : package-comments
8080 disabled : true
81- nolintlint :
82- allow-leading-space : true # don't require machine-readable nolint directives (i.e. with no leading space)
83- allow-unused : false # report any unused nolint directives
84- require-explanation : false # don't require an explanation for nolint directives
85- require-specific : false # don't require nolint directives to be specific about which linter is being skipped
81+ exclusions :
82+ rules :
83+ - path : _test\.go
84+ linters :
85+ - mnd
86+ - scopelint
87+ paths :
88+ - assets
89+ - docs
90+ - vendor
91+ - pkg/parser/jsonfilter/parser
92+ - pkg/parser/bicep/antlr
93+
8694formatters :
8795 enable :
8896 - gofmt
@@ -92,19 +100,6 @@ formatters:
92100 local-prefixes :
93101 - github.com/golangci/golangci-lint
94102
95- issues :
96- # Excluding configuration per-path, per-linter, per-text and per-source
97- exclude-rules :
98- - path : _test\.go
99- linters :
100- - mnd
101- - scopelint
102- exclude-dirs :
103- - assets
104- - docs
105- - vendor
106- - pkg/parser/jsonfilter/parser
107- - pkg/parser/bicep/antlr
108103run :
109104 timeout : 5m
110105 tests : false
You can’t perform that action at this time.
0 commit comments