Switch to 'npx' for lint-staged in pre-commit hook (#3658)

This way we get rid of the script entry in the `package.json` and the
whole thing becomes a little less complex.
This commit is contained in:
Kristjan ESPERANTO
2024-12-22 07:26:01 +01:00
committed by GitHub
parent c485ff670d
commit 0b3a04c520
3 changed files with 7 additions and 7 deletions

View File

@@ -33,7 +33,6 @@
"lint:js": "eslint . --fix",
"lint:markdown": "markdownlint-cli2 . --fix",
"lint:prettier": "prettier . --write",
"lint:staged": "lint-staged",
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.",
"server": "node ./serveronly",