diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..d5fe1a0 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,13 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import tseslint from "typescript-eslint"; +import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; + + +export default [ + { files: ["**/*.{js,mjs,cjs,ts}"] }, + { languageOptions: { globals: globals.browser } }, + pluginJs.configs.recommended, + ...tseslint.configs.recommended, + eslintPluginPrettierRecommended +]; \ No newline at end of file