-
Notifications
You must be signed in to change notification settings - Fork 4
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
Prettier reindenting json
code blocks in .md
files to 4 spaces.
#62
Comments
This is unavoidable due to prettier/prettier#5378 |
@surol I don't think this issue can be closed in its current state. Either we should just let Prettier format |
Also, the npm script is not working properly. You should either fix it or remove it. |
There is no perfect solution for this. Prettier is better to have, sometimes. E.g. I had to reformat the README file with Prettier, as you requested. Still, it is clean that Prettier is not a good thing everywhere. |
So what solution do you propose? |
Leave it be. Just ignore Prettier. |
Just to confirm: Are you saying not using Prettier to format these markdown files is the solution? |
Yes, don't use Prettier for formatting. You were right about it. It brings more problems than solves. |
Alright. I'll update |
How do you feel about removing that npm script? I feel like removing that script is the right decision. |
Alright, you can remove it. But don't remove the devDependency. It could be useful. Occasionally. |
Found this out after changing Prettier
format
script inpackage.json
to properly include all.md
files in subdirectories.Before:
After:
Before:
After:
Clearly, this is unwanted. Not submitting formatted files in pull request because of this issue.
The text was updated successfully, but these errors were encountered: