Use prettier on all files

This commit is contained in:
Aria Minaei 2022-04-23 22:56:18 +02:00
parent a4c9b8d75a
commit 8b0baa2e66

View file

@ -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"
] ]
}, },