File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 180180 "react/jsx-sort-prop-types": 0,
181181 "react/jsx-uses-react": 2,
182182 "react/jsx-uses-vars": 2,
183+ "react/jsx-wrap-multilines": 2,
183184 "react/no-did-mount-set-state": 2,
184185 "react/no-did-update-set-state": 2,
185186 "react/no-multi-comp": 2,
186187 "react/no-unknown-property": 2,
187188 "react/prop-types": 2,
188189 "react/react-in-jsx-scope": 2,
189190 "react/self-closing-comp": 2,
190- "react/wrap-multilines": 2,
191191 "react/sort-comp": [2, {
192192 "order": [
193193 "lifecycle",
Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3- - ' 4.6.0'
4- - ' 6.7.0'
3+ - ' 4.7.2'
4+ - ' 6.9.4'
5+ - ' 7.4.0'
6+ script :
7+ - npm run lint
8+ - npm test
Original file line number Diff line number Diff line change 2323 " README.md"
2424 ],
2525 "scripts" : {
26+ "lint" : " eslint src/**/*.js test/**/*.js" ,
2627 "test" : " mocha --require react-native-mock/mock --compilers js:babel-core/register --recursive test/*.js"
2728 },
2829 "dependencies" : {
3435 "babel-preset-react-native" : " ^1.9.0" ,
3536 "chai" : " ^3.5.0" ,
3637 "enzyme" : " ^2.4.1" ,
37- "eslint" : " ^3.7.1 " ,
38- "eslint-plugin-react" : " ^6.1.2 " ,
38+ "eslint" : " ^3.13.0 " ,
39+ "eslint-plugin-react" : " ^6.9.0 " ,
3940 "mocha" : " ^3.1.0" ,
4041 "react" : " ^15.3.2" ,
4142 "react-addons-test-utils" : " ^15.3.2" ,
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export default class Autolink extends Component {
121121 twitter,
122122 url,
123123 webFallback,
124- ...other ,
124+ ...other
125125 } = this . props ;
126126
127127 // Backwards compatibility for Twitter prop
You can’t perform that action at this time.
0 commit comments