Skip to content

chore: upgrade eslint and @antfu/eslint-config to v10 together and fix the new lint errors #1033

Closed

Description

@Danathar

Summary: Upgrade @antfu/eslint-config to v10 and eslint to v10 together in one PR, and fix the lint errors v10 reports. This replaces Renovate's #1023 and #1024, which can't go green separately.

Why

What to change

  1. In package.json, set @antfu/eslint-config to the latest 10.x and eslint to the latest 10.x, and regenerate package-lock.json with npm 11.
  2. Run npm run lint:fix for the antfu/reasonable-newline errors. It's one large mechanical reformat, so keep it in its own commit.
  3. For the type-signature hits, turn off unused-imports/no-unused-vars for type-only parameter names in eslint.config.js (for example args: 'none' inside TS type positions), or prefix the names with _. Explain the choice in the PR.
  4. Fix the skipped heading level in src/data/lore/chris-aniszczyk.md.

Acceptance

Out of scope

Other dependency bumps and any behaviour change. The reformat should change only whitespace and newlines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions