sovity / eslint-config

The holy Ten Commandments for sovity Javascript projects.
0 stars 0 forks source link

Enable some sensible but non-default rules #20

Open sybereal opened 1 year ago

sybereal commented 1 year ago

One example that would've caught a recent bug ^1 is @typescript-eslint/no-shadow. There are tons such rules, both in ESLint core, TypeScript ESLint, ESLint Unicorn, etc. that haven't made it into their respective configs for whatever reason, even though they're generally good ideas.

sybereal commented 1 year ago

no-use-before-define would've probably prevented sovity/admin-cli#409