From d70cf67a6991a5688fecf10e468195e60d8d26f6 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Mon, 25 Dec 2023 21:19:38 +0100 Subject: [PATCH] change rule exceptions in .eslintrc for all files beginning with `config/config.js` so e.g. `config.js` and `config.js.template` are included --- .eslintrc.json | 2 +- CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index bc80bbf1aa..72cdf37c21 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -66,7 +66,7 @@ }, "overrides": [ { - "files": ["config/config.js.sample"], + "files": ["config/config.js*"], "rules": { "@stylistic/comma-dangle": "off", "@stylistic/indent": "off", diff --git a/CHANGELOG.md b/CHANGELOG.md index 9148f9ddf1..e7cdba1882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,7 @@ _This release is scheduled to be released on 2024-01-01._ - Updated dependencies - Clock module: optionally display current moon phase in addition to rise/set times - electron is now per default started without gpu, if needed it must be enabled with new env var `ELECTRON_ENABLE_GPU=1` on startup (#3226) -- Replace prettier by stylistic in ESLint config to lint JavaScript +- Replace prettier by stylistic in ESLint config to lint JavaScript (and disable some rules for `config/config.js*` files) ### Fixed