Repository navigation
chore(preact-query*): enable '@typescript-eslint/array-type' and '@typescript-eslint/no-unnecessary-type-assertion' - #11925
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 1182cab
☁️ Nx Cloud last updated this comment at |
…pescript-eslint/no-unnecessary-type-assertion'
ebbc109 to
3721dc2
Compare
🚀 Changeset Version Preview1 package(s) bumped directly, 24 bumped as dependents. 🟩 Patch bumps
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (3)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (7)
💤 Files with no reviewable changes (3)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThree package ESLint configurations remove overrides for two rules. ErrorBoundary test types change array syntax, and a Suspense query test removes an ChangesPreact Query lint and test updates
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Other Merge Risk: ⚪ Minimal · up to The changed packages pass ESLint with the newly enabled rules; no actionable merge-blocking risk remains in the reviewed changes. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 📦
|
🎯 Changes
The preact packages turned off
@typescript-eslint/array-typeand@typescript-eslint/no-unnecessary-type-assertion, which the root config enforces for every other package.offoverrides from theeslint.config.jsofpreact-query,preact-query-devtoolsandpreact-query-persist-client.eslint --fix, all inpreact-querytests:array-type:any[]→Array<any>in__tests__/ErrorBoundary/.no-unnecessary-type-assertion: dropas anyfromsetQueryData(key, undefined)inuseSuspenseQuery.test.tsx.No source files change.
✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit