Skip to content

Commit 7289347

Browse files
committed
Cleanup linter config files
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 7262aee commit 7289347

2 files changed

Lines changed: 4 additions & 17 deletions

File tree

.golangci.strict.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ linters:
2828
- XR005 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR005
2929
- XR007 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR007
3030
- XS001 # https://github.com/bflad/tfproviderlint/tree/main/passes/XS001
31-
- L002 # file:///./tools/tfproviderlint/checks/L002/README.md
31+
# Custom local checks
32+
- L002 # file:///./tools/tfproviderlint/checks/L002/L002.go
3233
- L003 # file:///./tools/tfproviderlint/checks/L003/L003.go

.golangci.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,40 +39,30 @@ linters:
3939
enabled-checks:
4040
- AT005 # https://github.com/bflad/tfproviderlint/tree/main/passes/AT005
4141
- AT008 # https://github.com/bflad/tfproviderlint/tree/main/passes/AT008
42-
# - AT009 # https://github.com/bflad/tfproviderlint/tree/main/passes/AT009 # TODO: Enable when we can fix the issues
43-
# - R002 # https://github.com/bflad/tfproviderlint/tree/main/passes/R002
44-
# - R004 # https://github.com/bflad/tfproviderlint/tree/main/passes/R004
4542
- R005 # https://github.com/bflad/tfproviderlint/tree/main/passes/R005
4643
- R006 # https://github.com/bflad/tfproviderlint/tree/main/passes/R006
47-
# - R009 # https://github.com/bflad/tfproviderlint/tree/main/passes/R009 # TODO: Enable when we can fix the issues
48-
# - R010 # https://github.com/bflad/tfproviderlint/tree/main/passes/R010 # TODO: Enable when we can fix the issues
4944
- R011 # https://github.com/bflad/tfproviderlint/tree/main/passes/R011
5045
- R012 # https://github.com/bflad/tfproviderlint/tree/main/passes/R012
5146
- R013 # https://github.com/bflad/tfproviderlint/tree/main/passes/R013
5247
- R015 # https://github.com/bflad/tfproviderlint/tree/main/passes/R015
5348
- R016 # https://github.com/bflad/tfproviderlint/tree/main/passes/R016
5449
- R017 # https://github.com/bflad/tfproviderlint/tree/main/passes/R017
55-
# - R018 # https://github.com/bflad/tfproviderlint/tree/main/passes/R018 # TODO: Enable when we can fix the issues
5650
- S001 # https://github.com/bflad/tfproviderlint/tree/main/passes/S001
5751
- S002 # https://github.com/bflad/tfproviderlint/tree/main/passes/S002
5852
- S003 # https://github.com/bflad/tfproviderlint/tree/main/passes/S003
5953
- S004 # https://github.com/bflad/tfproviderlint/tree/main/passes/S004
6054
- S005 # https://github.com/bflad/tfproviderlint/tree/main/passes/S005
61-
# - S006 # https://github.com/bflad/tfproviderlint/tree/main/passes/S006 # TODO: Enable when we can fix the issues
6255
- S007 # https://github.com/bflad/tfproviderlint/tree/main/passes/S007
6356
- S008 # https://github.com/bflad/tfproviderlint/tree/main/passes/S008
6457
- S009 # https://github.com/bflad/tfproviderlint/tree/main/passes/S009
6558
- S010 # https://github.com/bflad/tfproviderlint/tree/main/passes/S010
6659
- S011 # https://github.com/bflad/tfproviderlint/tree/main/passes/S011
6760
- S012 # https://github.com/bflad/tfproviderlint/tree/main/passes/S012
68-
# - S013 # https://github.com/bflad/tfproviderlint/tree/main/passes/S013 # TODO: Enable when we can fix the issues
6961
- S014 # https://github.com/bflad/tfproviderlint/tree/main/passes/S014
7062
- S015 # https://github.com/bflad/tfproviderlint/tree/main/passes/S015
7163
- S016 # https://github.com/bflad/tfproviderlint/tree/main/passes/S016
7264
- S017 # https://github.com/bflad/tfproviderlint/tree/main/passes/S017
7365
- S018 # https://github.com/bflad/tfproviderlint/tree/main/passes/S018
74-
# - S019 # https://github.com/bflad/tfproviderlint/tree/main/passes/S019 # TODO: Enable when we can fix the issues
75-
# - S020 # https://github.com/bflad/tfproviderlint/tree/main/passes/S020 # TODO: Enable when we can fix the issues
7666
- S021 # https://github.com/bflad/tfproviderlint/tree/main/passes/S021
7767
- S022 # https://github.com/bflad/tfproviderlint/tree/main/passes/S022
7868
- S023 # https://github.com/bflad/tfproviderlint/tree/main/passes/S023
@@ -89,15 +79,11 @@ linters:
8979
- S035 # https://github.com/bflad/tfproviderlint/tree/main/passes/S035
9080
- S036 # https://github.com/bflad/tfproviderlint/tree/main/passes/S036
9181
- S037 # https://github.com/bflad/tfproviderlint/tree/main/passes/S037
92-
# - XR002 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR002 # TODO: Enable when we can fix the issues
93-
# - XR003 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR003 # TODO: Enable when we can fix the issues
9482
- XR004 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR004
95-
# - XR005 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR005 # TODO: Enable when we can fix the issues
9683
- XR006 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR006
97-
# - XR007 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR007 # TODO: Enable when we can fix the issues
9884
- XR008 # https://github.com/bflad/tfproviderlint/tree/main/passes/XR008
99-
# - XS001 # https://github.com/bflad/tfproviderlint/tree/main/passes/XS001 # TODO: Enable when we can fix the issues
100-
- L001 # file:///./tools/tfproviderlint/checks/L001/README.md
85+
# Custom local checks
86+
- L001 # file:///./tools/tfproviderlint/checks/L001/L001.go
10187

10288
exclusions:
10389
generated: lax

0 commit comments

Comments
 (0)