chore: activate unicorn/no-array-for-each eslint rule#7403
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7403 +/- ##
=======================================
Coverage 80.39% 80.40%
=======================================
Files 732 732
Lines 31028 31050 +22
=======================================
+ Hits 24945 24965 +20
- Misses 6083 6085 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 4.5 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.3 | 76.87 kB | 808.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
This comment has been minimized.
This comment has been minimized.
BenchmarksBenchmark execution time: 2026-02-03 03:07:28 Comparing candidate commit 6684250 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 229 metrics, 31 unstable metrics. |
| status = 'skip' | ||
| } else { | ||
| // has to check every test in the test file | ||
| // eslint-disable-next-line unicorn/no-array-for-each |
There was a problem hiding this comment.
Mocha was weird. I believe they have own methods that are not behaving as the native one.
95fce24 to
6684250
Compare
sabrenner
left a comment
There was a problem hiding this comment.
lgtm! just a couple of questions about some things are changing behavior/could cause regressions (although, i could be wrong for sure, but if i'm right, it seems we don't have test cases that cover them 😅). on resolving the comments im good to approve!
This uses autofixes with manual improvements afterwards.
This uses autofixes with manual improvements afterwards.
This uses autofixes with manual improvements afterwards.
This uses autofixes with manual improvements afterwards.
This uses autofixes with manual improvements afterwards.