React

If JSX is multiple lines, the parenthesis should be on lines of their own.

Bad

return (<div
  ...
/>);

Good

return (
  <div
    ...
  />
);

results matching ""

    No results matching ""