diff --git a/.lintstagedrc.yaml b/.lintstagedrc.yaml index 0cb2da25..d2826759 100644 --- a/.lintstagedrc.yaml +++ b/.lintstagedrc.yaml @@ -1,3 +1,4 @@ { - "apps/*": ['pnpm run lint'] -} \ No newline at end of file + 'apps/**/*.{js,ts,tsx}': ['prettier --write', 'eslint --fix'], + 'packages/**/*.{js,ts,tsx}': ['prettier --write', 'eslint --fix'] +} diff --git a/package.json b/package.json index e152a5f0..8be7540b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "build": "turbo build", "dev": "turbo dev", - "lint": "turbo lint --", + "lint": "turbo lint", "format": "prettier --write \"**/*.{ts,tsx,md}\"", "prepare": "husky" },