mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
automatically go fmt on lint
This commit is contained in:
parent
2e1e63a789
commit
d93592f1a2
4 changed files with 85 additions and 84 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue