diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..02c8b48 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18.18.0 diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..12ad330 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,14 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import tseslint from "typescript-eslint"; +import pluginReact from "eslint-plugin-react"; + + +export default [ + {files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]}, + {files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}}, + {languageOptions: { globals: globals.browser }}, + pluginJs.configs.recommended, + ...tseslint.configs.recommended, + pluginReact.configs.flat.recommended, +]; \ No newline at end of file diff --git a/index.html b/index.html index 9d4fc94..1a21edd 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,7 @@
- +