automatically go fmt on lint

This commit is contained in:
41666 2020-12-05 23:26:36 -05:00
parent 2e1e63a789
commit d93592f1a2
4 changed files with 85 additions and 84 deletions

View file

@ -15,6 +15,7 @@
"scripts": { "scripts": {
"lint": "run-p -c lint:* --", "lint": "run-p -c lint:* --",
"lint:eslint": "eslint", "lint:eslint": "eslint",
"lint:go": "go fmt ./...",
"lint:prettier": "cross-env prettier -c '**/*.{ts,tsx,css,yml,yaml,md,json,js,jsx,sh,gitignore,mdx,Dockerfile}'", "lint:prettier": "cross-env prettier -c '**/*.{ts,tsx,css,yml,yaml,md,json,js,jsx,sh,gitignore,mdx,Dockerfile}'",
"lint:stylelint": "cross-env stylelint '**/*.{ts,tsx}'", "lint:stylelint": "cross-env stylelint '**/*.{ts,tsx}'",
"lint:types": "tsc --noEmit", "lint:types": "tsc --noEmit",