Tooling: Adopt or run once good lints from eslint unicorn #1449
Labels
area: tooling
Managing the repository's maintenance 🛠️
status: blocked
Waiting for something else to be resolved 🙅
🚀 Feature Request
This should be done only after #1435 (#1318) has been merged.
I see that some of the code in the repo is older and does not follow some practices that are used nowadays. Eslint unicorn has some helpful lints to find these.
Run at least once:
src/mutators/builtIn/fixIncompleteTypes/fixIncompleteReactTypes/reactFiltering/reactUsageFiltering.ts
. I think it could be just removed separately.node:
, this could unify them. This kind of rule will be in next major version ofeslint-plugin-n
too, I think.On the fence:
If recommended set is adopted, these are the rules I had to disable locally while testing. Some of them are duplicate what ts-eslint has (e.g.,
prefer-module
), some are just opposite what the repo uses (e.g.,filename-case
), and some of them can be dangerous (e.g.,better-regex
).The text was updated successfully, but these errors were encountered: