Skip to content

Commit ee1960c

Browse files
authored
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`.
1 parent 0b70274 commit ee1960c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
},
6767
"overrides": [
6868
{
69-
"files": ["config/config.js.sample"],
69+
"files": ["config/config.js*"],
7070
"rules": {
7171
"@stylistic/comma-dangle": "off",
7272
"@stylistic/indent": "off",

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ _This release is scheduled to be released on 2024-01-01._
3131
- Updated dependencies
3232
- Clock module: optionally display current moon phase in addition to rise/set times
3333
- 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)
34-
- Replace prettier by stylistic in ESLint config to lint JavaScript
34+
- Replace prettier by stylistic in ESLint config to lint JavaScript (and disable some rules for `config/config.js*` files)
3535

3636
### Fixed
3737

0 commit comments

Comments
 (0)