js-stack-from-scratch icon indicating copy to clipboard operation
js-stack-from-scratch copied to clipboard

Missing parentheses around multiline JSX (react/jsx-wrap-multilines)

Open lavebug opened this issue 7 years ago • 3 comments

Type of issue: feature suggestion

Chapter: 04 - Webpack, React, and Hot Module Replacement (Very End of it)

If it's a bug:

In src/client/index.jsx

screen shot 2017-05-23 at 10 48 47 am

lavebug avatar May 23 '17 16:05 lavebug

I can confirm the problem. Only styling though.

NicolasWebDev avatar Sep 03 '17 23:09 NicolasWebDev

Stumbled over this as well. Alternatively declaring it as a concious style choice with /* eslint-disable react/jsx-wrap-multilines */, either at the top of the file or before the offending line, works too

IsoLinearCHiP avatar Sep 20 '17 02:09 IsoLinearCHiP

I fixed this by adding the following to my .eslintrc.json: "rules": { "react/jsx-wrap-multilines": false, ... }

dougkulak avatar Aug 10 '18 07:08 dougkulak