jsx-newline
puts line breaks between comments and new JSX elements
#3478
Labels
jsx-newline
puts line breaks between comments and new JSX elements
#3478
I have the
jsx-newline
rule turned on, which when run with the--fix
option, puts line breaks between any comments (including eslint-disable comments) and JSX elements, thus undoing the whole point of using comments.Let's say I have something like this:
The
jsx-newline
rule puts a line break between the eslint-disable comment and , therefore causing theeslint-disable-{some rule}
to stop working.Can we handle putting line breaks between comments & new JSX elements?
I saw something similar in #2926 (which was closed earlier as completed) but that doesn't work properly as of
v7.31.10
The text was updated successfully, but these errors were encountered: