mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-28 07:14:40 +08:00
chore: pretty lint-staged.config.js
This commit is contained in:
@@ -2,5 +2,8 @@ export default {
|
||||
// Run Prettier on all supported file types
|
||||
"*.{js,jsx,ts,tsx,json,css,scss,md,html}": ["prettier --write"],
|
||||
// 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