Skip to content

Commit 948afe1

Browse files
committed
add useful yarn run lint alias
1 parent 3805a62 commit 948afe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"eslint-fix": "eslint --fix --ignore-path .gitignore . --ext .js,.cjs,.ts,.svelte",
4343
"prettier-check": "prettier --check \"./**/*.{json,css,js,cjs,ts,svelte}\"",
4444
"prettier-fix": "prettier --write \"./**/*.{json,css,js,cjs,ts,svelte}\"",
45-
"lint-fix-all": "yarn eslint-fix && yarn prettier-fix"
45+
"lint": "yarn run check && yarn run eslint-check && yarn run prettier-fix",
46+
"lint-fix-all": "yarn run eslint-fix && yarn run prettier-fix"
4647
},
4748
"dependencies": {
4849
"cookie": "^1.0.2",

0 commit comments

Comments
 (0)