Skip to content

Commit

Permalink
Add disabled linter badge
Browse files Browse the repository at this point in the history
  • Loading branch information
bdovaz committed Jan 10, 2025
1 parent 4c2b4d4 commit a97508a
Show file tree
Hide file tree
Showing 18 changed files with 137 additions and 133 deletions.
4 changes: 4 additions & 0 deletions .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3106,6 +3106,10 @@ def get_badges(
badges = []
repo = get_github_repo(linter)

if (hasattr(linter, "get") and linter.get("disabled") is True) or (
hasattr(linter, "disabled") and linter.disabled is True
):
badges += ["![disabled](https://shields.io/badge/-disabled-orange)"]
if (hasattr(linter, "get") and linter.get("deprecated") is True) or (
hasattr(linter, "deprecated") and linter.deprecated is True
):
Expand Down
52 changes: 26 additions & 26 deletions README.md

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/descriptors/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ description: jsonlint, eslint-plugin-jsonc, v8r, prettier, npm-package-json-lint

## Linters

| Linter | Additional |
|------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**jsonlint**](json_jsonlint.md)<br/>[_JSON_JSONLINT_](json_jsonlint.md) | [![GitHub stars](https://img.shields.io/github/stars/prantlf/jsonlint?cacheSeconds=3600)](https://github.com/prantlf/jsonlint) |
| [**eslint-plugin-jsonc**](json_eslint_plugin_jsonc.md)<br/>[_JSON_ESLINT_PLUGIN_JSONC_](json_eslint_plugin_jsonc.md) | [![GitHub stars](https://img.shields.io/github/stars/ota-meshi/eslint-plugin-jsonc?cacheSeconds=3600)](https://github.com/ota-meshi/eslint-plugin-jsonc) ![autofix](https://shields.io/badge/-autofix-green) ![sarif](https://shields.io/badge/-SARIF-orange) |
| [**v8r**](json_v8r.md)<br/>[_JSON_V8R_](json_v8r.md) | [![GitHub stars](https://img.shields.io/github/stars/chris48s/v8r?cacheSeconds=3600)](https://github.com/chris48s/v8r) |
| [**prettier**](json_prettier.md)<br/>[_JSON_PRETTIER_](json_prettier.md) | [![GitHub stars](https://img.shields.io/github/stars/prettier/prettier?cacheSeconds=3600)](https://github.com/prettier/prettier) ![formatter](https://shields.io/badge/-format-yellow) |
| [**npm-package-json-lint**](json_npm_package_json_lint.md)<br/>[_JSON_NPM_PACKAGE_JSON_LINT_](json_npm_package_json_lint.md) | [![GitHub stars](https://img.shields.io/github/stars/tclindner/npm-package-json-lint?cacheSeconds=3600)](https://github.com/tclindner/npm-package-json-lint) |
| Linter | Additional |
|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**jsonlint**](json_jsonlint.md)<br/>[_JSON_JSONLINT_](json_jsonlint.md) | [![GitHub stars](https://img.shields.io/github/stars/prantlf/jsonlint?cacheSeconds=3600)](https://github.com/prantlf/jsonlint) |
| [**eslint-plugin-jsonc**](json_eslint_plugin_jsonc.md)<br/>[_JSON_ESLINT_PLUGIN_JSONC_](json_eslint_plugin_jsonc.md) | ![disabled](https://shields.io/badge/-disabled-orange) [![GitHub stars](https://img.shields.io/github/stars/ota-meshi/eslint-plugin-jsonc?cacheSeconds=3600)](https://github.com/ota-meshi/eslint-plugin-jsonc) ![autofix](https://shields.io/badge/-autofix-green) ![sarif](https://shields.io/badge/-SARIF-orange) |
| [**v8r**](json_v8r.md)<br/>[_JSON_V8R_](json_v8r.md) | [![GitHub stars](https://img.shields.io/github/stars/chris48s/v8r?cacheSeconds=3600)](https://github.com/chris48s/v8r) |
| [**prettier**](json_prettier.md)<br/>[_JSON_PRETTIER_](json_prettier.md) | [![GitHub stars](https://img.shields.io/github/stars/prettier/prettier?cacheSeconds=3600)](https://github.com/prettier/prettier) ![formatter](https://shields.io/badge/-format-yellow) |
| [**npm-package-json-lint**](json_npm_package_json_lint.md)<br/>[_JSON_NPM_PACKAGE_JSON_LINT_](json_npm_package_json_lint.md) | [![GitHub stars](https://img.shields.io/github/stars/tclindner/npm-package-json-lint?cacheSeconds=3600)](https://github.com/tclindner/npm-package-json-lint) |

## Linted files

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/json_eslint_plugin_jsonc.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ description: How to use eslint-plugin-jsonc (configure, ignore files, ignore err
</a>
</div>

[![GitHub stars](https://img.shields.io/github/stars/ota-meshi/eslint-plugin-jsonc?cacheSeconds=3600)](https://github.com/ota-meshi/eslint-plugin-jsonc) ![autofix](https://shields.io/badge/-autofix-green) ![sarif](https://shields.io/badge/-SARIF-orange) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/ota-meshi/eslint-plugin-jsonc?sort=semver)](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) [![GitHub last commit](https://img.shields.io/github/last-commit/ota-meshi/eslint-plugin-jsonc)](https://github.com/ota-meshi/eslint-plugin-jsonc/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/ota-meshi/eslint-plugin-jsonc)](https://github.com/ota-meshi/eslint-plugin-jsonc/graphs/commit-activity/) [![GitHub contributors](https://img.shields.io/github/contributors/ota-meshi/eslint-plugin-jsonc)](https://github.com/ota-meshi/eslint-plugin-jsonc/graphs/contributors/)
![disabled](https://shields.io/badge/-disabled-orange) [![GitHub stars](https://img.shields.io/github/stars/ota-meshi/eslint-plugin-jsonc?cacheSeconds=3600)](https://github.com/ota-meshi/eslint-plugin-jsonc) ![autofix](https://shields.io/badge/-autofix-green) ![sarif](https://shields.io/badge/-SARIF-orange) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/ota-meshi/eslint-plugin-jsonc?sort=semver)](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) [![GitHub last commit](https://img.shields.io/github/last-commit/ota-meshi/eslint-plugin-jsonc)](https://github.com/ota-meshi/eslint-plugin-jsonc/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/ota-meshi/eslint-plugin-jsonc)](https://github.com/ota-meshi/eslint-plugin-jsonc/graphs/commit-activity/) [![GitHub contributors](https://img.shields.io/github/contributors/ota-meshi/eslint-plugin-jsonc)](https://github.com/ota-meshi/eslint-plugin-jsonc/graphs/contributors/)

_This linter has been disabled in this version_

_Disabled reason: Bug in eslint-plugin-jsonc: <https://github.com/ota-meshi/eslint-plugin-jsonc/issues/328>_
_Disabled reason: Bug in eslint-plugin-jsonc: https://github.com/ota-meshi/eslint-plugin-jsonc/issues/328_

**eslint-plugin-jsonc** uses eslint to lint [**json**](https://www.json.org/), [**jsonc**](https://github.com/microsoft/node-jsonc-parser) and [**json5**](https://json5.org/) (extended JSON with comments & more).

Expand Down
6 changes: 3 additions & 3 deletions docs/descriptors/makefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ description: checkmake is available to analyze MAKEFILE files in MegaLinter

## Linters

| Linter | Additional |
|------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| [**checkmake**](makefile_checkmake.md)<br/>[_MAKEFILE_CHECKMAKE_](makefile_checkmake.md) | [![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake) |
| Linter | Additional |
|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**checkmake**](makefile_checkmake.md)<br/>[_MAKEFILE_CHECKMAKE_](makefile_checkmake.md) | ![disabled](https://shields.io/badge/-disabled-orange) [![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake) |

## Linted files

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/makefile_checkmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ description: How to use checkmake (configure, ignore files, ignore errors, help
<!-- markdownlint-disable MD033 MD041 -->
<!-- @generated by .automation/build.py, please don't update manually -->
# checkmake
[![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/mrtazz/checkmake?sort=semver)](https://github.com/mrtazz/checkmake/releases) [![GitHub last commit](https://img.shields.io/github/last-commit/mrtazz/checkmake)](https://github.com/mrtazz/checkmake/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/mrtazz/checkmake)](https://github.com/mrtazz/checkmake/graphs/commit-activity/) [![GitHub contributors](https://img.shields.io/github/contributors/mrtazz/checkmake)](https://github.com/mrtazz/checkmake/graphs/contributors/)
![disabled](https://shields.io/badge/-disabled-orange) [![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/mrtazz/checkmake?sort=semver)](https://github.com/mrtazz/checkmake/releases) [![GitHub last commit](https://img.shields.io/github/last-commit/mrtazz/checkmake)](https://github.com/mrtazz/checkmake/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/mrtazz/checkmake)](https://github.com/mrtazz/checkmake/graphs/commit-activity/) [![GitHub contributors](https://img.shields.io/github/contributors/mrtazz/checkmake)](https://github.com/mrtazz/checkmake/graphs/contributors/)

_This linter has been disabled in this version_

_Disabled reason: Security issues: <https://github.com/mrtazz/checkmake/issues/99>_
_Disabled reason: Security issues: https://github.com/mrtazz/checkmake/issues/99_

## checkmake documentation

Expand Down
12 changes: 6 additions & 6 deletions docs/descriptors/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ description: markdownlint, remark-lint, markdown-link-check, markdown-table-form

## Linters

| Linter | Additional |
|------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**markdownlint**](markdown_markdownlint.md)<br/>[_MARKDOWN_MARKDOWNLINT_](markdown_markdownlint.md) | [![GitHub stars](https://img.shields.io/github/stars/DavidAnson/markdownlint?cacheSeconds=3600)](https://github.com/DavidAnson/markdownlint) ![formatter](https://shields.io/badge/-format-yellow) |
| [**remark-lint**](markdown_remark_lint.md)<br/>[_MARKDOWN_REMARK_LINT_](markdown_remark_lint.md) | [![GitHub stars](https://img.shields.io/github/stars/remarkjs/remark-lint?cacheSeconds=3600)](https://github.com/remarkjs/remark-lint) ![formatter](https://shields.io/badge/-format-yellow) |
| [**markdown-link-check**](markdown_markdown_link_check.md)<br/>[_MARKDOWN_MARKDOWN_LINK_CHECK_](markdown_markdown_link_check.md) | [![GitHub stars](https://img.shields.io/github/stars/tcort/markdown-link-check?cacheSeconds=3600)](https://github.com/tcort/markdown-link-check) |
| [**markdown-table-formatter**](markdown_markdown_table_formatter.md)<br/>[_MARKDOWN_MARKDOWN_TABLE_FORMATTER_](markdown_markdown_table_formatter.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/markdown-table-formatter?cacheSeconds=3600)](https://github.com/nvuillam/markdown-table-formatter) ![formatter](https://shields.io/badge/-format-yellow) |
| Linter | Additional |
|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**markdownlint**](markdown_markdownlint.md)<br/>[_MARKDOWN_MARKDOWNLINT_](markdown_markdownlint.md) | [![GitHub stars](https://img.shields.io/github/stars/DavidAnson/markdownlint?cacheSeconds=3600)](https://github.com/DavidAnson/markdownlint) ![formatter](https://shields.io/badge/-format-yellow) |
| [**remark-lint**](markdown_remark_lint.md)<br/>[_MARKDOWN_REMARK_LINT_](markdown_remark_lint.md) | ![disabled](https://shields.io/badge/-disabled-orange) [![GitHub stars](https://img.shields.io/github/stars/remarkjs/remark-lint?cacheSeconds=3600)](https://github.com/remarkjs/remark-lint) ![formatter](https://shields.io/badge/-format-yellow) |
| [**markdown-link-check**](markdown_markdown_link_check.md)<br/>[_MARKDOWN_MARKDOWN_LINK_CHECK_](markdown_markdown_link_check.md) | [![GitHub stars](https://img.shields.io/github/stars/tcort/markdown-link-check?cacheSeconds=3600)](https://github.com/tcort/markdown-link-check) |
| [**markdown-table-formatter**](markdown_markdown_table_formatter.md)<br/>[_MARKDOWN_MARKDOWN_TABLE_FORMATTER_](markdown_markdown_table_formatter.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/markdown-table-formatter?cacheSeconds=3600)](https://github.com/nvuillam/markdown-table-formatter) ![formatter](https://shields.io/badge/-format-yellow) |

## Linted files

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/markdown_remark_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ description: How to use remark-lint (configure, ignore files, ignore errors, hel
<!-- markdownlint-disable MD033 MD041 -->
<!-- @generated by .automation/build.py, please don't update manually -->
# <a href="https://remark.js.org/" target="blank" title="Visit linter Web Site"><img src="https://raw.githubusercontent.com/remarkjs/remark-lint/02295bc/logo.svg?sanitize=true" alt="remark-lint" height="100px" class="megalinter-logo"></a>remark-lint
[![GitHub stars](https://img.shields.io/github/stars/remarkjs/remark-lint?cacheSeconds=3600)](https://github.com/remarkjs/remark-lint) ![formatter](https://shields.io/badge/-format-yellow) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/remarkjs/remark-lint?sort=semver)](https://github.com/remarkjs/remark-lint/releases) [![GitHub last commit](https://img.shields.io/github/last-commit/remarkjs/remark-lint)](https://github.com/remarkjs/remark-lint/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/remarkjs/remark-lint)](https://github.com/remarkjs/remark-lint/graphs/commit-activity/) [![GitHub contributors](https://img.shields.io/github/contributors/remarkjs/remark-lint)](https://github.com/remarkjs/remark-lint/graphs/contributors/)
![disabled](https://shields.io/badge/-disabled-orange) [![GitHub stars](https://img.shields.io/github/stars/remarkjs/remark-lint?cacheSeconds=3600)](https://github.com/remarkjs/remark-lint) ![formatter](https://shields.io/badge/-format-yellow) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/remarkjs/remark-lint?sort=semver)](https://github.com/remarkjs/remark-lint/releases) [![GitHub last commit](https://img.shields.io/github/last-commit/remarkjs/remark-lint)](https://github.com/remarkjs/remark-lint/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/remarkjs/remark-lint)](https://github.com/remarkjs/remark-lint/graphs/commit-activity/) [![GitHub contributors](https://img.shields.io/github/contributors/remarkjs/remark-lint)](https://github.com/remarkjs/remark-lint/graphs/contributors/)

_This linter has been disabled in this version_

_Disabled reason: Bug in remark-lint: <https://github.com/remarkjs/remark-lint/issues/322>_
_Disabled reason: Bug in remark-lint: https://github.com/remarkjs/remark-lint/issues/322_

## remark-lint documentation

Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/repository_trufflehog.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ analyze [<key-type>]
- Dockerfile commands :
```dockerfile
# renovate: datasource=docker depName=trufflesecurity/trufflehog
ARG REPOSITORY_TRUFFLEHOG_VERSION=3.88.1
ARG REPOSITORY_TRUFFLEHOG_VERSION=3.88.2
FROM trufflesecurity/trufflehog:${REPOSITORY_TRUFFLEHOG_VERSION} AS trufflehog
COPY --link --from=trufflehog /usr/bin/trufflehog /usr/bin/
```
Expand Down
Loading

0 comments on commit a97508a

Please sign in to comment.