Open nfantone opened 2 years ago
Same reasoning applies for module.exports
on CJS.
Unallowed reassignment. You may want to activate the `commonjs` option for this ruleeslint(fp/no-mutation)
IMHO, this should be either baked into the plugin logic or be turned on by default.
Consider making
allowUseStrict
optionstrue
by default (or making that part ofplugin:fp/recommended
).'use strict'
should never be flagged as an "unused expression".