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 brace_style option for CSS #1259

Closed
Hirse opened this issue Sep 25, 2017 · 0 comments
Closed

Add brace_style option for CSS #1259

Hirse opened this issue Sep 25, 2017 · 0 comments

Comments

@Hirse
Copy link
Contributor

Hirse commented Sep 25, 2017

Description

Based on this Stackoverflow question and answer there seems to be a desire to configure the brace style for CSS in order to have opening braces on a new line.

Input

The code looked like this before beautification:

#icon {
    background-color: blue;
}

Expected Output

The code should have looked like this after beautification:

#icon
{
    background-color: blue;
}

Actual Output

The code actually looked like this after beautification:

#icon {
    background-color: blue;
}

Settings

{
    "brace_style": "expand"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants