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

No explicit-function-return-type?

user72356 opened this issue · comments

I'm surprised that this project doesn't activate the https://typescript-eslint.io/rules/explicit-function-return-type/ rule.

I can create functions that return nothing but fail to specify "void" as the return type, and the linter lets me do that.

Am I too hardcore?

Am I too hardcore?

xD

I would like to maintain some balance between strictness and boilerplateness. I tried using it in one of my small React projects, and it caused too much "noise" in the code. explicit-module-boundary-types, on the other hand, might be worth it (haven't decided yet, tracked in #738).