Skip to content
New issue

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

Add disabled linter badge #4477

Merged
merged 2 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion docs/descriptors/json_eslint_plugin_jsonc.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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_

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
2 changes: 1 addition & 1 deletion docs/descriptors/makefile_checkmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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_

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
2 changes: 1 addition & 1 deletion docs/descriptors/markdown_remark_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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_

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
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.11.0
ARG SFDX_HARDIS_VERSION=5.14.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_lightning_flow_scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.11.0
ARG SFDX_HARDIS_VERSION=5.14.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
Loading
Loading