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
deno lint --permit-no-files
Hi there,
This feature would be great to use together with lint-staged:
{ "lint-staged": { "*": [ + "deno lint --allow-no-files --fix", "deno task --quiet --eval prettier --ignore-unknown --write", "deno task --quiet --eval cspell lint --no-must-find-files" ], "*.md": "deno task --quiet --eval markdownlint-cli2 --fix" } }
Otherwise, I have to pick the specific files that deno lint supports:
deno lint supports
"*.{ts,js,tsx,jsx}": "deno lint --fix",
Which is not too bad, but a bit more cumbersome than otherwise.
The text was updated successfully, but these errors were encountered:
deno lint --allow-no-files
--permit-no-files
Successfully merging a pull request may close this issue.
Hi there,
This feature would be great to use together with lint-staged:
{ "lint-staged": { "*": [ + "deno lint --allow-no-files --fix", "deno task --quiet --eval prettier --ignore-unknown --write", "deno task --quiet --eval cspell lint --no-must-find-files" ], "*.md": "deno task --quiet --eval markdownlint-cli2 --fix" } }
Otherwise, I have to pick the specific files that
deno lint supports
:Which is not too bad, but a bit more cumbersome than otherwise.
The text was updated successfully, but these errors were encountered: