1.1.0 • Published 8 months ago

@oxlint/migrate v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@oxlint/migrate

test NPM Version NPM Downloads

Generates a .oxlintrc.json from a existing eslint flat config.

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.

Options

OptionsDescription
--merge* merge eslint configuration with an existing .oxlintrc.json configuration
--with-nurseryInclude oxlint rules which are currently under development
--output-file <file>The oxlint configuration file where to eslint v9 rules will be written to, default: .oxlintrc.json

* WARNING: When some categories are enabled, this tools will enable more rules with the combination of plugins. Else we need to disable each rule plugin/categories combination, which is not covered by your eslint configuration. This behavior can change in the future.

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

Unit + Integration Test

pnpm vitest

Manual Testing

pnpm manual-test
1.1.0

8 months ago

1.0.0

8 months ago

0.18.1

8 months ago

0.18.0

8 months ago

0.17.0

8 months ago

0.16.12

9 months ago

0.16.11

9 months ago

0.16.10

9 months ago

0.16.9

9 months ago

0.16.8

9 months ago

0.16.7

10 months ago

0.16.6

10 months ago

0.16.5

10 months ago

0.16.4

10 months ago

0.16.3

11 months ago

0.16.2

11 months ago

0.16.1

11 months ago

0.16.0

11 months ago

0.15.15

11 months ago

0.15.14

11 months ago

0.15.13

11 months ago

0.15.12

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago