Skip to content

Add rule: Opening curly brackets should not be followed by a blank line #377

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

Closed
KarolKaczmarek opened this issue Nov 25, 2015 · 4 comments
Closed

Comments

@KarolKaczmarek
Copy link
Contributor

@Jaykul
Copy link
Contributor

Jaykul commented Nov 28, 2015

The majority disagrees with this, based on PoshCode/PowerShellPracticeAndStyle#24

@KirkMunro
Copy link
Contributor

+1 to what @Jaykul said. This is a style preference that cannot be included by default.

The only way any style preferences should be included are as optional rules, where the different options are presented for end users to pick and choose from to form their own style guidelines as a rule set that they choose to run in their environment.

@Jaykul
Copy link
Contributor

Jaykul commented Mar 7, 2016

If you're going to label all of these as "new rule"s that are "up for grabs" (meaning you would accept this rule if it was developed?) do I need to go further into the argument about why this is a bad idea NOW before someone actually spends time implementing this and I have to file bugs to get it removed instead?

@bergmeister
Copy link
Collaborator

This can now be achieved via the optional and configurable rule PlaceOpenBrace. Therefore we can close this issue now.

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

5 participants