From 77f16926334c88724efca1b25ae59ecb02f07edf Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 27 Oct 2020 17:02:25 -1000 Subject: [PATCH] Ignore JSX nodes for "indent" rule Fixes https://github.com/standard/eslint-config-standard/issues/177 Supercedes: https://github.com/standard/eslint-config-standard/pull/178 Thanks @bcomnes! --- eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslintrc.json b/eslintrc.json index a7ddb03d..7d7e2535 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -64,7 +64,7 @@ "ImportDeclaration": 1, "flatTernaryExpressions": false, "ignoreComments": false, - "ignoredNodes": ["TemplateLiteral *"], + "ignoredNodes": ["TemplateLiteral *", "JSXElement", "JSXElement > *", "JSXAttribute", "JSXIdentifier", "JSXNamespacedName", "JSXMemberExpression", "JSXSpreadAttribute", "JSXExpressionContainer", "JSXOpeningElement", "JSXClosingElement", "JSXFragment", "JSXOpeningFragment", "JSXClosingFragment", "JSXText", "JSXEmptyExpression", "JSXSpreadChild"], "offsetTernaryExpressions": true }], "key-spacing": ["error", { "beforeColon": false, "afterColon": true }],