-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
infra(unicorn): prefer-at #2654
Conversation
2f1f109
to
346d52b
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## next #2654 +/- ##
=======================================
Coverage 99.55% 99.55%
=======================================
Files 2817 2817
Lines 251202 251203 +1
Branches 1123 1126 +3
=======================================
+ Hits 250090 250096 +6
+ Misses 1083 1078 -5
Partials 29 29
|
IMO this isn't breaking for the same reasons as outlined there: #2653 (comment) |
|
||
Used Node >= v16.6 feature [`at`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at). | ||
|
||
We could hint users to use polyfill or transpile-down steps. |
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.
Note from my future me: We will have at most a very minimum description of "how to transpile down for node < x". I won't help them shoot themselves in the foot and complain to us about it.
And I won't keep track of any node <18 feature usage myself unless specifically requested by our community.
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.
If you are stuck using node 14/16 you should just stay on faker@8 rather than try to transpile things.
The requested changes were already resolved
Ref: #2439
Permanently enables the
unicorn/prefer-at
lint rule.