akalongman / akalongman/sublimetext-codeformatter

Current build (23/04/2017) breaks scss code.

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

The current build breaks scss code by adding spaces after &:nth-child, but not in case of filter such as &:hover or &:before. Also, it does not format properly curly brackets, with an error di one or more spaces.
What information would you require? (Sublime text 3, build 3126, macOs)

As it should be:
```scss
div{
&: nth-child(odd) {
background-color: red;
}
}
```
As it becomes:
```scss
div{
&: nth-child(odd) {
background-color: red;
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.