-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
The lint
leading_newlines_in_multiline_strings Start multiline strings with a newline.
tells us to place a new line after '''
const sql = '''select *
from...
''';The fix is easy. Just insert the cursor after the first set of ''' and hit return.
The problem is the resulting indentation is:
const sql = '''
select *
from...
''';Note the two spaces before select.
Instead the indent should place select hard against the left hand border.
const sql = '''
select *
from...
''';The current method results in a changing of the format of the string (it goes from having no leading spaces to having two leading spaces).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.