mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49: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": {
|
||||
"lint": "run-p -c lint:* --",
|
||||
"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:stylelint": "cross-env stylelint '**/*.{ts,tsx}'",
|
||||
"lint:types": "tsc --noEmit",
|
||||
|
|
Loading…
Add table
Reference in a new issue