chore: off eslint and move to oxc 1.0 #2232
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant changes to the project's linting, formatting, and build systems, along with some codebase cleanup and modernization. The most important updates include replacing ESLint with Oxlint, updating Prettier configurations, and refactoring code for consistency and readability.
Linting and Formatting Updates:
package.json
and related files (.eslintrc.json
removed,.oxlintrc.json
added). [1] [2] [3] [4] [5] [6] [7].prettierrc
to include the@prettier/plugin-oxc
plugin for better integration with Oxlint.Build and Workflow Improvements:
format-check
withlint
in GitHub Actions and pre-commit hooks. [1] [2] [3]format
script topackage.json
for running Prettier on multiple file types.Codebase Cleanup and Modernization:
packages/adapters/generate-dictionary.js
for consistent string formatting and improved readability. [1] [2] [3] [4] [5]any
withunknown
in type annotations for improved type safety.Documentation Updates:
Building.md
andImageIds.md
, to use consistent heading styles. [1] [2]Miscellaneous Changes:
package.json
, including ESLint-related plugins. [1] [2]These changes streamline the development workflow, improve code quality, and enhance maintainability.