diff --git a/scaffolding/.lintstagedrc.js b/scaffolding/.lintstagedrc.js index 3223be6..f3822d0 100644 --- a/scaffolding/.lintstagedrc.js +++ b/scaffolding/.lintstagedrc.js @@ -1,6 +1,6 @@ module.exports = { - '**/*.{js,jsx,ts,tsx}': ['prettier --write', 'eslint --max-warnings=0 --fix'], + '**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx}': ['prettier --write', 'eslint --max-warnings=0 --fix'], '**/*.{css,scss}': ['prettier --write', 'stylelint --fix'], '**/*.{json,yaml,yml,md}': ['prettier --write'], - '**/*.{svg}': ['npm run svgo'], + '**/*.{svg}': ['svgo'], };