Commit 9a22e60
committed
perf: optimize ESLint for large monorepo
Disable expensive rules that provide limited value:
- prettier/prettier (~30% savings) - Prettier runs separately via lint:misc
- import-x/namespace (~22% savings) - Very expensive with limited benefit
Add NODE_OPTIONS=--max-semi-space-size=256 to CI lint step as recommended
by typescript-eslint for better memory management.
See: https://typescript-eslint.io/troubleshooting/typed-linting/performance1 parent 4d217ba commit 9a22e60
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
0 commit comments