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.
jsx-indent
1 parent 676fde2 commit 6eceb6bCopy full SHA for 6eceb6b
tests/lib/rules/jsx-indent.js
@@ -1134,6 +1134,14 @@ const Component = () => (
1134
`,
1135
options: [2],
1136
},
1137
+ {
1138
+ code: `
1139
+ const Item = ({ id, name, onSelect }) => <div onClick={onSelect}>
1140
+ {id}: {name}
1141
+ </div>;
1142
+ `,
1143
+ options: [2],
1144
+ },
1145
]),
1146
1147
invalid: parsers.all([
0 commit comments