We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25db39b commit 21f8007Copy full SHA for 21f8007
4 files changed
.eslintrc.json
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.node } },
7
+ { files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
8
+]);
0 commit comments