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.
precommit
1 parent ee635a0 commit afc143bCopy full SHA for afc143b
.lintstagedrc
@@ -0,0 +1,3 @@
1
+{
2
+ "*.js": ["npm run lint:fix", "git add"]
3
+}
package.json
@@ -13,6 +13,7 @@
13
"coveralls": "cat coverage/lcov.info | coveralls",
14
"lint": "eslint --ignore-path .gitignore .",
15
"lint:fix": "npm run lint -- --fix",
16
+ "precommit": "lint-staged",
17
"prepublishOnly": "npm run clean && npm run build:unmin && npm run build:min",
18
"release": "standard-version --no-verify",
19
"test": "mocha"
0 commit comments