We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefer-tacit
map(x => Boolean(x))
prefer-tacit does not report:
/* eslint functional/prefer-tacit: "error" */ const foo = [1, 2, 3].map(x => Boolean(x));
Suggest changing to map(Boolean)
map(Boolean)
No error was reported.