We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71140e6 commit ba5338fCopy full SHA for ba5338f
eslint.config.mjs
@@ -0,0 +1,8 @@
1
+import js from "@eslint/js";
2
+import globals from "globals";
3
+import { defineConfig } from "eslint/config";
4
+
5
+export default defineConfig([
6
+ { files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } },
7
+ { files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
8
+]);
0 commit comments