Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@oxlint/migrate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@oxlint/migrate
Generates a .oxlintrc.json
from a existing eslint flat config.
🚧 Still under development
Usage
npx @oxlint/migrate <optional-eslint-flat-config-path>
When no config file provided, the script searches for the default eslint config filenames in the current directory.
User Flow
- Upgrade
oxlint
and@oxlint/migrate
to the same version. - Execute
npx @oxlint/migrate
- (Optional): Disable supported rules via eslint-plugin-oxlint
Contributing
Generate rules
Generates the rules from installed oxlint version
pnpm generate
pnpm format
Vitest + Integration Test
pnpm vitest
Manual Testing
pnpm manual-test