-
-
Notifications
You must be signed in to change notification settings - Fork 30
New: rule prefer-replace-text #47
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
Comments
Nitpick: I think |
I'm a little worried it will cause some false positive cases. e.g fix(fixer) {
node.range= [start, end];
return fixer.replaceTextRange(node.range, "");
} |
aladdin-add
added a commit
to aladdin-add/eslint-plugin-eslint-plugin
that referenced
this issue
Oct 14, 2017
aladdin-add
added a commit
to aladdin-add/eslint-plugin-eslint-plugin
that referenced
this issue
Oct 15, 2017
I think that would be fine because |
aladdin-add
added a commit
to aladdin-add/eslint-plugin-eslint-plugin
that referenced
this issue
Oct 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this rule will warn about:
The text was updated successfully, but these errors were encountered: