@@ -186,8 +186,6 @@ help:
186
186
@echo " - generate-swagger generate the swagger spec from code comments"
187
187
@echo " - swagger-validate check if the swagger spec is valid"
188
188
@echo " - golangci-lint run golangci-lint linter"
189
- @echo " - revive run revive linter"
190
- @echo " - misspell check for misspellings"
191
189
@echo " - vet examines Go source code and reports suspicious constructs"
192
190
@echo " - test[\#TestSpecificName] run unit test"
193
191
@echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite"
@@ -280,29 +278,6 @@ errcheck:
280
278
@echo " Running errcheck..."
281
279
@errcheck $(GO_PACKAGES )
282
280
283
- .PHONY : revive
284
- revive :
285
- @hash revive > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
286
- $(GO ) install github.com/mgechev/revive@v1.1.2; \
287
- fi
288
- @revive -config .revive.toml -exclude=./vendor/... ./...
289
-
290
- .PHONY : misspell-check
291
- misspell-check :
292
- @hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
293
- $(GO ) install github.com/client9/misspell/cmd/misspell@v0.3.4; \
294
- fi
295
- @echo " Running misspell-check..."
296
- @$(GO ) run build/code-batch-process.go misspell -error -i unknwon ' {file-list}'
297
-
298
- .PHONY : misspell
299
- misspell :
300
- @hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
301
- $(GO ) install github.com/client9/misspell/cmd/misspell@v0.3.4; \
302
- fi
303
- @echo " Running go misspell..."
304
- @$(GO ) run build/code-batch-process.go misspell -w -i unknwon ' {file-list}'
305
-
306
281
.PHONY : fmt-check
307
282
fmt-check :
308
283
# get all go files and run go fmt on them
@@ -320,7 +295,7 @@ checks: checks-frontend checks-backend
320
295
checks-frontend : svg-check
321
296
322
297
.PHONY : checks-backend
323
- checks-backend : misspell-check test-vendor swagger-check swagger-validate
298
+ checks-backend : test-vendor swagger-check swagger-validate
324
299
325
300
.PHONY : lint
326
301
lint : lint-frontend lint-backend
@@ -332,7 +307,7 @@ lint-frontend: node_modules
332
307
npx editorconfig-checker templates
333
308
334
309
.PHONY : lint-backend
335
- lint-backend : golangci-lint revive vet
310
+ lint-backend : golangci-lint vet
336
311
337
312
.PHONY : watch
338
313
watch :
0 commit comments