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 d337f07 commit 1f03c11Copy full SHA for 1f03c11
android/src/main/jniLibs/armeabi-v7a/libopencv_imgproc.a
-4.22 MB
package.json
@@ -67,6 +67,7 @@
67
"eslint-plugin-standard": "^4.0.0",
68
"husky": "^2.4.1",
69
"jest": "^24.8.0",
70
+ "lint-staged": "^9.2.1",
71
"prettier": "^1.18.2",
72
"react": "16.8.3",
73
"react-dom": "16.8.3",
@@ -81,9 +82,19 @@
81
82
"husky": {
83
"hooks": {
84
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
- "pre-commit": "yarn lint && yarn typescript"
85
+ "pre-commit": "lint-staged"
86
}
87
},
88
+ "lint-staged": {
89
+ "*.{js,ts,tsx}": [
90
+ "yarn eslint --fix",
91
+ "git add"
92
+ ],
93
+ "*.java": [
94
+ "cd android && ./graldew spotlessApply",
95
96
+ ]
97
+ },
98
"jest": {
99
"preset": "react-native",
100
"modulePathIgnorePatterns": [
0 commit comments