From 5310598573f02b96fca39f44e5802ea36f00e5ab Mon Sep 17 00:00:00 2001 From: gotomi Date: Sat, 8 Feb 2025 22:48:22 +0100 Subject: [PATCH] eslint config update --- eslint.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 eslint.config.js diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..8f7e6f9 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,10 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"; + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + { languageOptions: { globals: globals.node } }, + pluginJs.configs.recommended, + eslintPluginPrettierRecommended, +];