Skip to content

Oxlint usage in the create-vite templates #22025

@hansmbakker

Description

@hansmbakker

Description

Oxlint has a stable release now for some time.
The templates for create-vite are still using eslint, but there is no oxlint sample in the vite repo.

It would be nice to get a recommended setup for vite, and also some documentation on whether to use things like vite-plugin-checker.

Suggested solution

  • Add an .oxlintrc.json file to the templates in https://github.com/vitejs/vite/tree/main/packages/create-vite.
  • Add oxlint to the devDependencies and scripts in package.json

Alternative

No response

Additional context

This request is related to #22001 (both are requests to add oxc tooling to the create-vite templates)

Validations

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions