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
--stdin
Version: 0.45.0
With the following dprint.json:
{ "typescript": { }, "includes": [ "a/**/*.ts" ], "excludes": [ "a/b", "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.88.10.wasm" ] }
And a file a/b/c.ts
a/b/c.ts
Running
dprint fmt a/b/c.ts
errors with no files found which is expected.
However, when running
cat a/b/c.ts | dprint fmt --stdin $(pwd)/a/b/c.ts
dprint will print out a formatted version of the file.
Changing the excludes to a/b/** properly makes the --stdin format print out the file as-is.
a/b/**
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version: 0.45.0
With the following dprint.json:
And a file
a/b/c.ts
Running
errors with no files found which is expected.
However, when running
dprint will print out a formatted version of the file.
Changing the excludes to
a/b/**
properly makes the--stdin
format print out the file as-is.The text was updated successfully, but these errors were encountered: