Skip to content
Snippets Groups Projects
Commit 57f3c261 authored by david.bauer's avatar david.bauer :fire:
Browse files

Update lint-staged

parent b8f5110b
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,4 @@
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
npx lint-staged
......@@ -6,7 +6,8 @@
"scripts": {
"lint": "eslint .",
"start": "node index.js",
"dev": "nodemon index.js | pino-pretty"
"dev": "nodemon index.js | pino-pretty",
"prepare": "husky install"
},
"author": "Open-Xchange",
"license": "CC-BY-NC-SA-2.5",
......@@ -29,17 +30,12 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"husky": ">=4",
"husky": ">=6",
"lint-staged": ">=10",
"nodemon": "^2.0.7",
"pino-pretty": "^4.7.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js(on)?": "eslint --cache --fix"
"*.js": "eslint --cache --fix"
}
}
......@@ -1352,7 +1352,7 @@ human-signals@^1.1.1:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
husky@>=4:
husky@>=6:
version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment