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
How to add brace-style rules to prettier? #26
Comments
|
There are two ways of using Prettier and ESLint at the same time:
It looks like you are currently using method 1, but actually want method 2. So try out prettier-eslint! |
|
@lydell Thanks for taking the time and effort to respond to my question. I really appreciate it. Things are much more clear from your explanation now thank you so much. 🍰 |
|
Could we see this being added? What solution do other people use for this? Would like to have simple allman case formatting in CSS & Javascript |
|
This is no such option for prettier at all. |
|
any solution? |
|
Hello everyone! Today I released a prettier plugin, maybe this will help. |
|
@ony3000 I was about to write my own plugin, how convenient |
Thanks a lot) |




So I want to use stroustrup for my brace-style, I updated my .eslintrc file as per below but prettier keeps complaining and I can only suppress the prettier/prettier rule in WebStorm.
It keeps complaining about this:
Thanks for reading my question 👍
🍰
The text was updated successfully, but these errors were encountered: