File tree 4 files changed +17
-251
lines changed
4 files changed +17
-251
lines changed Original file line number Diff line number Diff line change
1
+ _
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npm run lint:fix
5
+ git add
Original file line number Diff line number Diff line change 1
1
{
2
2
"main" : " index.js" ,
3
- "version" : " 0.4.2 " ,
3
+ "version" : " 0.4.3 " ,
4
4
"scripts" : {
5
5
"android" : " react-native run-android" ,
6
6
"ios" : " react-native run-ios" ,
9
9
"test" : " jest" ,
10
10
"lint-js" : " eslint --ignore-path .gitignore --ignore-pattern \" !**/.*\" ." ,
11
11
"lint" : " npm run lint-js" ,
12
- "fix-js " : " npm run lint-js --fix"
12
+ "lint: fix" : " npm run lint-js --fix"
13
13
},
14
14
"dependencies" : {
15
15
"@react-native-community/async-storage" : " ^1.12.1" ,
61
61
"eslint-plugin-react-hooks" : " ^4.2.0" ,
62
62
"husky" : " ^6.0.0" ,
63
63
"jest" : " ~25.2.6" ,
64
- "lint-staged" : " ^10.5.4" ,
65
- "pre-commit" : " ^1.2.2" ,
66
64
"prettier" : " ^2.2.1" ,
67
65
"react-test-renderer" : " ~16.13.1" ,
68
66
"redux-devtools-extension" : " ^2.13.9"
69
67
},
70
68
"jest" : {
71
69
"preset" : " react-native"
72
70
},
73
- "husky" : {
74
- "hooks" : {
75
- "pre-commit" : " lint-staged"
76
- }
77
- },
78
- "lint-staged" : {
79
- "*.{js,jsx}" : [
80
- " eslint --fix" ,
81
- " prettier --write" ,
82
- " git add"
83
- ]
84
- },
85
71
"private" : true
86
72
}
You can’t perform that action at this time.
0 commit comments