feat(linter): implement eslint/max-statements#15804
feat(linter): implement eslint/max-statements#15804camc314 merged 6 commits intooxc-project:mainfrom
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
CodSpeed Performance ReportMerging #15804 will not alter performanceComparing Summary
Footnotes
|
961e317 to
3efd152
Compare
|
CI / Test Linux fails with error @camc314 Unfortunately, I don't know how to fix this one. |
964b2d8 to
98a8f08
Compare
98a8f08 to
e5fb257
Compare
|
I'm getting an ocean of errors with this new one. Is there some documentation describing how it is counting statements? This doesn't seem right to me. |
it's a style rule so it might not be for everyone. did you have the eslint rule enabled previously? are the errors the same or different? I'd suggest disabling this rule in your config (it's not on by default). |
we copied the eslint test cases, so we should have the same behaviours as eslint. Eslint docs: |
|
I didn’t have this rule specifically enabled. I disabled it, thanks. I wasn’t using ESLint before. Some of your users might not be ESLint users but Vite fans who got interested in what Void Zero is doing. They might not be aware of these rules or have the foresight to automatically check ESLint for more explanations. |
Add ESLint rule
max-statements.