@@ -260,7 +260,7 @@ module.exports = {
260260 }
261261
262262 const annotationTypeArguments = propsUtil . getTypeArguments (
263- component . node . parent . id . typeAnnotation . typeAnnotation
263+ component . node . parent . id . typeAnnotation . typeAnnotation ,
264264 ) ;
265265 if (
266266 annotationTypeArguments && (
@@ -269,7 +269,7 @@ module.exports = {
269269 )
270270 ) {
271271 return annotationTypeArguments . params . find (
272- ( param ) => param . type === 'TSTypeReference' || param . type === 'GenericTypeAnnotation'
272+ ( param ) => param . type === 'TSTypeReference' || param . type === 'GenericTypeAnnotation' ,
273273 ) ;
274274 }
275275 }
@@ -278,7 +278,7 @@ module.exports = {
278278 if ( node . type === 'TSTypeLiteral' || node . type === 'ObjectTypeAnnotation' || node . type === 'TSInterfaceBody' ) {
279279 const currentNode = [ ] . concat (
280280 objectTypeAnnotations . get ( identifier . name ) || [ ] ,
281- node
281+ node ,
282282 ) ;
283283 objectTypeAnnotations . set ( identifier . name , currentNode ) ;
284284 } else if (
@@ -317,7 +317,7 @@ module.exports = {
317317 && astUtil . isCallExpression ( node . value )
318318 && propWrapperUtil . isPropWrapperFunction (
319319 context ,
320- getText ( context , node . value . callee )
320+ getText ( context , node . value . callee ) ,
321321 )
322322 ) {
323323 checkPropWrapperArguments ( node , node . value . arguments ) ;
@@ -343,7 +343,7 @@ module.exports = {
343343 astUtil . isCallExpression ( right )
344344 && propWrapperUtil . isPropWrapperFunction (
345345 context ,
346- getText ( context , right . callee )
346+ getText ( context , right . callee ) ,
347347 )
348348 ) {
349349 checkPropWrapperArguments ( component . node , right . arguments ) ;
@@ -407,7 +407,7 @@ module.exports = {
407407 [ ] . concat ( propType ) . filter ( Boolean ) . forEach ( ( prop ) => {
408408 validatePropNaming (
409409 component . node ,
410- prop . properties || prop . members || prop . body
410+ prop . properties || prop . members || prop . body ,
411411 ) ;
412412 } ) ;
413413 }
0 commit comments