@@ -2961,13 +2961,13 @@ ruleTester.run('prop-types', rule, {
2961
2961
' }' ,
2962
2962
'}'
2963
2963
] . join ( '\n' ) ,
2964
+ settings : { react : { flowVersion : '0.52' } } ,
2964
2965
errors : [ {
2965
2966
message : '\'lastname\' is missing in props validation' ,
2966
2967
line : 6 ,
2967
2968
column : 35 ,
2968
2969
type : 'Identifier'
2969
2970
} ] ,
2970
- settings : { react : { flowVersion : '0.52' } } ,
2971
2971
parser : 'babel-eslint'
2972
2972
} , {
2973
2973
code : [
@@ -3004,13 +3004,13 @@ ruleTester.run('prop-types', rule, {
3004
3004
' }' ,
3005
3005
'}'
3006
3006
] . join ( '\n' ) ,
3007
+ settings : { react : { flowVersion : '0.52' } } ,
3007
3008
errors : [ {
3008
3009
message : '\'lastname\' is missing in props validation' ,
3009
3010
line : 7 ,
3010
3011
column : 7 ,
3011
3012
type : 'Property'
3012
3013
} ] ,
3013
- settings : { react : { flowVersion : '0.52' } } ,
3014
3014
parser : 'babel-eslint'
3015
3015
} , {
3016
3016
code : [
@@ -3037,13 +3037,13 @@ ruleTester.run('prop-types', rule, {
3037
3037
' }' ,
3038
3038
'}'
3039
3039
] . join ( '\n' ) ,
3040
+ settings : { react : { flowVersion : '0.52' } } ,
3040
3041
errors : [ {
3041
3042
message : '\'name.lastname\' is missing in props validation' ,
3042
3043
line : 4 ,
3043
3044
column : 40 ,
3044
3045
type : 'Identifier'
3045
3046
} ] ,
3046
- settings : { react : { flowVersion : '0.52' } } ,
3047
3047
parser : 'babel-eslint'
3048
3048
} , {
3049
3049
code : [
@@ -3070,13 +3070,13 @@ ruleTester.run('prop-types', rule, {
3070
3070
' }' ,
3071
3071
'}'
3072
3072
] . join ( '\n' ) ,
3073
+ settings : { react : { flowVersion : '0.52' } } ,
3073
3074
errors : [ {
3074
3075
message : '\'result.notok\' is missing in props validation' ,
3075
3076
line : 4 ,
3076
3077
column : 42 ,
3077
3078
type : 'Identifier'
3078
3079
} ] ,
3079
- settings : { react : { flowVersion : '0.52' } } ,
3080
3080
parser : 'babel-eslint'
3081
3081
} , {
3082
3082
code : [
@@ -3107,13 +3107,13 @@ ruleTester.run('prop-types', rule, {
3107
3107
' }' ,
3108
3108
'}'
3109
3109
] . join ( '\n' ) ,
3110
+ settings : { react : { flowVersion : '0.52' } } ,
3110
3111
errors : [ {
3111
3112
message : '\'person.lastname\' is missing in props validation' ,
3112
3113
line : 6 ,
3113
3114
column : 42 ,
3114
3115
type : 'Identifier'
3115
3116
} ] ,
3116
- settings : { react : { flowVersion : '0.52' } } ,
3117
3117
parser : 'babel-eslint'
3118
3118
} , {
3119
3119
code : `
@@ -3146,13 +3146,13 @@ ruleTester.run('prop-types', rule, {
3146
3146
}
3147
3147
}
3148
3148
` ,
3149
+ settings : { react : { flowVersion : '0.53' } } ,
3149
3150
errors : [ {
3150
3151
message : '\'bar\' is missing in props validation' ,
3151
3152
line : 8 ,
3152
3153
column : 37 ,
3153
3154
type : 'Identifier'
3154
3155
} ] ,
3155
- settings : { react : { flowVersion : '0.53' } } ,
3156
3156
parser : 'babel-eslint'
3157
3157
} , {
3158
3158
code : `
@@ -3185,13 +3185,13 @@ ruleTester.run('prop-types', rule, {
3185
3185
}
3186
3186
}
3187
3187
` ,
3188
+ settings : { react : { flowVersion : '0.53' } } ,
3188
3189
errors : [ {
3189
3190
message : '\'bar\' is missing in props validation' ,
3190
3191
line : 8 ,
3191
3192
column : 37 ,
3192
3193
type : 'Identifier'
3193
3194
} ] ,
3194
- settings : { react : { flowVersion : '0.53' } } ,
3195
3195
parser : 'babel-eslint'
3196
3196
} , {
3197
3197
code : `
@@ -3222,13 +3222,13 @@ ruleTester.run('prop-types', rule, {
3222
3222
}
3223
3223
}
3224
3224
` ,
3225
+ settings : { react : { flowVersion : '0.53' } } ,
3225
3226
errors : [ {
3226
3227
message : '\'person.lastname\' is missing in props validation' ,
3227
3228
line : 7 ,
3228
3229
column : 50 ,
3229
3230
type : 'Identifier'
3230
3231
} ] ,
3231
- settings : { react : { flowVersion : '0.53' } } ,
3232
3232
parser : 'babel-eslint'
3233
3233
}
3234
3234
]
0 commit comments