From eafa758b5a729a86c70ac57d02c7ffd4df16695f Mon Sep 17 00:00:00 2001 From: David Ball Date: Wed, 17 Jul 2024 18:17:24 -0400 Subject: [PATCH] Configured eslint. --- eslint.config.mjs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 eslint.config.mjs diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..e8b7f78 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,11 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import tseslint from "typescript-eslint"; + + +export default [ + {files: ["**/*.{js,mjs,cjs,ts}"]}, + {languageOptions: { globals: globals.node }}, + pluginJs.configs.recommended, + ...tseslint.configs.recommended, +]; \ No newline at end of file