@@ -151,9 +151,6 @@ To enable this configuration use the extends property in your `.eslintrc` config
151
151
{
152
152
"extends" : [
153
153
" plugin:flowtype/recommended"
154
- ],
155
- "plugins" : [
156
- " flowtype"
157
154
]
158
155
}
159
156
```
@@ -2436,7 +2433,7 @@ type FooType = { a: number, c: number, b: string }
2436
2433
c: number,
2437
2434
b: string,
2438
2435
}
2439
-
2436
+
2440
2437
// Message: Expected type annotations to be in ascending order. "b" should be before "c".
2441
2438
2442
2439
@@ -2445,7 +2442,7 @@ type FooType = { a: number, c: number, b: string }
2445
2442
c: number,
2446
2443
b: string,
2447
2444
}
2448
-
2445
+
2449
2446
// Message: Expected type annotations to be in ascending order. "b" should be before "c".
2450
2447
2451
2448
@@ -2454,7 +2451,7 @@ type FooType = { a: number, c: number, b: string }
2454
2451
c: number,
2455
2452
b: string,
2456
2453
}
2457
-
2454
+
2458
2455
// Message: Expected type annotations to be in ascending order. "b" should be before "c".
2459
2456
2460
2457
@@ -2463,7 +2460,7 @@ type FooType = { a: number, c: number, b: string }
2463
2460
c: ?number,
2464
2461
b: string,
2465
2462
}
2466
-
2463
+
2467
2464
// Message: Expected type annotations to be in ascending order. "b" should be before "c".
2468
2465
2469
2466
@@ -2472,7 +2469,7 @@ type FooType = { a: number, c: number, b: string }
2472
2469
c: number,
2473
2470
b: (param: string) => number,
2474
2471
}
2475
-
2472
+
2476
2473
// Message: Expected type annotations to be in ascending order. "b" should be before "c".
2477
2474
2478
2475
@@ -2481,7 +2478,7 @@ type FooType = { a: number, c: number, b: string }
2481
2478
c: number,
2482
2479
b: (param: string) => number,
2483
2480
}
2484
-
2481
+
2485
2482
// Message: Expected type annotations to be in ascending order. "b" should be before "c".
2486
2483
2487
2484
@@ -2490,7 +2487,7 @@ type FooType = { a: number, c: number, b: string }
2490
2487
a: number | string | boolean,
2491
2488
b: (param: string) => number,
2492
2489
}
2493
-
2490
+
2494
2491
// Message: Expected type annotations to be in ascending order. "a" should be before "c".
2495
2492
2496
2493
@@ -2503,7 +2500,7 @@ type FooType = { a: number, c: number, b: string }
2503
2500
a: number | string | boolean,
2504
2501
b: (param: string) => number,
2505
2502
}
2506
-
2503
+
2507
2504
// Message: Expected type annotations to be in ascending order. "x" should be before "z".
2508
2505
// Message: Expected type annotations to be in ascending order. "a" should be before "c".
2509
2506
@@ -2521,7 +2518,7 @@ type FooType = { a: number, c: number, b: string }
2521
2518
a: number | string | boolean,
2522
2519
b: (param: string) => number,
2523
2520
}
2524
-
2521
+
2525
2522
// Message: Expected type annotations to be in ascending order. "k" should be before "l".
2526
2523
// Message: Expected type annotations to be in ascending order. "x" should be before "z".
2527
2524
// Message: Expected type annotations to be in ascending order. "a" should be before "c".
@@ -2647,7 +2644,7 @@ The following patterns are considered problems:
2647
2644
{ a: string, b: number }) => {}
2648
2645
// Message: There must not be a line break after "foo" parameter type annotation colon.
2649
2646
2650
- (foo:
2647
+ (foo:
2651
2648
{ a: string, b: number }) => {}
2652
2649
// Message: There must not be a line break after "foo" parameter type annotation colon.
2653
2650
@@ -3023,7 +3020,7 @@ The following patterns are not considered problems:
3023
3020
{ a: string, b: number }) => {}
3024
3021
3025
3022
// Options: ["always",{"allowLineBreak":true}]
3026
- (foo:
3023
+ (foo:
3027
3024
{ a: string, b: number }) => {}
3028
3025
3029
3026
// Options: ["never"]
@@ -4128,4 +4125,3 @@ function x<Y: A.B.C>(i: Y) { i }; type A = {}; x()
4128
4125
**Deprecated** Babylon (the Babel parser) v6.10.0 fixes parsing of the invalid syntax this plugin warned against.
4129
4126
4130
4127
Checks for simple Flow syntax errors.
4131
-
0 commit comments