Skip to content

Commit 0ecb50f

Browse files
committed
Chore(deps) add & config eslint-plugin-flowtype
1 parent 63cacba commit 0ecb50f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
},
1515

1616
"plugins": [
17-
"react"
17+
"react",
18+
"flowtype"
19+
],
20+
21+
"extends": [
22+
"plugin:flowtype/recommended"
1823
],
1924

2025
"globals": {

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@
3636
},
3737
"homepage": "https://github.com/APSL/react-native-keyboard-aware-scroll-view#readme",
3838
"dependencies": {
39-
"react-timer-mixin": "^0.13.3",
40-
"prop-types": "^15.5.10"
39+
"prop-types": "^15.5.10",
40+
"react-timer-mixin": "^0.13.3"
4141
},
4242
"devDependencies": {
4343
"babel-eslint": "^6.0.4",
4444
"eslint": "^3.17.1",
45-
"eslint-plugin-react": "^6.10.0",
45+
"eslint-plugin-flowtype": "^2.35.0",
46+
"eslint-plugin-react": "^7.1.0",
4647
"flow-bin": "0.47.0"
4748
}
4849
}

0 commit comments

Comments
 (0)