Skip to content

Commit ace54aa

Browse files
update xo
1 parent 45d7fed commit ace54aa

File tree

4 files changed

+764
-1700
lines changed

4 files changed

+764
-1700
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ npm-debug.log
2929

3030

3131
/dist
32+
.vscode/

index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { TextInput } from 'react-native';
1+
import { TextInput } from 'react-native'; // eslint-disable-line import/no-unresolved
2+
23
const { State: TextInputState } = TextInput;
34

45
export default function dismissKeyboard() {

package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
"react"
3030
],
3131
"rules": {
32-
"babel/object-curly-spacing": [
33-
2,
34-
"always"
35-
],
32+
"object-curly-spacing": [2, "always"],
3633
"comma-dangle": [
3734
2,
3835
"always-multiline"
@@ -52,7 +49,7 @@
5249
],
5350
"react/no-set-state": 1,
5451
"react/prop-types": 2,
55-
"react/jsx-sort-prop-types": 2,
52+
"react/jsx-sort-props": 2,
5653
"react/jsx-closing-bracket-location": [
5754
2,
5855
{
@@ -77,15 +74,18 @@
7774
"dismiss"
7875
],
7976
"license": "MIT",
77+
"peerDependencies": {
78+
"react-native": "*"
79+
},
8080
"devDependencies": {
81-
"babel": "^5.8.34",
82-
"babel-eslint": "^5.0.0-beta6",
83-
"eslint": "^1.10.3",
84-
"eslint-config-xo": "^0.9.1",
85-
"eslint-plugin-babel": "^3.0.0",
81+
"babel": "^6.23.0",
82+
"babel-eslint": "^7.2.3",
83+
"eslint": "^3.19.0",
84+
"eslint-config-xo": "^0.18.1",
85+
"eslint-plugin-babel": "^4.1.1",
8686
"eslint-plugin-no-empty-blocks": "0.0.2",
8787
"eslint-plugin-no-use-extend-native": "^0.3.3",
88-
"eslint-plugin-react": "^3.13.1",
89-
"xo": "^0.12.1"
88+
"eslint-plugin-react": "^6.10.3",
89+
"xo": "^0.18.1"
9090
}
9191
}

0 commit comments

Comments
 (0)