fix: finalize lint-staged configuration with proper file argument passing
- Fix bash command to properly pass file arguments to ESLint - Add lint:batch script for manual batch processing - Ensure NODE_OPTIONS is set correctly for memory management
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"bash -c 'NODE_OPTIONS=\"--max-old-space-size=4096\" eslint --fix --config eslint.config.js'",
|
||||
"bash -c 'NODE_OPTIONS=\"--max-old-space-size=4096\" eslint --fix --config eslint.config.js \"$@\"' --",
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{json,md,yaml,yml}": [
|
||||
|
||||
Reference in New Issue
Block a user