Skip to content

Commit 914744b

Browse files
authored
Update dependencies (adazzle#3777)
1 parent 7b8a205 commit 914744b

File tree

2 files changed

+32
-34
lines changed

2 files changed

+32
-34
lines changed

eslint.config.js

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default defineConfig([
6969
'no-control-regex': 1,
7070
'no-debugger': 1,
7171
'no-dupe-args': 1,
72-
'no-dupe-class-members': 0, // replaced by @typescript-eslint/no-dupe-class-members
72+
'no-dupe-class-members': 0,
7373
'no-dupe-else-if': 1,
7474
'no-dupe-keys': 1,
7575
'no-duplicate-case': 1,
@@ -118,14 +118,14 @@ export default defineConfig([
118118
'block-scoped-var': 1,
119119
camelcase: 0,
120120
'capitalized-comments': 0,
121-
'class-methods-use-this': 0, // replace by @typescript-eslint/class-methods-use-this
121+
'class-methods-use-this': 1,
122122
complexity: 0,
123123
'consistent-return': 0,
124124
'consistent-this': 0,
125125
curly: 0,
126126
'default-case': 1,
127127
'default-case-last': 1,
128-
'default-param-last': 0, // replaced by @typescript-eslint/default-param-last
128+
'default-param-last': 0,
129129
'dot-notation': 0, // replaced by @typescript-eslint/dot-notation
130130
eqeqeq: [1, 'always', { null: 'ignore' }],
131131
'func-name-matching': 0,
@@ -136,7 +136,7 @@ export default defineConfig([
136136
'id-denylist': 0,
137137
'id-length': 0,
138138
'id-match': 0,
139-
'init-declarations': 0, // replaced by @typescript-eslint/init-declarations
139+
'init-declarations': 0,
140140
'logical-assignment-operators': [1, 'always', { enforceForIfStatements: true }],
141141
'max-classes-per-file': 0,
142142
'max-depth': 0,
@@ -148,7 +148,7 @@ export default defineConfig([
148148
'multiline-comment-style': 0,
149149
'new-cap': 0,
150150
'no-alert': 0,
151-
'no-array-constructor': 0, // replaced by @typescript-eslint/no-array-constructor
151+
'no-array-constructor': 1,
152152
'no-bitwise': 0,
153153
'no-caller': 1,
154154
'no-case-declarations': 1,
@@ -158,7 +158,7 @@ export default defineConfig([
158158
'no-div-regex': 0,
159159
'no-else-return': [1, { allowElseIf: false }],
160160
'no-empty': [1, { allowEmptyCatch: true }],
161-
'no-empty-function': 0, // replaced by @typescript-eslint/no-empty-function
161+
'no-empty-function': 0,
162162
'no-empty-static-block': 1,
163163
'no-eq-null': 0,
164164
'no-eval': 1,
@@ -171,13 +171,13 @@ export default defineConfig([
171171
'no-implicit-globals': 0,
172172
'no-implied-eval': 0, // replaced by @typescript-eslint/no-implied-eval
173173
'no-inline-comments': 0,
174-
'no-invalid-this': 0, // replaced by @typescript-eslint/no-invalid-this
174+
'no-invalid-this': 0,
175175
'no-iterator': 1,
176176
'no-label-var': 1,
177177
'no-labels': 1,
178178
'no-lone-blocks': 1,
179179
'no-lonely-if': 1,
180-
'no-loop-func': 0, // replaced by @typescript-eslint/no-loop-func
180+
'no-loop-func': 0,
181181
'no-magic-numbers': 0, // replaced by @typescript-eslint/no-magic-numbers
182182
'no-multi-assign': 0,
183183
'no-multi-str': 1,
@@ -218,13 +218,13 @@ export default defineConfig([
218218
'no-undefined': 0,
219219
'no-underscore-dangle': 0,
220220
'no-unneeded-ternary': [1, { defaultAssignment: false }],
221-
'no-unused-expressions': 0, // replaced by @typescript-eslint/no-unused-expressions
221+
'no-unused-expressions': [1, { allowTaggedTemplates: true, enforceForJSX: true }],
222222
'no-unused-labels': 1,
223223
'no-useless-call': 1,
224224
'no-useless-catch': 1,
225225
'no-useless-computed-key': 1,
226226
'no-useless-concat': 1,
227-
'no-useless-constructor': 0, // replaced by @typescript-eslint/no-useless-constructor
227+
'no-useless-constructor': 1,
228228
'no-useless-escape': 1,
229229
'no-useless-rename': 1,
230230
'no-useless-return': 1,
@@ -394,7 +394,7 @@ export default defineConfig([
394394
// https://eslint-react.xyz/
395395
'react-hooks-extra/no-unnecessary-use-callback': 1,
396396
'react-hooks-extra/no-unnecessary-use-memo': 1,
397-
'react-hooks-extra/no-useless-custom-hooks': 1,
397+
'react-hooks-extra/no-unnecessary-use-prefix': 1,
398398
'react-hooks-extra/prefer-use-state-lazy-initialization': 1,
399399

400400
// SonarJS rules
@@ -440,7 +440,7 @@ export default defineConfig([
440440
'@typescript-eslint/ban-ts-comment': [1, { 'ts-expect-error': false }],
441441
'@typescript-eslint/ban-tslint-comment': 0,
442442
'@typescript-eslint/class-literal-property-style': 0,
443-
'@typescript-eslint/class-methods-use-this': 1,
443+
'@typescript-eslint/class-methods-use-this': 0,
444444
'@typescript-eslint/consistent-generic-constructors': 1,
445445
'@typescript-eslint/consistent-indexed-object-style': 1,
446446
'@typescript-eslint/consistent-return': 0,
@@ -496,6 +496,7 @@ export default defineConfig([
496496
'@typescript-eslint/no-unnecessary-type-arguments': 1,
497497
'@typescript-eslint/no-unnecessary-type-assertion': 1,
498498
'@typescript-eslint/no-unnecessary-type-constraint': 1,
499+
'@typescript-eslint/no-unnecessary-type-conversion': 1,
499500
'@typescript-eslint/no-unnecessary-type-parameters': 1,
500501
'@typescript-eslint/no-unsafe-argument': 0,
501502
'@typescript-eslint/no-unsafe-assignment': 0,
@@ -554,7 +555,7 @@ export default defineConfig([
554555
'@typescript-eslint/dot-notation': 1,
555556
'@typescript-eslint/init-declarations': 0,
556557
'@typescript-eslint/max-params': 0,
557-
'@typescript-eslint/no-array-constructor': 1,
558+
'@typescript-eslint/no-array-constructor': 0,
558559
'@typescript-eslint/no-dupe-class-members': 0,
559560
'@typescript-eslint/no-empty-function': 0,
560561
'@typescript-eslint/no-implied-eval': 1,
@@ -576,13 +577,10 @@ export default defineConfig([
576577
}
577578
],
578579
'@typescript-eslint/no-shadow': 0,
579-
'@typescript-eslint/no-unused-expressions': [
580-
1,
581-
{ allowTaggedTemplates: true, enforceForJSX: true }
582-
],
580+
'@typescript-eslint/no-unused-expressions': 0,
583581
'@typescript-eslint/no-unused-vars': [1, { ignoreRestSiblings: true }],
584582
'@typescript-eslint/no-use-before-define': 0,
585-
'@typescript-eslint/no-useless-constructor': 1,
583+
'@typescript-eslint/no-useless-constructor': 0,
586584
'@typescript-eslint/only-throw-error': 1,
587585
'@typescript-eslint/require-await': 1,
588586
'@typescript-eslint/return-await': 1,

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,33 +53,33 @@
5353
"clsx": "^2.0.0"
5454
},
5555
"devDependencies": {
56-
"@babel/preset-typescript": "^7.27.0",
56+
"@babel/preset-typescript": "^7.27.1",
5757
"@biomejs/biome": "1.9.4",
5858
"@eslint/markdown": "^6.3.0",
5959
"@faker-js/faker": "^9.6.0",
6060
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
6161
"@linaria/core": "^6.3.0",
62-
"@microsoft/api-extractor": "^7.52.2",
62+
"@microsoft/api-extractor": "^7.52.7",
6363
"@tanstack/react-router": "^1.114.16",
6464
"@tanstack/router-plugin": "^1.114.16",
65-
"@types/node": "^22.13.16",
66-
"@types/react": "^19.0.12",
67-
"@types/react-dom": "^19.0.3",
68-
"@typescript-eslint/eslint-plugin": "^8.29.0",
69-
"@typescript-eslint/parser": "^8.29.0",
65+
"@types/node": "^22.15.16",
66+
"@types/react": "^19.1.3",
67+
"@types/react-dom": "^19.1.3",
68+
"@typescript-eslint/eslint-plugin": "^8.32.0",
69+
"@typescript-eslint/parser": "^8.32.0",
7070
"@vitejs/plugin-react": "^4.4.1",
71-
"@vitest/browser": "^3.1.2",
72-
"@vitest/coverage-v8": "^3.1.2",
73-
"@vitest/eslint-plugin": "^1.1.43",
71+
"@vitest/browser": "^3.1.3",
72+
"@vitest/coverage-v8": "^3.1.3",
73+
"@vitest/eslint-plugin": "^1.1.44",
7474
"@wyw-in-js/rollup": "^0.6.0",
7575
"@wyw-in-js/vite": "^0.6.0",
76-
"browserslist": "^4.24.4",
77-
"eslint": "^9.23.0",
76+
"browserslist": "^4.24.5",
77+
"eslint": "^9.26.0",
7878
"eslint-plugin-jest-dom": "^5.5.0",
7979
"eslint-plugin-react": "^7.37.4",
80-
"eslint-plugin-react-compiler": "^19.0.0-beta-e993439-20250328",
80+
"eslint-plugin-react-compiler": "^19.1.0-rc.1",
8181
"eslint-plugin-react-hooks": "^5.2.0",
82-
"eslint-plugin-react-hooks-extra": "^1.40.1",
82+
"eslint-plugin-react-hooks-extra": "^1.49.0",
8383
"eslint-plugin-sonarjs": "^3.0.2",
8484
"eslint-plugin-testing-library": "^7.1.1",
8585
"jspdf": "^3.0.1",
@@ -93,8 +93,8 @@
9393
"react-dom": "^19.1.0",
9494
"rolldown": "^1.0.0-beta.8",
9595
"typescript": "~5.8.2",
96-
"vite": "^6.3.2",
97-
"vitest": "^3.1.2",
96+
"vite": "^6.3.5",
97+
"vitest": "^3.1.3",
9898
"vitest-browser-react": "^0.1.1"
9999
},
100100
"peerDependencies": {

0 commit comments

Comments
 (0)