We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21bfc1 commit 25d531eCopy full SHA for 25d531e
package.json
@@ -45,11 +45,21 @@
45
"eslint": "^9.20.1",
46
"eslint-plugin-eslint-plugin": "^6.4.0",
47
"eslint-plugin-n": "^17.17.0",
48
+ "lint-staged": "^16.1.0",
49
"mocha": "11.1.0",
- "prettier": "^3.5.3"
50
+ "prettier": "^3.5.3",
51
+ "simple-git-hooks": "^2.13.0"
52
},
53
"peerDependencies": {
54
"eslint": ">=7.0.0"
55
- "packageManager": "yarn@4.6.0"
56
+ "packageManager": "yarn@4.6.0",
57
+ "simple-git-hooks": {
58
+ "pre-commit": "yarn lint-staged"
59
+ },
60
+ "lint-staged": {
61
+ "*.js": [
62
+ "prettier --write"
63
+ ]
64
+ }
65
}
0 commit comments