Merge branch '517-Install-husky-and-prettier-to-format-staged-files' into 'master'
Install husky and prettier to format staged files Closes #517 See merge request bloodyhealth/drip!377
No related branches found
No related tags found
.husky/pre-commit
0 → 100755
... | @@ -25,7 +25,8 @@ | ... | @@ -25,7 +25,8 @@ |
"update-changelog": "node ./tools/bin/update-changelog.js", | "update-changelog": "node ./tools/bin/update-changelog.js", | ||
"release": "node ./tools/release-wizard.js", | "release": "node ./tools/release-wizard.js", | ||
"clear": ". scripts/clear.sh", | "clear": ". scripts/clear.sh", | ||
"postinstall": "npx jetify" | "postinstall": "npx jetify", | ||
"prepare": "husky install" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@ptomasroos/react-native-multi-slider": "^2.2.0", | "@ptomasroos/react-native-multi-slider": "^2.2.0", | ||
... | @@ -72,12 +73,15 @@ | ... | @@ -72,12 +73,15 @@ |
"dirty-chai": "^2.0.1", | "dirty-chai": "^2.0.1", | ||
"eslint": "^6.4.0", | "eslint": "^6.4.0", | ||
"eslint-plugin-react": "^7.8.2", | "eslint-plugin-react": "^7.8.2", | ||
"husky": "^6.0.0", | |||
"jase": "^1.2.0", | "jase": "^1.2.0", | ||
"jest": "^24.9.0", | "jest": "^24.9.0", | ||
"jetifier": "^1.6.6", | "jetifier": "^1.6.6", | ||
"left-pad": "^1.3.0", | "left-pad": "^1.3.0", | ||
"metro-react-native-babel-preset": "^0.56.0", | "metro-react-native-babel-preset": "^0.56.0", | ||
"mocha": "^5.2.0", | "mocha": "^5.2.0", | ||
"prettier": "2.4.0", | |||
"pretty-quick": "^3.1.1", | |||
"react-native-version": "^3.1.0", | "react-native-version": "^3.1.0", | ||
"react-test-renderer": "16.9.0", | "react-test-renderer": "16.9.0", | ||
"readline": "^1.3.0" | "readline": "^1.3.0" | ||
... | ... |
Please register or sign in to comment