Skip to content

Commit 6469b0d

Browse files
committed
Save work before ESLint fix
1 parent db7762c commit 6469b0d

File tree

6 files changed

+948
-5
lines changed

6 files changed

+948
-5
lines changed

eslint.config.mjs

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import prettier from "eslint-config-prettier";
4+
5+
/** @type {import('eslint').Linter.Config[]} */
6+
export default [
7+
{
8+
files: ["**/*.js"],
9+
languageOptions: {
10+
sourceType: "commonjs",
11+
globals: {
12+
...globals.browser,
13+
...globals.node,
14+
},
15+
},
16+
},
17+
pluginJs.configs.recommended,
18+
prettier, // Prettier integriert
19+
];

0 commit comments

Comments
 (0)