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 padded blocks #2352

Closed
piotrblasiak opened this issue Jun 29, 2017 · 4 comments
Closed

Add padded blocks #2352

piotrblasiak opened this issue Jun 29, 2017 · 4 comments
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Comments

@piotrblasiak
Copy link

I love prettier so far, but it would make the code much more readable for a lot of people I think if you added the option to get padded blocks (http://eslint.org/docs/rules/padded-blocks).

@vjeux
Copy link
Contributor

vjeux commented Jun 29, 2017

Hey @piotrblasiak, I'm sorry but we're not going to support this style inside of prettier :(

@vjeux vjeux closed this as completed Jun 29, 2017
@azz
Copy link
Member

azz commented Jul 1, 2017

You should be able to use eslint-plugin-prettier and then use eslint --fix to get that style.

@lydell
Copy link
Member

lydell commented Jul 1, 2017

@azz No, that would create conflicts. prettier-eslint is what you need here.

@azz
Copy link
Member

azz commented Jul 1, 2017

Ah of course, I had my wires crossed because my editor "format" binding runs prettier-eslint, not eslint --fix.

@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jul 7, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

4 participants