├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .husky ├── pre-commit └── pre-push ├── .npmrc ├── README.md ├── ban.d.ts ├── bin └── ban.js ├── git-deny-patterns.json ├── package.json ├── renovate.json └── src ├── ban-spec.js ├── ban.js ├── check-npmrc-file-spec.js ├── check-npmrc-file.js ├── check-sensitive-files.js ├── collect-files.js ├── re-to-regexp-spec.js ├── re-to-regexp.js ├── rule-to-tester-spec.js ├── rule-to-tester.js ├── rules-spec.js ├── sensitive-files-spec.js └── sensitive-files.js /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/.npmrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/README.md -------------------------------------------------------------------------------- /ban.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/ban.d.ts -------------------------------------------------------------------------------- /bin/ban.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/bin/ban.js -------------------------------------------------------------------------------- /git-deny-patterns.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/git-deny-patterns.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/renovate.json -------------------------------------------------------------------------------- /src/ban-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/ban-spec.js -------------------------------------------------------------------------------- /src/ban.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/ban.js -------------------------------------------------------------------------------- /src/check-npmrc-file-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/check-npmrc-file-spec.js -------------------------------------------------------------------------------- /src/check-npmrc-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/check-npmrc-file.js -------------------------------------------------------------------------------- /src/check-sensitive-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/check-sensitive-files.js -------------------------------------------------------------------------------- /src/collect-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/collect-files.js -------------------------------------------------------------------------------- /src/re-to-regexp-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/re-to-regexp-spec.js -------------------------------------------------------------------------------- /src/re-to-regexp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/re-to-regexp.js -------------------------------------------------------------------------------- /src/rule-to-tester-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/rule-to-tester-spec.js -------------------------------------------------------------------------------- /src/rule-to-tester.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/rule-to-tester.js -------------------------------------------------------------------------------- /src/rules-spec.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sensitive-files-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/sensitive-files-spec.js -------------------------------------------------------------------------------- /src/sensitive-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/ban-sensitive-files/HEAD/src/sensitive-files.js --------------------------------------------------------------------------------