Repository navigation
chore(lint): enable e18e rules with oxlint - #134
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Deploying cnpmweb with
|
| Latest commit: |
6a2a7d0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bc9fa97a.cnpmweb.pages.dev |
| Branch Preview URL: | https://chore-e18e-eslint-plugin.cnpmweb.pages.dev |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Add
@e18e/eslint-pluginto detect avoidable allocations and older JavaScript patterns. Run 10 rules throughoxlintafter the existing Next.js checks innpm run lint. Move repeated regular expressions to module scope and use.some()for an existence check.The plugin runs through
oxlintbecause Next.js usesESLint 8. A scoped dependency override resolves the plugin's unused optionaleslintpeer. Rules that require newer browser APIs, dependency replacements, or type information from ESLint remain disabled. Regular expressions stay beside their test assertions.Summary by CodeRabbit
Path substitution replaces only the first
*and preserves wildcard version queries and literal filename characters.