diff --git a/lint-staged.config.cjs b/lint-staged.config.cjs index b8fd3a0b4..3dd4bf238 100644 --- a/lint-staged.config.cjs +++ b/lint-staged.config.cjs @@ -1,4 +1,5 @@ module.exports = { - '**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}': ['prettier --write', 'eslint --fix'], + '**/*.{ts,tsx,cts,mts}': ['eslint --fix'], + '**/*.{js,jsx,cjs,mjs}': ['prettier --write'], '**/*.{yml,mdx}': ['prettier --write'], };