`"space-before-combinator": 1` disturb indentation rule...
See original GitHub issueHi I want to add a space before combinator, but I want reshape that new line first-letter is not space. When line break is applied by csscomb, the setting “space-before-combinator: 1” is applied to the new line (first letter is combinator) as well, so the indentation does not become what I intended.
Is there a way to solve this issue?
Example:
Default
.foo {
> .foo {
prop: val;
}
}
After using CSSComb:
Actual result 1(bad):
space-before-combinator:" ",
Actual result 2(bad):
space-before-combinator:"",
The result I am expecting to get(Good):
space-before-combinator:" ",
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Indent Your Code | Introduction to Computer Science
Basically, the general rule for indenting is that code between curly brackets ... you will indent one time for each set of brackets...
Read more >HTML Indentation and Spacing - LearnHowToProgram.com
As we see here, when an HTML tag is nested inside another HTML tag, it's indented. There is one exception: we didn't indent...
Read more >indent - Rule
Rule : indent. Enforces indentation with tabs or spaces. Rationale. Using only one of tabs or spaces for indentation leads to more consistent...
Read more >indent(1) - Linux manual page - man7.org
In the first form, one or more input files are specified. indent makes a backup copy of each file, and the original file...
Read more >New rule proposal: Indent by one · Issue #1029 - GitHub
Description: The indentation of a line of code should never be indented by more than four spaces relative to the preceding line. Rationale:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bump
Fixed with #599.