A secretlint rule that disallow to include user's homedir path.
For example, The user homedir is /Usrs/exampleuser
, then this rule check if /Usrs/exampleuser
is included.
Install with npm:
npm install @secretlint/secretlint-rule-no-homedir
Via .secretlintrc.json
(Recommended)
{
"rules": [
{
"id": "@secretlint/secretlint-rule-no-homedir"
}
]
}
found user's homedir path: {{PATH}}
If it is expected exposed, please ignore it by following way.
.secretlintignore
: ignore specific file
See Releases page.
Install devDependencies and Run npm test
:
npm i -d && npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT © azu