From 1a7ea8c214af4f321a476df6db45114fc14ecdd9 Mon Sep 17 00:00:00 2001 From: Patrick Jungermann Date: Tue, 16 Apr 2024 05:03:09 +0200 Subject: [PATCH] fix: remove `TEMPLATES/.secretlintignore` (#3476) --- CHANGELOG.md | 1 + TEMPLATES/.secretlintignore | 1 - docs/descriptors/repository_secretlint.md | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 TEMPLATES/.secretlintignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 147058a5895..ed87f8f92be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - Salesforce linters: use sf + default Flow Scanner rules - Disable JSON_ESLINT_PLUGIN_JSONC until is fixed - Upgrade tar in mega-linter-runner + - secretlint: remove default `.secretlintignore` that was never used but `.gitignore` is used instead. Fixes [#3328](https://github.com/oxsecurity/megalinter/issues/3328) - Doc - Update R2DevOps logo diff --git a/TEMPLATES/.secretlintignore b/TEMPLATES/.secretlintignore deleted file mode 100644 index b3a9c9d0273..00000000000 --- a/TEMPLATES/.secretlintignore +++ /dev/null @@ -1 +0,0 @@ -megalinter-reports diff --git a/docs/descriptors/repository_secretlint.md b/docs/descriptors/repository_secretlint.md index 90502153655..d6616f03447 100644 --- a/docs/descriptors/repository_secretlint.md +++ b/docs/descriptors/repository_secretlint.md @@ -20,7 +20,7 @@ description: How to use secretlint (configure, ignore files, ignore errors, help - See [How to configure secretlint rules](https://github.com/secretlint/secretlint#configuration){target=_blank} - If custom `.secretlintrc.json` config file isn't found, [.secretlintrc.json](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.secretlintrc.json){target=_blank} will be used - See [How to ignore files and directories with secretlint](https://github.com/secretlint/secretlint/blob/master/docs/configuration.md#secretlintignore){target=_blank} - - If custom `.secretlintignore` ignore file is not found, [.secretlintignore](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.secretlintignore){target=_blank} will be used + - You can define a `.secretlintignore` file to ignore files and folders - See [Index of problems detected by secretlint](https://github.com/secretlint/secretlint#rule-packages){target=_blank} [![secretlint - GitHub](https://gh-card.dev/repos/secretlint/secretlint.svg?fullname=)](https://github.com/secretlint/secretlint){target=_blank}