From 4df6faba6de21c280c54a87c806ce7bd50d2286f Mon Sep 17 00:00:00 2001 From: NovemLinguae Date: Sun, 2 Jun 2024 08:47:58 -0700 Subject: [PATCH] eslint: env node for node files --- .eslintrc.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index f09a9c3..e9c9519 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -13,6 +13,16 @@ "importScript": "readonly", "importStylesheet": "readonly" }, + "overrides": [ + { + "files": [ + "bin/*.js" + ], + "env": { + "node": true + } + } + ], "parserOptions": { "ecmaVersion": 2018, "requireConfigFile": false,