-
-
Notifications
You must be signed in to change notification settings - Fork 892
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
infra(unicorn): prefer-negative-index #2512
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #2512 +/- ##
=======================================
Coverage 99.59% 99.59%
=======================================
Files 2820 2820
Lines 255037 255037
Branches 1082 1082
=======================================
+ Hits 253992 253998 +6
+ Misses 1017 1011 -6
Partials 28 28 |
Personally, I find negative indexes quite unintuitive. Usually, a negative index is used to purposefully present an out of bound index. Look at The rule itself sadly doesn't have any description on WHY you should use it. I'm welcome for anybody providing reasoning on this. |
Team Decision
|
Ref: #2439
Enables the
unicorn/prefer-negative-index
lint rule.