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:all": "eslint . --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"theatre/**/*.(t|j)s?(x)": [
|
"(theatre|packages)/**/*.(t|j)s?(x)": [
|
||||||
"eslint --rulesdir ./devEnv/eslint/rules --fix",
|
"eslint --rulesdir ./devEnv/eslint/rules --fix"
|
||||||
|
],
|
||||||
|
"**/*.(t|j)s?(x)": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue