We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b9d7ab commit de10a08Copy full SHA for de10a08
.lintstagedrc
@@ -0,0 +1,3 @@
1
+{
2
+ "*.js": ["standard --fix", "git add"]
3
+}
package.json
@@ -10,7 +10,8 @@
10
"test": "node test/all-the-readmes.js",
11
"watch": "babel src --out-dir dist --watch",
12
"build": "babel src --out-dir dist",
13
- "lint": "standard --fix"
+ "lint": "standard --fix",
14
+ "precommit": "lint-staged"
15
},
16
"keywords": [],
17
"author": "William Hilton <[email protected]>",
@@ -40,6 +41,8 @@
40
41
"babel-plugin-transform-object-rest-spread": "^6.23.0",
42
"chalk": "^1.1.3",
43
"diff": "^3.2.0",
44
+ "husky": "^0.13.2",
45
+ "lint-staged": "^3.4.0",
46
"npm-run-all": "^4.0.2",
47
"package-stream": "^3.0.0",
48
"standard": "^9.0.2"
0 commit comments