Skip to content

Commit 8e29a16

Browse files
committed
[eslint config] [base] [fix] ensure all JSX elements are ignored by indent
Fixes airbnb#1569.
1 parent 2380c0d commit 8e29a16

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ module.exports = {
119119
ObjectExpression: 1,
120120
ImportDeclaration: 1,
121121
flatTernaryExpressions: false,
122-
ignoredNodes: ['JSXElement *']
122+
ignoredNodes: ['JSXElement', 'JSXElement *']
123123
}],
124124

125125
// specify whether double or single quotes should be used in JSX attributes

0 commit comments

Comments
 (0)