File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
issues :
2
+ exclude-rules :
3
+ # Exclude issues bypassing staticcheck.conf
4
+ - linters :
5
+ - staticcheck
6
+ text : " SA1019:"
2
7
max-per-linter : 0
3
8
max-same-issues : 0
4
9
@@ -11,8 +16,7 @@ linters:
11
16
- gosimple
12
17
- ineffassign
13
18
- misspell
14
- # Run separately for TravisCI memory issues
15
- # - staticcheck
19
+ - staticcheck
16
20
- structcheck
17
21
- unconvert
18
22
- unused
@@ -24,5 +28,5 @@ linters-settings:
24
28
ignore : github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
25
29
26
30
run :
27
- deadline : 5m
28
31
modules-download-mode : vendor
32
+ timeout : 5m
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ websitefmtcheck:
36
36
37
37
lint :
38
38
@echo " ==> Checking source code against linters..."
39
- @golangci-lint run --no-config --deadline 5m --disable-all --enable staticcheck --exclude SA1019 --max-issues-per-linter 0 --max-same-issues 0 ./$(PKG_NAME ) /...
40
39
@golangci-lint run ./$(PKG_NAME ) /...
41
40
@tfproviderlint \
42
41
-c 1 \
You can’t perform that action at this time.
0 commit comments