Skip to content

Commit

Permalink
Fix indent errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickcr committed May 20, 2017
1 parent f0dcaca commit 2d8d619
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/rules/display-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ module.exports = {
)
);
var namedObjectDeclaration = (
node.type === 'ObjectExpression' &&
node.parent &&
node.parent.parent &&
node.parent.parent.type === 'VariableDeclarator'
node.type === 'ObjectExpression' &&
node.parent &&
node.parent.parent &&
node.parent.parent.type === 'VariableDeclarator'
);
var namedClass = (
(node.type === 'ClassDeclaration' || node.type === 'ClassExpression') &&
Expand Down

0 comments on commit 2d8d619

Please sign in to comment.