We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I like prettier and i want to use it not only with ".html" but also with ".webc". But now I have this problem:
My versions of devDependencies:
"@11ty/eleventy": "2.0.1", "@11ty/eleventy-plugin-webc": "0.11.1", "prettier": "2.5.1"
My .prettierrc.json:
{ "overrides": [ { "files": "*.webc", "options": { "parser": "html" } } ] }
Can I solve this problem?
The text was updated successfully, but these errors were encountered:
I know this isn't a direct solution to your problem, but, if you happen to use VSCode...
Try adding:
"files.associations": { "*.webc": "html" }
To your .vscode/settings.json (or wherever you store your config!)
.vscode/settings.json
This should hopefully make Prettier play nicely with .webc files.
.webc
I imagine a similar approach may work for other editors, but I couldn't say for sure!
Sorry, something went wrong.
No branches or pull requests
Hello, I like prettier and i want to use it not only with ".html" but also with ".webc".
But now I have this problem:
My versions of devDependencies:
My .prettierrc.json:
Can I solve this problem?
The text was updated successfully, but these errors were encountered: