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

prefer-module: Use suggestions for 'use strict' directive #1470

Merged
merged 2 commits into from Aug 8, 2021

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Aug 8, 2021

Stop auto removing 'use strict', I've seen people removed it by accident, when they are not ready for this rule, we should not remove it.

I keep the auto-fix for .mjs files, because it's safe to remove.

@sindresorhus sindresorhus merged commit 57c7906 into sindresorhus:main Aug 8, 2021
@fisker fisker deleted the use-strict branch August 8, 2021 13:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants