-
Notifications
You must be signed in to change notification settings - Fork 0
chore(web): run oxlint before eslint #1
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
base: augment_full-combined-benchmark_31122025_base_choreweb_run_oxlint_before_eslint
Are you sure you want to change the base?
Conversation
🤖 Augment PR SummarySummary: This PR updates the web lint workflow to run Oxlint before ESLint. Changes:
Technical Notes: Oxlint runs using 🤖 Was this summary useful? React with 👍 or 👎 |
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.
| catch (e) { | ||
| setLoading(false) | ||
| notify({ type: 'error', message: t('workflow.common.importFailure') }) | ||
| throw new Error('Import failed') |
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.
throw new Error('Import failed') changes the UX from a toast notification to an unhandled exception, and it will skip isCreatingRef.current = false below (potentially blocking subsequent imports). If this was done to satisfy a linter, consider ensuring the original error handling/cleanup behavior is preserved.
🤖 Was this useful? React with 👍 or 👎
| "lodash": "^4.17.21", | ||
| "magicast": "^0.3.5", | ||
| "nock": "^14.0.10", | ||
| "oxlint": "^1.31.0", |
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.
Adding oxlint@^1.31.0 introduces a Node requirement of ^20.19.0 || >=22.12.0 (as recorded in pnpm-lock.yaml), but engines.node currently allows >=v22.11.0 so installs on 22.11.x could fail. Consider aligning the engines range with oxlint’s minimum if 22.11 is meant to be supported.
🤖 Was this useful? React with 👍 or 👎
Benchmark PR from qodo-benchmark#66