chore: pretty lint-staged.config.js
This commit is contained in:
@@ -2,5 +2,8 @@ export default {
|
|||||||
// Run Prettier on all supported file types
|
// Run Prettier on all supported file types
|
||||||
"*.{js,jsx,ts,tsx,json,css,scss,md,html}": ["prettier --write"],
|
"*.{js,jsx,ts,tsx,json,css,scss,md,html}": ["prettier --write"],
|
||||||
// Run ESLint on JavaScript/TypeScript files with cache for performance
|
// Run ESLint on JavaScript/TypeScript files with cache for performance
|
||||||
"*.{js,jsx,ts,tsx}": ["eslint --cache --cache-location .eslintcache --fix", "eslint --cache --cache-location .eslintcache"],
|
"*.{js,jsx,ts,tsx}": [
|
||||||
|
"eslint --cache --cache-location .eslintcache --fix",
|
||||||
|
"eslint --cache --cache-location .eslintcache",
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user