Skip to content

Commit 777b035

Browse files
committed
Update lint-stage script
1 parent c404c97 commit 777b035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
},
7474
"lint-staged": {
7575
"*.{ts,tsx}": [
76-
"npm run lint"
76+
"eslint --ignore-path .gitignore ."
7777
],
7878
"*.{ts,tsx,css,scss,md}": [
79-
"npm run pret:fix"
79+
"prettier --ignore-path .gitignore --config ./.prettierrc --write './**/*.{js,jsx,ts,tsx,css,md,json}'"
8080
]
8181
}
8282
}

0 commit comments

Comments
 (0)