mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
chore: fix lint-staged issues
This commit is contained in:
parent
89d23cb214
commit
5c36a56385
2 changed files with 43 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
|||
"lint:terraform": "terraform fmt -recursive -check ./terraform",
|
||||
"lint:types": "tsc --noEmit",
|
||||
"now-build": "run-s storybook:build",
|
||||
"postinstall": "husky install",
|
||||
"postinstall": "is-ci || husky install",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"storybook:build": "build-storybook",
|
||||
"test": "jest",
|
||||
|
@ -88,6 +88,7 @@
|
|||
"eslint-plugin-jsdoc": "^30.7.8",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"husky": "^5.0.6",
|
||||
"is-ci": "^2.0.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest-cli": "^26.6.3",
|
||||
"jest-environment-enzyme": "^7.1.2",
|
||||
|
@ -112,14 +113,14 @@
|
|||
"ts-jest": "^26.4.4",
|
||||
"ts-loader": "^8.0.12",
|
||||
"tsconfig-paths-webpack-plugin": "^3.3.0",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "^4.1.3",
|
||||
"webpack": "^4.44.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js,jsx}": [
|
||||
"tsc -p tsconfig.json --noEmit",
|
||||
"eslint",
|
||||
"stylelint --fix",
|
||||
"stylelint",
|
||||
"prettier --write"
|
||||
],
|
||||
"*.go": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue