We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb039b8 commit 04f3b9fCopy full SHA for 04f3b9f
lib/rules/jsx-wrap-multilines.js
@@ -133,6 +133,21 @@ module.exports = {
133
check(arrowBody);
134
}
135
136
+
137
+ ConditionalExpression: function(node) {
138
+ check(node.consequent);
139
+ check(node.alternate);
140
+ },
141
142
+ LogicalExpression: function(node) {
143
+ check(node.right);
144
145
146
+ JSXAttribute: function (node) {
147
+ if (node.value && node.value.type === 'JSXExpressionContainer') {
148
+ check(node.value.expression);
149
+ }
150
151
};
152
153
0 commit comments