0
Fork 0
mirror of https://github.com/TanStack/config.git synced 2026-11-17 19:49:23 +00:00

feat: add @tanstack/oxlint-config (#415)

* feat: add @tanstack/oxlint-config

Port of @tanstack/eslint-config to Oxlint. Uses native Oxlint rules where
they exist, and loads eslint-plugin-import-x (import/order),
@stylistic/eslint-plugin (spaced-comment) and a local `tanstack` plugin
(type-parameter-naming, replacing @typescript-eslint/naming-convention)
as JS plugins resolved from the package, so consumers don't install them.

no-octal is not ported, as Oxlint does not implement it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(oxlint-config): leave import order and comment style to the formatter

Drop `import/order` and `@stylistic/spaced-comment`, so the config no
longer needs eslint-plugin-import-x or @stylistic/eslint-plugin as JS
plugins. Projects using Oxfmt can sort imports with `sortImports`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: humanize and simpifly docs

* ci: apply automated fixes

* chore: lint the repo with @tanstack/oxlint-config

Replace ESLint with Oxlint in eslint-config, publish-config,
typedoc-config and vite-config, and drop the root test:eslint target and
the eslint, jiti and typescript-eslint dev dependencies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: move oxlint above eslint

* fix(oxlint-config): align engines.node with oxlint

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* chore: move oxlint to top of overivew

* fix(oxlint-config): cap the oxlint-tsgolint peer at v7

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
This commit is contained in:
Ciarán Curley 2026-11-08 00:09:40 +00:00 • committed by GitHub
commit ba827481d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 808 additions and 57 deletions