mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-12 22:14:20 +00:00
Run precommit hook automatically
Help to ensure that code is formatted and linted before commits and PRs. Fix #755 Close #756 Close #754
This commit is contained in:
committed by
Nicolas Gallagher
parent
b78206d2f4
commit
c26ef0eb3b
+2
-1
@@ -41,6 +41,7 @@
|
||||
"eslint-plugin-promise": "^3.6.0",
|
||||
"eslint-plugin-react": "^7.5.1",
|
||||
"flow-bin": "^0.61.0",
|
||||
"husky": "^0.14.3",
|
||||
"jest": "^21.2.1",
|
||||
"lerna": "^2.5.1",
|
||||
"lint-staged": "^4.1.3",
|
||||
@@ -58,7 +59,7 @@
|
||||
"**/*.js": [
|
||||
"fmt:cmd",
|
||||
"git update-index --again",
|
||||
"lint:cmd"
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"author": "Nicolas Gallagher",
|
||||
|
||||
Reference in New Issue
Block a user