Closed andreavaccari closed 1 year ago
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
Thank you for fixing this, @dummdidumm
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