-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis enhancement
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).
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis enhancement