Use prettier on all files
This commit is contained in:
parent
a4c9b8d75a
commit
8b0baa2e66
1 changed files with 4 additions and 2 deletions
|
@ -21,8 +21,10 @@
|
|||
"lint:all": "eslint . --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules"
|
||||
},
|
||||
"lint-staged": {
|
||||
"theatre/**/*.(t|j)s?(x)": [
|
||||
"eslint --rulesdir ./devEnv/eslint/rules --fix",
|
||||
"(theatre|packages)/**/*.(t|j)s?(x)": [
|
||||
"eslint --rulesdir ./devEnv/eslint/rules --fix"
|
||||
],
|
||||
"**/*.(t|j)s?(x)": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue