Skip to content

Commit da968b2

Browse files
committed
⬆️ Upgrade packages
1 parent 91c6024 commit da968b2

File tree

3 files changed

+430
-1838
lines changed

3 files changed

+430
-1838
lines changed

eslint.config.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
// @ts-check
22

33
import eslint from "@eslint/js"
4+
import { defineConfig, globalIgnores } from "eslint/config"
45
import tseslint from "typescript-eslint"
56
import globals from "globals"
67

7-
export default tseslint.config(
8+
export default defineConfig([
9+
globalIgnores([
10+
"./dist/*",
11+
"./test/generated/*",
12+
]),
813
eslint.configs.recommended,
9-
...tseslint.configs.recommended,
14+
tseslint.configs.recommended,
1015
{
1116
rules: {
1217
indent: ["error", 2],
@@ -26,7 +31,6 @@ export default tseslint.config(
2631
...globals.browser
2732
}
2833
},
29-
ignores: [ "dist/"],
3034
},
3135
{
3236
files: ["test/browser/**/*.js"],
@@ -43,4 +47,4 @@ export default tseslint.config(
4347
"no-empty": "off"
4448
}
4549
}
46-
)
50+
])

0 commit comments

Comments
 (0)