From 8b0baa2e66289b5c966eb2ba3591664083aab19c Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Sat, 23 Apr 2022 22:56:18 +0200 Subject: [PATCH] Use prettier on all files --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b5cdf97..dcc2b23 100644 --- a/package.json +++ b/package.json @@ -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" ] },