@@ -186,8 +186,6 @@ help:
186186 @echo " - generate-swagger generate the swagger spec from code comments"
187187 @echo " - swagger-validate check if the swagger spec is valid"
188188 @echo " - golangci-lint run golangci-lint linter"
189- @echo " - revive run revive linter"
190- @echo " - misspell check for misspellings"
191189 @echo " - vet examines Go source code and reports suspicious constructs"
192190 @echo " - test[\#TestSpecificName] run unit test"
193191 @echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite"
@@ -280,29 +278,6 @@ errcheck:
280278 @echo " Running errcheck..."
281279 @errcheck $(GO_PACKAGES )
282280
283- .PHONY : revive
284- revive :
285- @hash revive > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
286- $(GO ) install github.com/mgechev/
[email protected] ; \ 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/
[email protected] ; \ 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/
[email protected] ; \ 302- fi
303- @echo " Running go misspell..."
304- @$(GO ) run build/code-batch-process.go misspell -w -i unknwon ' {file-list}'
305-
306281.PHONY : fmt-check
307282fmt-check :
308283 # get all go files and run go fmt on them
@@ -320,7 +295,7 @@ checks: checks-frontend checks-backend
320295checks-frontend : svg-check
321296
322297.PHONY : checks-backend
323- checks-backend : misspell-check test-vendor swagger-check swagger-validate
298+ checks-backend : test-vendor swagger-check swagger-validate
324299
325300.PHONY : lint
326301lint : lint-frontend lint-backend
@@ -332,7 +307,7 @@ lint-frontend: node_modules
332307 npx editorconfig-checker templates
333308
334309.PHONY : lint-backend
335- lint-backend : golangci-lint revive vet
310+ lint-backend : golangci-lint vet
336311
337312.PHONY : watch
338313watch :
0 commit comments