style: run prettier on pre-commit hook
This commit is contained in:
committed by
Stefan Rotsch
parent
b82d5a9da9
commit
9948712690
@@ -20,7 +20,8 @@
|
||||
"build:scripts": "tsc --project tsconfig.scripts.json",
|
||||
"test": "react-scripts test --watchAll=false",
|
||||
"ts:check": "tsc --noEmit",
|
||||
"lint": "npm run ts:check && eslint src/**/*.tsx"
|
||||
"lint": "npm run ts:check && eslint src/**/*.tsx",
|
||||
"prettier": "prettier --write '{scripts,src}/**/*.{ts,tsx}'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apideck/better-ajv-errors": "0.3.6",
|
||||
|
||||
Reference in New Issue
Block a user