Skip to content

Commit 3ebac92

Browse files
authored
chore: upgrade eslint from v8 to v9 (#251)
1 parent 7a45223 commit 3ebac92

19 files changed

+4167
-1301
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,18 @@ Type:
138138
type exposes =
139139
| string
140140
| {
141-
globalName: string | Array<string>;
141+
globalName: string | string[];
142142
moduleLocalName?: string;
143143
override?: boolean;
144144
}
145-
| Array<
145+
| (
146146
| string
147147
| {
148-
globalName: string | Array<string>;
148+
globalName: string | string[];
149149
moduleLocalName?: string;
150150
override?: boolean;
151151
}
152-
>;
152+
)[];
153153
```
154154

155155
Default: `undefined`
@@ -219,7 +219,7 @@ Allows to use an object to describe an expose.
219219
Type:
220220

221221
```ts
222-
type globalName = string | Array<string>;
222+
type globalName = string | string[];
223223
```
224224

225225
Default: `undefined`

eslint.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { defineConfig } from "eslint/config";
2+
import configs from "eslint-config-webpack/configs.js";
3+
4+
export default defineConfig([
5+
{
6+
extends: [configs["recommended-dirty"]],
7+
},
8+
]);

0 commit comments

Comments
 (0)