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
requirePragma
Given the file test.svelte:
test.svelte
<script> const foo = "bar"; </script> {foo}
Prettier won't ignore the file even though the pragma is not present:
$ npx prettier --require-pragma --check test.svelte [warn] test.svelte [warn] Code style issues found in the above file. Forgot to run Prettier?
See also: https://prettier.io/docs/en/options.html#require-pragma
The text was updated successfully, but these errors were encountered:
feat: support insert/require pragma options
e7425b9
closes sveltejs#350
6b41b2a
feat: support insert/require pragma options (#354)
2fbd812
closes #350
Thank you for fixing this, @dummdidumm
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Given the file
test.svelte
:Prettier won't ignore the file even though the pragma is not present:
See also: https://prettier.io/docs/en/options.html#require-pragma
The text was updated successfully, but these errors were encountered: