File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"parser": "babel-eslint",
3
+ "plugins": [
4
+ "flowtype"
5
+ ],
3
6
"arrowFunctions": true,
4
7
"blockBindings": true,
5
8
"classes": true,
248
251
],
249
252
"wrap-regex": 0,
250
253
"no-var": 0,
251
- "max-len": [2, 80, 4]
254
+ "max-len": [2, 80, 4],
255
+ "flowtype/define-flow-type": 2,
256
+ "flowtype/space-after-type-colon": [
257
+ 1,
258
+ "always"
259
+ ],
260
+ "flowtype/space-before-type-colon": [
261
+ 2,
262
+ "never"
263
+ ],
264
+ "flowtype/use-flow-type": 2,
265
+ "flowtype/valid-syntax": 2
266
+ },
267
+ "settings": {
268
+ "flowtype": {
269
+ "onlyFilesWithFlowAnnotation": true
270
+ }
252
271
}
253
272
}
Original file line number Diff line number Diff line change 57
57
"chai-as-promised" : " 5.3.0" ,
58
58
"coveralls" : " 2.11.9" ,
59
59
"eslint" : " 2.10.2" ,
60
+ "eslint-plugin-flowtype" : " ^2.11.4" ,
60
61
"flow-bin" : " 0.25.0" ,
61
62
"graphql" : " 0.6.0" ,
62
63
"isparta" : " 4.0.0" ,
You can’t perform that action at this time.
0 commit comments