File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
// this is here to avoid duplicate react entries in the examples
2
2
// (one from the example's node_modules and one from the root's node_modules)
3
- module . exports = require ( 'react-native' )
3
+ module . exports = require ( 'react-native' ) ;
Original file line number Diff line number Diff line change 17
17
"test-builds" : " node ./scripts/testBuilds.js" ,
18
18
"lint" : " eslint --max-warnings 0 --ext js,jsx src scripts" ,
19
19
"lint-fix" : " eslint --max-warnings 0 --ext js,jsx src scripts --fix" ,
20
+ "lint-tests" : " eslint --max-warnings 0 --ext js,jsx __tests__ __mocks__" ,
21
+ "lint-tests-fix" : " eslint --max-warnings 0 --ext js,jsx __tests__ __mocks__ --fix" ,
20
22
"install-examples" : " node ./scripts/installExamples.js" ,
21
23
"build-examples" : " node ./scripts/buildExamples.js" ,
22
24
"link-examples" : " node ./scripts/linkExamples.js" ,
105
107
},
106
108
"husky" : {
107
109
"hooks" : {
108
- "pre-commit" : " npm run lint" ,
110
+ "pre-commit" : " npm run lint && npm run lint-tests " ,
109
111
"commit-msg" : " commitlint -E HUSKY_GIT_PARAMS"
110
112
}
111
113
},
You can’t perform that action at this time.
0 commit comments