Michaël Zasso
Michaël Zasso
I don't think the ecosystem is going to start relying on automatic detection. This will break TypeScript, ESLint, etc.
@nodejs/linting
> > For now, I put the entire config in one file. I would like to split it into multiple files to make it more readable but I'm not sure...
SGTM. I'll wait a few days to see if there are other suggestions.
Done! I went with `eslint.config_partial.mjs` so I could colocate it with `eslint.config_utils.mjs` in `tools`.
Looks like `lib/eslint.config_partial.mjs` is picked up by `js2c.cc`. Not sure what's the best way to ignore it. /cc @joyeecheung
> @targos Can we also enable indentation rule for "Makefile" file? @anonrig Maybe, but it doesn't seem related to what I'm doing here?
This is ready for reviews.
``` 09:25:44 Running JS linter... 09:25:46 09:25:46 Oops! Something went wrong! :( 09:25:46 09:25:46 ESLint: 8.57.0 09:25:46 09:25:46 Error: EMFILE: too many open files, open '/home/iojs/build/workspace/node-test-linter/test/parallel/test-timers-immediate-unref-nested-once.js' ``` 🤔
I developed it on Windows.