Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fp/no-unused-expression with 'use strict' #56

Open
nfantone opened this issue Nov 26, 2021 · 1 comment
Open

fp/no-unused-expression with 'use strict' #56

nfantone opened this issue Nov 26, 2021 · 1 comment

Comments

@nfantone
Copy link

nfantone commented Nov 26, 2021

image

Consider making allowUseStrict options true by default (or making that part of plugin:fp/recommended). 'use strict' should never be flagged as an "unused expression".

@nfantone
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant