question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Double newline between @import statements.

See original GitHub issue

I am using Visual Studio Code version 1.18.1 on Windows 7. In my sass files there is double newline between @import statements.

Before:


@import 'size';
@import 'color';
@import 'footer-vars';

After:

@import 'size';

@import 'color';

@import 'footer-vars';

What can I do in my config to only have one newline between them? It used to be one newline before, but something changed.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jdaltoncommented, May 7, 2019

This is partially fixed. I can patch the lines-between-rulesets option.

0reactions
mfilarcommented, Oct 22, 2019

Hi, any thoughts when this issue will be closed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python PEP8: Blank lines convention
Two blank lines between the import statements and other code. Two blank lines between each function.
Read more >
What's up with the extra newline after from/import? #2543
"In line" imports are considered bad style by most (all?) python communities, but they are sometimes necessary or even beneficial. Black ...
Read more >
PEP 8 – Style Guide for Python Code
An inline comment is a comment on the same line as a statement. Inline comments should be separated by at least two spaces...
Read more >
Google Java Style Guide
If there are both static and non-static imports, a single blank line separates the two blocks. There are no other blank lines between...
Read more >
no-multiple-empty-lines
Note: Although this ensures zero empty lines at the EOF, most editors will still show one empty line at the end if the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found