Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing semicolons automatically rather than sass-convert throwing error #115

Open
owenleonard opened this issue Apr 2, 2016 · 0 comments

Comments

@owenleonard
Copy link

I noticed that if there is a semicolon missing, sass-convert throws an error and SassBeautify doesn't complete. Rather than just displaying the error, it would be nice to have SassBeautify add semicolons automatically. Sure, a linter will show you the missing semicolons, but it is so much easier to just have SassBeautify add them for me.

For example, in the following code, lines 2, 4, and 12 are each missing a semicolon and will each cause sass-convert to fail.

// @import '_common';
@import "_colors"

$variable: 35

//TODO: eat pizza
//      and other things

.ClassA,
.ClassB
{
    height: 14px
    font-size: 2em;
    margin: -3px 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant