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

Treat .prettierrc as YAML #11997

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Treat .prettierrc as YAML #11997

merged 1 commit into from
Nov 5, 2024

Conversation

aster-void
Copy link
Contributor

Prettier treats its .prettierrc config file as "JSON or YAML". (https://prettier.io/docs/en/configuration.html)

Because all JSON is valid YAML, it is just YAML. So, Helix should treat it as YAML too.

(not sure what happened at the end of file, it wasn't even formatted well so I had to set-language text to reduce diff)

@archseer archseer merged commit b53dafe into helix-editor:master Nov 5, 2024
6 checks passed
diucicd pushed a commit to diucicd/helix that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants