chore(*): replace 'typescript-eslint' with '@typescript-eslint/parser' in preact packages and remove redundant eslint options - #11791
Conversation
…' in preact packages and remove redundant eslint options
|
View your CI Pipeline Execution ↗ for commit 1922e96
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: TanStack/query/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
💤 Files with no reviewable changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThree Preact packages now use ChangesPreact ESLint parser configuration
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to This is a dev-tooling-only change that swaps the lint parser dependency, with no runtime or published-package behavior change. No merge-blocking risk was identified. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 4 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
size-limit report 📦
|
…e between imports in preact eslint configs
🎯 Changes
In
preact-query,preact-query-devtools, andpreact-query-persist-client:@typescript-eslint/parserinstead oftypescript-eslint, and replace thetypescript-eslintdevDependency with@typescript-eslint/parser(catalog:). Thetypescript-eslintcatalog entry is removed since nothing else in the workspace uses it through the catalog.typescript-eslintplugin registration. No rule uses thetypescript-eslint/prefix, and the@typescript-eslintplugin is already registered by the root config.parserOptions.project, which the root config already sets, and thefilesglob, sincesrconly contains TypeScript files.languageOptions.parser, becauseeslint-config-preactsets@babel/eslint-parserafter the root config.// @ts-checkand remove the blank line between imports to match the othereslint.config.jsfiles.The resolved ESLint config (parser, parser options, rules, plugins) for every file in
srcand the lint results are the same as onmain.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit