Skip to content

Commit 1a403ef

Browse files
authored
Fix false positive for dom/no-missing-button-type when specifying non-trivial expression as value of type attribute, closes #1247 (#1250)
1 parent 2fdba82 commit 1a403ef

File tree

22 files changed

+516
-528
lines changed

22 files changed

+516
-528
lines changed

.pkgs/configs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"dependencies": {
2222
"@eslint/js": "^9.36.0",
2323
"@stylistic/eslint-plugin": "^5.4.0",
24-
"eslint-plugin-de-morgan": "^1.3.1",
24+
"eslint-plugin-de-morgan": "^2.0.0",
2525
"eslint-plugin-function": "^0.0.31",
2626
"eslint-plugin-jsdoc": "^60.5.0",
2727
"eslint-plugin-perfectionist": "^4.15.0",
2828
"eslint-plugin-regexp": "^2.10.0",
2929
"eslint-plugin-unicorn": "^61.0.2",
30-
"typescript-eslint": "^8.44.1"
30+
"typescript-eslint": "^8.45.0"
3131
},
3232
"peerDependencies": {
3333
"eslint": "^9.36.0",

.pkgs/eslint-plugin-local/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"@eslint-react/var": "workspace:*",
2929
"@eslint/js": "^9.36.0",
3030
"@stylistic/eslint-plugin": "^5.4.0",
31-
"@typescript-eslint/scope-manager": "^8.44.1",
32-
"@typescript-eslint/type-utils": "^8.44.1",
33-
"@typescript-eslint/types": "^8.44.1",
34-
"@typescript-eslint/utils": "^8.44.1",
35-
"eslint-plugin-de-morgan": "^1.3.1",
31+
"@typescript-eslint/scope-manager": "^8.45.0",
32+
"@typescript-eslint/type-utils": "^8.45.0",
33+
"@typescript-eslint/types": "^8.45.0",
34+
"@typescript-eslint/utils": "^8.45.0",
35+
"eslint-plugin-de-morgan": "^2.0.0",
3636
"eslint-plugin-jsdoc": "^60.5.0",
3737
"eslint-plugin-perfectionist": "^4.15.0",
3838
"eslint-plugin-regexp": "^2.10.0",

apps/website/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"start": "next start"
1111
},
1212
"dependencies": {
13-
"@effect-atom/atom-react": "^0.2.0",
13+
"@effect-atom/atom-react": "^0.3.0",
1414
"@eslint-react/eff": "workspace:*",
1515
"bsky-react-post": "^0.1.7",
1616
"clsx": "^2.1.1",
17-
"effect": "^3.17.14",
17+
"effect": "^3.18.0",
1818
"fumadocs-core": "15.8.1",
1919
"fumadocs-docgen": "3.0.1",
2020
"fumadocs-mdx": "12.0.1",
@@ -30,7 +30,7 @@
3030
"twoslash": "^0.3.4"
3131
},
3232
"devDependencies": {
33-
"@effect/language-service": "^0.41.0",
33+
"@effect/language-service": "^0.41.1",
3434
"@eslint-react/eslint-plugin": "workspace:*",
3535
"@eslint-react/kit": "workspace:*",
3636
"@eslint-react/shared": "workspace:*",
@@ -45,7 +45,7 @@
4545
"@tsconfig/strictest": "^2.0.6",
4646
"@types/hast": "^3.0.4",
4747
"@types/mdx": "^2.0.13",
48-
"@types/node": "^24.5.2",
48+
"@types/node": "^24.6.0",
4949
"@types/react": "^19.1.15",
5050
"@types/react-dom": "^19.1.9",
5151
"dedent": "^1.7.0",
@@ -58,6 +58,6 @@
5858
"tailwindcss": "^4.1.13",
5959
"tailwindcss-animated": "^2.0.0",
6060
"typescript": "^5.9.2",
61-
"typescript-eslint": "^8.44.1"
61+
"typescript-eslint": "^8.45.0"
6262
}
6363
}

examples/next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"@tsconfig/next": "^2.0.3",
2424
"@tsconfig/node22": "^22.0.2",
2525
"@tsconfig/strictest": "^2.0.6",
26-
"@types/node": "^24.5.2",
26+
"@types/node": "^24.6.0",
2727
"@types/react": "^19.1.15",
2828
"@types/react-dom": "^19.1.9",
2929
"eslint": "^9.36.0",
3030
"eslint-plugin-react-hooks": "^5.2.0",
3131
"eslint-plugin-react-refresh": "^0.4.22",
3232
"typescript": "^5.9.2",
33-
"typescript-eslint": "^8.44.1"
33+
"typescript-eslint": "^8.45.0"
3434
},
3535
"engines": {
3636
"node": ">=20.19.0"

examples/react-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"eslint-plugin-react-hooks": "^5.2.0",
2929
"eslint-plugin-react-refresh": "^0.4.22",
3030
"typescript": "^5.9.2",
31-
"typescript-eslint": "^8.44.1",
31+
"typescript-eslint": "^8.45.0",
3232
"vite": "^7.1.7"
3333
},
3434
"engines": {

examples/with-ts-blank-eslint-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"globals": "^16.4.0",
3333
"ts-blank-eslint-parser": "^0.4.4",
3434
"typescript": "^5.9.2",
35-
"typescript-eslint": "^8.44.1",
35+
"typescript-eslint": "^8.45.0",
3636
"vite": "^7.1.7"
3737
},
3838
"engines": {

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,27 @@
5252
"update:website": "tsx ./scripts/update-website.ts"
5353
},
5454
"devDependencies": {
55-
"@effect/language-service": "^0.41.0",
56-
"@effect/platform": "^0.91.1",
57-
"@effect/platform-node": "^0.97.1",
55+
"@effect/language-service": "^0.41.1",
56+
"@effect/platform": "^0.92.0",
57+
"@effect/platform-node": "^0.98.0",
5858
"@eslint/config-inspector": "^1.3.0",
5959
"@eslint/markdown": "^7.3.0",
6060
"@local/configs": "workspace:*",
6161
"@local/eslint-plugin-local": "workspace:*",
6262
"@radix-ui/react-toast": "^1.2.15",
6363
"@tsconfig/node22": "^22.0.2",
6464
"@tsconfig/strictest": "^2.0.6",
65-
"@types/node": "^24.5.2",
65+
"@types/node": "^24.6.0",
6666
"@types/react": "^19.1.15",
6767
"@types/react-dom": "^19.1.9",
68-
"@typescript-eslint/parser": "^8.44.1",
69-
"@typescript-eslint/rule-tester": "^8.44.1",
70-
"@typescript-eslint/types": "^8.44.1",
68+
"@typescript-eslint/parser": "^8.45.0",
69+
"@typescript-eslint/rule-tester": "^8.45.0",
70+
"@typescript-eslint/types": "^8.45.0",
7171
"@eslint/compat": "^1.4.0",
7272
"ansis": "^4.2.0",
7373
"dedent": "^1.7.0",
7474
"dprint": "^0.50.2",
75-
"effect": "^3.17.14",
75+
"effect": "^3.18.0",
7676
"eslint": "^9.36.0",
7777
"eslint-plugin-fast-import": "^1.4.4",
7878
"eslint-plugin-vitest": "^0.5.4",
@@ -94,7 +94,7 @@
9494
"typedoc-plugin-markdown": "^4.9.0",
9595
"typedoc-plugin-mdn-links": "^5.0.9",
9696
"typescript": "^5.9.2",
97-
"typescript-eslint": "^8.44.1",
97+
"typescript-eslint": "^8.45.0",
9898
"vitest": "^3.2.4"
9999
},
100100
"packageManager": "[email protected]",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"@eslint-react/kit": "workspace:*",
4040
"@eslint-react/shared": "workspace:*",
4141
"@eslint-react/var": "workspace:*",
42-
"@typescript-eslint/scope-manager": "^8.44.1",
43-
"@typescript-eslint/types": "^8.44.1",
44-
"@typescript-eslint/utils": "^8.44.1",
42+
"@typescript-eslint/scope-manager": "^8.45.0",
43+
"@typescript-eslint/types": "^8.45.0",
44+
"@typescript-eslint/utils": "^8.45.0",
4545
"birecord": "^0.1.1",
4646
"ts-pattern": "^5.8.0"
4747
},

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747
"@eslint-react/kit": "workspace:*",
4848
"@eslint-react/shared": "workspace:*",
4949
"@eslint-react/var": "workspace:*",
50-
"@typescript-eslint/scope-manager": "^8.44.1",
51-
"@typescript-eslint/type-utils": "^8.44.1",
52-
"@typescript-eslint/types": "^8.44.1",
53-
"@typescript-eslint/utils": "^8.44.1",
50+
"@typescript-eslint/scope-manager": "^8.45.0",
51+
"@typescript-eslint/type-utils": "^8.45.0",
52+
"@typescript-eslint/types": "^8.45.0",
53+
"@typescript-eslint/utils": "^8.45.0",
5454
"string-ts": "^2.2.1",
5555
"ts-pattern": "^5.8.0"
5656
},

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
"@eslint-react/kit": "workspace:*",
4848
"@eslint-react/shared": "workspace:*",
4949
"@eslint-react/var": "workspace:*",
50-
"@typescript-eslint/scope-manager": "^8.44.1",
51-
"@typescript-eslint/types": "^8.44.1",
52-
"@typescript-eslint/utils": "^8.44.1",
50+
"@typescript-eslint/scope-manager": "^8.45.0",
51+
"@typescript-eslint/types": "^8.45.0",
52+
"@typescript-eslint/utils": "^8.45.0",
5353
"compare-versions": "^6.1.1",
5454
"string-ts": "^2.2.1",
5555
"ts-pattern": "^5.8.0"

0 commit comments

Comments
 (0)