diff --git a/eslint.config.mjs b/eslint.config.mjs index 3f7ae4d..4737aae 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,9 +1,10 @@ -import globals from "globals"; -import pluginJs from "@eslint/js"; +import globals from 'globals'; +import pluginJs from '@eslint/js'; +//["**/*.js"], export default [ - {files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}}, - {languageOptions: { globals: globals.browser }}, - pluginJs.configs.recommended, -]; \ No newline at end of file + { files: [ 'main.js' ], languageOptions: { sourceType: 'commonjs' } }, + { languageOptions: { globals: globals.browser } }, + pluginJs.configs.recommended +];