From 7e35b00d5b1e5bf455423b4cdf63c1745954849d Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Sat, 16 Mar 2024 13:23:00 +0100 Subject: [PATCH] add .eslintrc.js --- .eslintrc.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..bee4612 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,26 @@ +module.exports = { + "env": { + "browser": true, + "es2021": true + }, + "extends": "eslint:recommended", + "overrides": [ + { + "env": { + "node": true + }, + "files": [ + ".eslintrc.{js,cjs}" + ], + "parserOptions": { + "sourceType": "script" + } + } + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": { + } +}