Skip to content

Commit

Permalink
Fix indent errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickcr committed Jun 11, 2017
1 parent 32bcb48 commit 7cc380a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/rules/prop-types.js
Expand Up @@ -151,12 +151,12 @@ module.exports = {
return false;
}

/**
* Checks if we are declaring a props as a generic type in a flow-annotated class.
*
* @param {ASTNode} node the AST node being checked.
* @returns {Boolean} True if the node is a class with generic prop types, false if not.
*/
/**
* Checks if we are declaring a props as a generic type in a flow-annotated class.
*
* @param {ASTNode} node the AST node being checked.
* @returns {Boolean} True if the node is a class with generic prop types, false if not.
*/
function isSuperTypeParameterPropsDeclaration(node) {
if (node && node.type === 'ClassDeclaration') {
if (node.superTypeParameters && node.superTypeParameters.params.length >= 2) {
Expand Down

0 comments on commit 7cc380a

Please sign in to comment.