Skip to content

Commit e9d954e

Browse files
committed
flow config
1 parent 1e3c000 commit e9d954e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.eslintrc

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
"react/react-in-jsx-scope": 2
1818
},
1919
"plugins": [
20+
"flowtype",
2021
"react"
2122
],
22-
"extends": "airbnb",
23+
"extends": [
24+
"plugin:flowtype/recommended",
25+
"airbnb"
26+
],
2327
"globals": {
2428
"describe" : false,
2529
"it" : false,

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"cross-env": "1.0.7",
6262
"eslint": "2.12.0",
6363
"eslint-config-airbnb": "9.0.1",
64+
"eslint-plugin-flowtype": "2.29.2",
6465
"eslint-plugin-import": "1.8.1",
6566
"eslint-plugin-jsx-a11y": "1.3.0",
6667
"eslint-plugin-react": "5.1.1",

0 commit comments

Comments
 (0)