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
Secretlint has used globby and globby has gitignore option.
It is useful that user can use secretlint --gitignore "**/*" instead of secretlint --secretlintignore .gitignore "**/*".
secretlint --gitignore "**/*"
secretlint --secretlintignore .gitignore "**/*"
If use want to respect gitinore, --gitignore enable this feature.
--gitignore
# respect .secretlintignore and .gitignore $ secretlint --gitignore "**/*"
This feature should be opt-in, as some secrets may already be included under git.
Ref #204 (comment)
secretlint --secretlintignore .gitignore is not intuitive. Also, secretlint --secretlintignore .gitignore disable .secretlintignore secretlint --gitignore respects .gitignore and .secretlintignore.
secretlint --secretlintignore .gitignore
.secretlintignore
secretlint --gitignore
.gitignore
Additionally, gitignore option will cover edge case. It is more safe.
We need to think easy to understand name.
Another option:
globby has ignoreFiles option.
I do not known if the gitignore option respects cascaded .gitignore files.
The text was updated successfully, but these errors were encountered:
📝 I received a message that current secretlint --secretlintignore .gitignore is something wrong. https://twitter.com/takeokunn/status/1581667659329855488 This feature may resolve it.
Sorry, something went wrong.
secretlintignore
gitignore
No branches or pull requests
Summary
Secretlint has used globby and globby has gitignore option.
It is useful that user can use
secretlint --gitignore "**/*"
instead ofsecretlint --secretlintignore .gitignore "**/*"
.Basic example
If use want to respect gitinore,
--gitignore
enable this feature.This feature should be opt-in, as some secrets may already be included under git.
Ref #204 (comment)
Motivation
secretlint --secretlintignore .gitignore
is not intuitive.Also,
secretlint --secretlintignore .gitignore
disable.secretlintignore
secretlint --gitignore
respects.gitignore
and.secretlintignore
.Additionally, gitignore option will cover edge case. It is more safe.
Naming
We need to think easy to understand name.
--gitignore
: Respect.gitignore
fileAnother option:
globby has ignoreFiles option.
Memo
I do not known if the gitignore option respects cascaded
.gitignore
files.The text was updated successfully, but these errors were encountered: