Skip to content
Source
Sign inSign up
TanStack/pacer

chore(eslint.config): use 'defineConfig' from 'eslint/config' #292

Mergedsukvvon(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/292/headmerged by KevinVandy

🎯 Changes

Wrap the root and package ESLint configs with defineConfig from eslint/config and remove the now-redundant @type JSDoc annotations.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Summary by CodeRabbit

  • Chores
    • Updated code-quality configuration across the project. Existing linting rules and application behavior remain unchanged. These updates do not alter features or functionality visible in the app.
    1. ⚠️ No Changeset found

      Latest commit: ffae3a01b0b1476a3eea9a81382f73f9a53eda9a

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    2. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration
      • Configuration used: Repository: TanStack/pacer/.coderabbit.yaml
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: e407f436-4496-4f63-9b71-38f14efc82cf

      📥 Commits

      Reviewing files that changed from the base of the PR and between 2fce0b792ff2288822f48baa590eb318c1517a5c and ffae3a01b0b1476a3eea9a81382f73f9a53eda9a.


      📒 Files selected for processing (18)
      • eslint.config.js
      • packages/alpine-pacer/eslint.config.js
      • packages/angular-pacer/eslint.config.js
      • packages/ember-pacer/eslint.config.js
      • packages/lit-pacer/eslint.config.js
      • packages/octane-pacer/eslint.config.js
      • packages/pacer-devtools/eslint.config.js
      • packages/pacer/eslint.config.js
      • packages/preact-pacer-devtools/eslint.config.js
      • packages/preact-pacer/eslint.config.js
      • packages/react-pacer-devtools/eslint.config.js
      • packages/react-pacer/eslint.config.js
      • packages/solid-pacer-devtools/eslint.config.js
      • packages/solid-pacer/eslint.config.js
      • packages/svelte-pacer-devtools/eslint.config.js
      • packages/svelte-pacer/eslint.config.js
      • packages/vue-pacer-devtools/eslint.config.js
      • packages/vue-pacer/eslint.config.js

      Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.



      📝 Walkthrough

      Walkthrough

      The root and package ESLint configuration files now use defineConfig to wrap their existing configuration arrays. Existing configuration entries remain unchanged.

      Changes

      ESLint Configuration Updates

      Layer / File(s)Summary
      Wrap configuration exports
      eslint.config.js, packages/*/eslint.config.js
      The root and package configuration exports now pass their arrays to defineConfig. Existing configuration entries remain in place, and explicit JSDoc array annotations were removed where present.

      Priority: ⬇️ Low

      Estimated code review effort: 1 (Trivial) | ~5 minutes

      Change: Other

      Suggested reviewers: kevinvandy


      Merge Risk: ⚪ Minimal · up to ffae3

      The configuration wrapper update is compatible with the repository’s ESLint version, and no merge-blocking risk was identified.

      Pre-merge checks | Passed 5
      ✅ Passed checks (5 passed)
      Check nameStatusExplanation
      Title checkPassedThe title clearly and concisely describes the primary change: using defineConfig from eslint/config in ESLint configuration files.
      Description checkPassedThe description includes all required sections, explains the change and motivation, completes the checklist, and identifies the change as dev-only with no release impact.
      Docstring CoveragePassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.

      ✨ Finishing Touches
      📝 Generate docstrings
      • Commit to this branch
      • Create a new PR


      🧪 Generate unit tests (beta)
      • Commit to this branch
      • Create a new PR

      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share

      Comment `@coderabbitai help` to get the list of available commands.
    3. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit ffae3a01b0b1476a3eea9a81382f73f9a53eda9a

      CommandStatusDurationResult
      nx affected --targets=test:e2e:types,test:e2e:l...✅ Succeeded2m 28sView ↗
      nx affected --target=test:e2e --parallel=2 --ou...✅ Succeeded4sView ↗
      nx run-many --targets=build --exclude=examples/**✅ Succeeded1sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-11 15:48:36 UTC

    4. 🚀 Changeset Version Preview

      No changeset entries found. Merging this PR will not cause a version bump for any packages.

    5. KevinVandy approved these changes

    6. More templates

      @tanstack/alpine-pacer

      npm i https://pkg.pr.new/@tanstack/alpine-pacer@292

      @tanstack/angular-pacer

      npm i https://pkg.pr.new/@tanstack/angular-pacer@292

      @tanstack/angular-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/angular-pacer-devtools@292

      @tanstack/ember-pacer

      npm i https://pkg.pr.new/@tanstack/ember-pacer@292

      @tanstack/lit-pacer

      npm i https://pkg.pr.new/@tanstack/lit-pacer@292

      @tanstack/octane-pacer

      npm i https://pkg.pr.new/@tanstack/octane-pacer@292

      @tanstack/pacer

      npm i https://pkg.pr.new/@tanstack/pacer@292

      @tanstack/pacer-devtools

      npm i https://pkg.pr.new/@tanstack/pacer-devtools@292

      @tanstack/pacer-lite

      npm i https://pkg.pr.new/@tanstack/pacer-lite@292

      @tanstack/preact-pacer

      npm i https://pkg.pr.new/@tanstack/preact-pacer@292

      @tanstack/preact-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/preact-pacer-devtools@292

      @tanstack/react-pacer

      npm i https://pkg.pr.new/@tanstack/react-pacer@292

      @tanstack/react-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/react-pacer-devtools@292

      @tanstack/solid-pacer

      npm i https://pkg.pr.new/@tanstack/solid-pacer@292

      @tanstack/solid-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/solid-pacer-devtools@292

      @tanstack/svelte-pacer

      npm i https://pkg.pr.new/@tanstack/svelte-pacer@292

      @tanstack/svelte-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/svelte-pacer-devtools@292

      @tanstack/vue-pacer

      npm i https://pkg.pr.new/@tanstack/vue-pacer@292

      @tanstack/vue-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/vue-pacer-devtools@292

      commit: ffae3a0

    7. KevinVandy merged thised502cb

    8. KevinVandy closed this

Sign in to join this conversation.