Skip to content

Commit 46ad3af

Browse files
chore: eslint updates (#6748)
Closes # ## 🎯 Changes What changes are made in this PR? Is it a feature or a bug fix? <!-- Note: once you create a Pull request, we will automatically fix auto-fixable lint issues in your branch --> ## ✅ Checklist - [ ] I have followed the steps listed in the [Contributing guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md). - [ ] If necessary, I have added documentation related to the changes made. - [ ] I have added or updated the tests related to the changes made. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Upgraded ESLint and related linting dependencies across all packages and examples to their latest versions. - Updated React and TypeScript ESLint plugins to newer releases, including the React Hooks plugin. - Removed deprecated or unused ESLint plugins and configurations in some packages. - **Refactor** - Simplified internal logic using modern JavaScript syntax (nullish coalescing assignment) in several places for improved readability and maintainability. - Adjusted ESLint configurations to streamline plugin integration and rule management. - **Style** - Added or updated ESLint disable comments for new linting rules to maintain code quality without affecting runtime behavior. No user-facing features or functionality were changed. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 6bda943 commit 46ad3af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@
6464
"@types/ws": "^8.2.0",
6565
"autoprefixer": "^10.4.7",
6666
"cross-env": "^7.0.3",
67-
"eslint": "^9.21.0",
67+
"eslint": "^9.26.0",
6868
"eslint-config-next": "^15.3.1",
69-
"eslint-plugin-react": "^7.37.2",
70-
"eslint-plugin-react-hooks": "^5.1.0",
69+
"eslint-plugin-react": "^7.37.5",
70+
"eslint-plugin-react-hooks": "6.0.0-rc.1",
7171
"npm-run-all": "^4.1.5",
7272
"postcss": "^8.4.39",
7373
"prettier": "^3.3.3",
7474
"prisma": "^6.7.0",
7575
"start-server-and-test": "^1.12.0",
7676
"tailwindcss": "^3.4.6",
7777
"typescript": "^5.8.2",
78-
"typescript-eslint": "^8.24.1"
78+
"typescript-eslint": "^8.31.1"
7979
},
8080
"publishConfig": {
8181
"access": "restricted"

0 commit comments

Comments
 (0)