Skip to content

Commit 038648e

Browse files
Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.31.0 (#233)
* Bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.31.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.21.0 to 8.31.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.31.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.31.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix test --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Patrick Pircher <[email protected]>
1 parent f9b1529 commit 038648e

File tree

4 files changed

+79
-75
lines changed

4 files changed

+79
-75
lines changed

pnpm-lock.yaml

Lines changed: 63 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-projects/gjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"generate-output": "eslint . --max-warnings=0 -f 'codeframe' > ./result.txt"
77
},
88
"devDependencies": {
9-
"@typescript-eslint/eslint-plugin": "^6.21.0",
9+
"@typescript-eslint/eslint-plugin": "^8.32.0",
1010
"@typescript-eslint/parser": "^6.21.0",
1111
"ember-eslint-parser": "^0.5.6",
1212
"eslint": "^8.0.1",

test-projects/gts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@glimmer/component": "^2.0.0",
1212
"@glimmer/tracking": "^1.1.2",
1313
"@glint/template": "^1.3.0",
14-
"@typescript-eslint/eslint-plugin": "^6.21.0",
14+
"@typescript-eslint/eslint-plugin": "^8.32.0",
1515
"@typescript-eslint/parser": "^6.21.0",
1616
"ember-eslint-parser": "^0.5.6",
1717
"ember-source": "^6.0.1",

test-projects/gts/result.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:13:
1+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:13:
22
27 | let promise = args.promise
33
28 | .then((resolved) => {
44
> 29 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -8,7 +8,7 @@ error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) a
88
32 | })
99

1010

11-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:35:
11+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:35:
1212
27 | let promise = args.promise
1313
28 | .then((resolved) => {
1414
> 29 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -18,7 +18,7 @@ error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) a
1818
32 | })
1919

2020

21-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:13:
21+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:13:
2222
32 | })
2323
33 | .catch((error) => {
2424
> 34 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -28,7 +28,7 @@ error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) a
2828
37 | this.resolved = undefined;
2929

3030

31-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:35:
31+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:35:
3232
32 | })
3333
33 | .catch((error) => {
3434
> 34 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -88,43 +88,43 @@ error: Non-translated string used (ember-template-lint/no-bare-strings) at src/c
8888
42 | </:options>
8989

9090

91-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/destructure-to-array.gts:5:11:
91+
error: Unsafe assignment of an error typed value (@typescript-eslint/no-unsafe-assignment) at src/destructure-to-array.gts:5:11:
9292
3 | export class DeconstructArray extends Component<unknown> {
9393
4 | testFunction = async () => {
9494
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
9595
| ^
9696
6 | return remaining;
9797
7 | }
98-
8 |
98+
8 |
9999

100100

101-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/destructure-to-array.gts:5:36:
101+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/destructure-to-array.gts:5:36:
102102
3 | export class DeconstructArray extends Component<unknown> {
103103
4 | testFunction = async () => {
104104
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
105105
| ^
106106
6 | return remaining;
107107
7 | }
108-
8 |
108+
8 |
109109

110110

111-
error: Unsafe member access .all on an `any` value (@typescript-eslint/no-unsafe-member-access) at src/destructure-to-array.gts:5:44:
111+
error: Unsafe member access .all on an `error` typed value (@typescript-eslint/no-unsafe-member-access) at src/destructure-to-array.gts:5:44:
112112
3 | export class DeconstructArray extends Component<unknown> {
113113
4 | testFunction = async () => {
114114
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
115115
| ^
116116
6 | return remaining;
117117
7 | }
118-
8 |
118+
8 |
119119

120120

121-
error: Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return) at src/destructure-to-array.gts:6:5:
121+
error: Unsafe return of a value of type error (@typescript-eslint/no-unsafe-return) at src/destructure-to-array.gts:6:5:
122122
4 | testFunction = async () => {
123123
5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
124124
> 6 | return remaining;
125125
| ^
126126
7 | }
127-
8 |
127+
8 |
128128
9 | <template>
129129

130130

@@ -178,7 +178,7 @@ error: Non-translated string used (ember-template-lint/no-bare-strings) at src/f
178178
29 | </nav>
179179

180180

181-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/menu.gts:32:7:
181+
error: Unsafe assignment of an error typed value (@typescript-eslint/no-unsafe-assignment) at src/menu.gts:32:7:
182182
30 | </template>;
183183
31 |
184184
> 32 | const DefaultTrigger = <template>
@@ -188,7 +188,7 @@ error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignm
188188
35 | class="text-black rounded border bg-white px-2 py-1 -my-1 text-left transition ease-in-out duration-150 sm:text-sm drop-shadow-md hover:drop-shadow-xl focus:ring-4 focus-visible:outline-none ring-ember-brand focus:outline-none"
189189

190190

191-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/placeholder.gts:9:14:
191+
error: Unsafe assignment of an error typed value (@typescript-eslint/no-unsafe-assignment) at src/placeholder.gts:9:14:
192192
7 | const orGlimdown = (format: string | undefined) => format || 'glimdown';
193193
8 |
194194
> 9 | export const Placeholder = <template>

0 commit comments

Comments
 (0)