File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2"
2
+
3
+ run :
4
+ timeout : " 240s"
5
+ # TODO: remove following line to make golangci return non-zero as lint were not passed
6
+ issues-exit-code : 0
7
+
8
+ linters :
9
+ default : standard
10
+ disable :
11
+ - unused
12
+
13
+ formatters :
14
+ enable :
15
+ - gofmt
16
+ settings :
17
+ gofmt :
18
+ rewrite-rules :
19
+ - pattern : ' interface{}'
20
+ replacement : ' any'
Original file line number Diff line number Diff line change @@ -110,18 +110,18 @@ tasks:
110
110
lint :
111
111
cmds :
112
112
- task : lint:fe
113
- # - task: lint:be
113
+ - task : lint:be
114
114
115
115
lint:fe :
116
116
dir : web
117
117
cmds :
118
118
- npm run lint
119
119
120
- # lint:be:
121
- # cmds:
122
- # - golangci-lint run --disable goconst --timeout 240s ./...
123
- # - go vet ./...
124
- # - swagger validate ./api-docs.yml
120
+ lint:be :
121
+ cmds :
122
+ - golangci-lint run
123
+ # - go vet ./...
124
+ # - swagger validate ./api-docs.yml
125
125
126
126
test :
127
127
cmds :
You can’t perform that action at this time.
0 commit comments