EvgenyOrekhov / eslint-config-hardcore

The most strict (yet practical) ESLint config. 53 plugins. 1342 rules. React, Vue, Node, and pure JS/TS.

Home Page:https://www.npmjs.com/package/eslint-config-hardcore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider enabling `@shopify/prefer-early-return`

EvgenyOrekhov opened this issue · comments

It should already do the thing by 🐊@putout/plugin-apply-early-return.

Shopify plugin has a maximumStatements option and because of that, it seems superior. Would set it to at least 3 or 4 to not be too annoying.