Merge pull request #378 from robintown/lint-shortcut
Add a shortcut lint script
This commit is contained in:
commit
21ec08ffbd
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
"build-storybook": "build-storybook",
|
"build-storybook": "build-storybook",
|
||||||
"prettier:check": "prettier -c src",
|
"prettier:check": "prettier -c src",
|
||||||
"prettier:format": "prettier -w src",
|
"prettier:format": "prettier -w src",
|
||||||
|
"lint": "yarn lint:types && yarn lint:js",
|
||||||
"lint:js": "eslint --max-warnings 0 src",
|
"lint:js": "eslint --max-warnings 0 src",
|
||||||
"lint:types": "tsc"
|
"lint:types": "tsc"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue