mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[question] Why not .prettierignore? #597
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Elllone on GitHub (Oct 31, 2024).
The repository specifies the editor.formatOnSave setting for VS Code, which formats the code upon saving.
When modifying docker-compose-*.yml files, double quotes are formatted into single quotes.
However, I noticed that in the repository, they are reverted back to single quotes.
Why not add a .prettierignore file to prevent these files from being formatted?
@meltyshev commented on GitHub (Oct 31, 2024):
Hi! I think this might be due to a global VS Code setting, such as having
editor.defaultFormatterset toprettierglobally. Adding a.prettierignorewill solve the issue for you, though others might use different formatters and we can't add ignore files for each one. There may be a way to disable any global formatter per project by settingeditor.defaultFormattertofalsein.vscode/settings.json, but need to try how it works.@Elllone commented on GitHub (Oct 31, 2024):
Hi! Thanks for answer!