@@ -2961,13 +2961,13 @@ ruleTester.run('prop-types', rule, {
29612961 ' }' ,
29622962 '}'
29632963 ] . join ( '\n' ) ,
2964+ settings : { react : { flowVersion : '0.52' } } ,
29642965 errors : [ {
29652966 message : '\'lastname\' is missing in props validation' ,
29662967 line : 6 ,
29672968 column : 35 ,
29682969 type : 'Identifier'
29692970 } ] ,
2970- settings : { react : { flowVersion : '0.52' } } ,
29712971 parser : 'babel-eslint'
29722972 } , {
29732973 code : [
@@ -3004,13 +3004,13 @@ ruleTester.run('prop-types', rule, {
30043004 ' }' ,
30053005 '}'
30063006 ] . join ( '\n' ) ,
3007+ settings : { react : { flowVersion : '0.52' } } ,
30073008 errors : [ {
30083009 message : '\'lastname\' is missing in props validation' ,
30093010 line : 7 ,
30103011 column : 7 ,
30113012 type : 'Property'
30123013 } ] ,
3013- settings : { react : { flowVersion : '0.52' } } ,
30143014 parser : 'babel-eslint'
30153015 } , {
30163016 code : [
@@ -3037,13 +3037,13 @@ ruleTester.run('prop-types', rule, {
30373037 ' }' ,
30383038 '}'
30393039 ] . join ( '\n' ) ,
3040+ settings : { react : { flowVersion : '0.52' } } ,
30403041 errors : [ {
30413042 message : '\'name.lastname\' is missing in props validation' ,
30423043 line : 4 ,
30433044 column : 40 ,
30443045 type : 'Identifier'
30453046 } ] ,
3046- settings : { react : { flowVersion : '0.52' } } ,
30473047 parser : 'babel-eslint'
30483048 } , {
30493049 code : [
@@ -3070,13 +3070,13 @@ ruleTester.run('prop-types', rule, {
30703070 ' }' ,
30713071 '}'
30723072 ] . join ( '\n' ) ,
3073+ settings : { react : { flowVersion : '0.52' } } ,
30733074 errors : [ {
30743075 message : '\'result.notok\' is missing in props validation' ,
30753076 line : 4 ,
30763077 column : 42 ,
30773078 type : 'Identifier'
30783079 } ] ,
3079- settings : { react : { flowVersion : '0.52' } } ,
30803080 parser : 'babel-eslint'
30813081 } , {
30823082 code : [
@@ -3107,13 +3107,13 @@ ruleTester.run('prop-types', rule, {
31073107 ' }' ,
31083108 '}'
31093109 ] . join ( '\n' ) ,
3110+ settings : { react : { flowVersion : '0.52' } } ,
31103111 errors : [ {
31113112 message : '\'person.lastname\' is missing in props validation' ,
31123113 line : 6 ,
31133114 column : 42 ,
31143115 type : 'Identifier'
31153116 } ] ,
3116- settings : { react : { flowVersion : '0.52' } } ,
31173117 parser : 'babel-eslint'
31183118 } , {
31193119 code : `
@@ -3146,13 +3146,13 @@ ruleTester.run('prop-types', rule, {
31463146 }
31473147 }
31483148 ` ,
3149+ settings : { react : { flowVersion : '0.53' } } ,
31493150 errors : [ {
31503151 message : '\'bar\' is missing in props validation' ,
31513152 line : 8 ,
31523153 column : 37 ,
31533154 type : 'Identifier'
31543155 } ] ,
3155- settings : { react : { flowVersion : '0.53' } } ,
31563156 parser : 'babel-eslint'
31573157 } , {
31583158 code : `
@@ -3185,13 +3185,13 @@ ruleTester.run('prop-types', rule, {
31853185 }
31863186 }
31873187 ` ,
3188+ settings : { react : { flowVersion : '0.53' } } ,
31883189 errors : [ {
31893190 message : '\'bar\' is missing in props validation' ,
31903191 line : 8 ,
31913192 column : 37 ,
31923193 type : 'Identifier'
31933194 } ] ,
3194- settings : { react : { flowVersion : '0.53' } } ,
31953195 parser : 'babel-eslint'
31963196 } , {
31973197 code : `
@@ -3222,13 +3222,13 @@ ruleTester.run('prop-types', rule, {
32223222 }
32233223 }
32243224 ` ,
3225+ settings : { react : { flowVersion : '0.53' } } ,
32253226 errors : [ {
32263227 message : '\'person.lastname\' is missing in props validation' ,
32273228 line : 7 ,
32283229 column : 50 ,
32293230 type : 'Identifier'
32303231 } ] ,
3231- settings : { react : { flowVersion : '0.53' } } ,
32323232 parser : 'babel-eslint'
32333233 }
32343234 ]
0 commit comments