change rule exceptions in .eslintrc (#3305)

for all files beginning with `config/config.js` so e.g. `config.js` and
`config.js.template` are included.

Otherwise the test will always fail locally if someone has renamed
`config.js.sample` to `config.js`.
This commit is contained in:
Karsten Hassel 2023-12-25 23:35:30 +01:00 committed by GitHub
parent 0b70274a1a
commit ee1960ced0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@
},
"overrides": [
{
"files": ["config/config.js.sample"],
"files": ["config/config.js*"],
"rules": {
"@stylistic/comma-dangle": "off",
"@stylistic/indent": "off",

View File

@ -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