DEV Community

Discussion on: Disable Arrow-Parens Lint rule in XO and Prettier

Collapse
 
tech6hutch profile image
Hutch

Surely any decent linter could figure out that you wouldn't want to use a function as a condition check. I don't see why this rule would be important.

I usually write in TS, tho, so I have to use parentheses anyway when I include the type of the argument.