Skip to content

Commit 8781f64

Browse files
committed
better eslint config
1 parent 556f160 commit 8781f64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

eslint.config.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { defineConfig } from "eslint/config";
21
import globals from "globals";
32
import js from "@eslint/js";
43
import importPlugin from "eslint-plugin-import";
54

6-
export default defineConfig([
5+
export default [
76
{
87
languageOptions: {
98
globals: {
@@ -30,4 +29,4 @@ export default defineConfig([
3029
],
3130
},
3231
},
33-
]);
32+
];

0 commit comments

Comments
 (0)