-
-
Notifications
You must be signed in to change notification settings - Fork 412
Add no-unnecessary-array-splice-count
rule, Rename no-length-as-slice-end
to no-unnecessary-slice-end
, Support checking Infinity
in no-unnecessary-slice-end
#2614
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
Conversation
no-unnecessary-array-splice-count
ruleno-unnecessary-array-splice-count
rule, Rename no-length-as-slice-end
to no-unnecessary-slice-end
, Support checking Infinity
in no-unnecessary-slice-end
.gitignore
Outdated
@@ -6,3 +6,4 @@ package-lock.json | |||
.cache-eslint-remote-tester | |||
eslint-remote-tester-results | |||
*.log | |||
.vscode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure add this to global ignore is a good idea, since many repos actually stores .vscode
.
Adding this because my VSCode keeps creating this empty directory.
no-length-as-slice-end
tono-unnecessary-slice-end
Infinity
inno-unnecessary-slice-end
no-unnecessary-array-splice-count
, use the same logic asno-unnecessary-slice-end
Fixes #2601