Skip to content

Add an option to enforce curly brackets #7659

@titoBouzout

Description

@titoBouzout

I find myself constantly adding curly brackets for one liners....

I find this a lot harder to read
https://s.draw.uy/565a16c498.png

than this
https://s.draw.uy/1c8c25a6dc.png

Can we have an option to enforce curly brackets?

Reasoning is simple: curly brackets can only be avoided in a "one-liner", so people that like them they just can enable force it and thats it

Well, thats my try :P

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:javascriptIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.type:questionQuestions and support requests. Please use Stack Overflow for them, not the issue tracker.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions