-
Notifications
You must be signed in to change notification settings - Fork 39
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
Suggest using lastIndex
instead of length - 1
for strings
#1140
Comments
What do you mean by the word strings? |
Arrgentum
pushed a commit
that referenced
this issue
Mar 1, 2022
What's done: - Added new rule to replace .length - 1 to .lastIndex - Added warn tests - Added fix tests (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 1, 2022
What's done: - Added new rule to replace .length - 1 to .lastIndex - Added warn tests - Added fix tests (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 2, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 2, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
3 tasks
Arrgentum
pushed a commit
that referenced
this issue
Mar 2, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 2, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 3, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 3, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 4, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
pushed a commit
that referenced
this issue
Mar 4, 2022
### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140)
Arrgentum
added a commit
that referenced
this issue
Mar 11, 2022
* Change property length with operation - 1 to property lastIndex ### What's done: - Added new rule to replace ".length - 1" to ".lastIndex" - Added warn tests - Added fix tests - Updated Readme (rule 6.2.4) (#1140) Co-authored-by: Alexey Votintsev <alexeyvotintsev.yandex.ru>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: