Update ESLint and simplify config (#3724)

This does not change the rules of ESLint. It's just a little cosmetic
fine-tuning.
This commit is contained in:
Kristjan ESPERANTO
2025-02-22 19:12:01 +01:00
committed by GitHub
parent 62c22d785c
commit 28bcee7de6
4 changed files with 235 additions and 239 deletions

View File

@@ -30,7 +30,7 @@
"install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier",
"install-vendor": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
"lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
"lint:js": "eslint . --fix",
"lint:js": "eslint --fix",
"lint:markdown": "markdownlint-cli2 . --fix",
"lint:prettier": "prettier . --write",
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
@@ -50,7 +50,7 @@
"test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
"test:js": "eslint .",
"test:js": "eslint",
"test:markdown": "markdownlint-cli2 .",
"test:prettier": "prettier . --check",
"test:spelling": "cspell . --gitignore",
@@ -66,7 +66,7 @@
"ansis": "^3.10.0",
"console-stamp": "^3.1.2",
"envsub": "^4.1.0",
"eslint": "^9.19.0",
"eslint": "^9.21.0",
"express": "^4.21.2",
"express-ipfilter": "^1.3.2",
"feedme": "^2.0.2",
@@ -83,12 +83,12 @@
"undici": "^7.3.0"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^3.0.1",
"@stylistic/eslint-plugin": "^4.0.1",
"cspell": "^8.17.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-jsdoc": "^50.6.3",
"eslint-plugin-package-json": "^0.21.1",
"eslint-plugin-package-json": "^0.26.0",
"express-basic-auth": "^1.2.1",
"husky": "^9.1.7",
"jest": "^29.7.0",