Skip to content

Commit 1c26db5

Browse files
authored
Update typescript-eslint (#2852)
1 parent f893552 commit 1c26db5

File tree

4 files changed

+2
-43
lines changed

4 files changed

+2
-43
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
"@babel/eslint-parser": "^7.28.5",
8181
"@eslint/eslintrc": "^3.3.1",
8282
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
83-
"@typescript-eslint/parser": "^8.48.0",
84-
"@typescript-eslint/types": "^8.48.0",
83+
"@typescript-eslint/parser": "^8.53.1",
84+
"@typescript-eslint/types": "^8.53.1",
8585
"ava": "^6.4.1",
8686
"c8": "^10.1.3",
8787
"enquirer": "^2.4.1",

test/require-module-specifiers.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ test.snapshot({
1818
'import foo,{bar} from "foo"',
1919
typescriptCode('import type foo from "foo"'),
2020
typescriptCode('import * as foo from "foo"'),
21-
typescriptCode('import type foo,{bar} from "foo"'),
2221
typescriptCode('import foo,{type bar} from "foo"'),
2322
],
2423
invalid: [
@@ -37,8 +36,6 @@ test.snapshot({
3736
'import foo,{}/* comment */from "foo";',
3837
typescriptCode('import type {} from "foo";'),
3938
typescriptCode('import type{}from"foo";'),
40-
typescriptCode('import type foo, {} from "foo";'),
41-
typescriptCode('import type foo,{}from "foo";'),
4239
],
4340
});
4441

test/snapshots/require-module-specifiers.js.md

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -192,44 +192,6 @@ Generated by [AVA](https://avajs.dev).
192192
1 |␊
193193
`
194194

195-
## invalid(10): import type foo, {} from "foo";
196-
197-
> Input
198-
199-
`␊
200-
1 | import type foo, {} from "foo";␊
201-
`
202-
203-
> Error 1/1
204-
205-
`␊
206-
Message:␊
207-
> 1 | import type foo, {} from "foo";␊
208-
| ^^ import statement without specifiers is not allowed.␊
209-
210-
Output:␊
211-
1 | import type foo from "foo";␊
212-
`
213-
214-
## invalid(11): import type foo,{}from "foo";
215-
216-
> Input
217-
218-
`␊
219-
1 | import type foo,{}from "foo";␊
220-
`
221-
222-
> Error 1/1
223-
224-
`␊
225-
Message:␊
226-
> 1 | import type foo,{}from "foo";␊
227-
| ^^ import statement without specifiers is not allowed.␊
228-
229-
Output:␊
230-
1 | import type foo from "foo";␊
231-
`
232-
233195
## invalid(1): export {}
234196

235197
> Input
-72 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)