Skip to content

dotnet MegaLinter Flavor

Docker Image Size (tag) Docker Pulls

Description

Optimized for C, C++, C# or VB based projects

Usage

  • GitHub Action: oxsecurity/megalinter/flavors/dotnet@v7.7.0
  • Docker image: oxsecurity/megalinter-dotnet:v7.7.0
  • mega-linter-runner: mega-linter-runner --flavor dotnet

Embedded linters

Languages

Language Linter Additional
BASH bash-exec
BASH_EXEC
BASH shellcheck
BASH_SHELLCHECK
GitHub stars sarif
BASH shfmt
BASH_SHFMT
GitHub stars formatter
C cpplint
C_CPPLINT
GitHub stars
C++ (CPP) cpplint
CPP_CPPLINT
GitHub stars
C# (CSHARP) dotnet-format
CSHARP_DOTNET_FORMAT
GitHub stars formatter
C# (CSHARP) csharpier
CSHARP_CSHARPIER
GitHub stars formatter
C# (CSHARP) roslynator
CSHARP_ROSLYNATOR
GitHub stars formatter
GROOVY npm-groovy-lint
GROOVY_NPM_GROOVY_LINT
GitHub stars autofix sarif
KOTLIN ktlint
KOTLIN_KTLINT
GitHub stars autofix sarif
MAKEFILE checkmake
MAKEFILE_CHECKMAKE
GitHub stars
POWERSHELL powershell
POWERSHELL_POWERSHELL
GitHub stars autofix
POWERSHELL powershell_formatter
POWERSHELL_POWERSHELL_FORMATTER
GitHub stars formatter
SQL sql-lint
SQL_SQL_LINT
GitHub stars
SQL sqlfluff
SQL_SQLFLUFF
GitHub stars
SQL tsqllint
SQL_TSQLLINT
GitHub stars
Visual Basic .NET (VBDOTNET) dotnet-format
VBDOTNET_DOTNET_FORMAT
GitHub stars formatter

Formats

Format Linter Additional
CSS stylelint
CSS_STYLELINT
downgraded version GitHub stars autofix
CSS scss-lint
CSS_SCSS_LINT
deprecated GitHub stars
ENV dotenv-linter
ENV_DOTENV_LINTER
GitHub stars autofix
GRAPHQL graphql-schema-linter
GRAPHQL_GRAPHQL_SCHEMA_LINTER
GitHub stars
HTML djlint
HTML_DJLINT
GitHub stars
HTML htmlhint
HTML_HTMLHINT
GitHub stars
JSON jsonlint
JSON_JSONLINT
GitHub stars
JSON eslint-plugin-jsonc
JSON_ESLINT_PLUGIN_JSONC
GitHub stars autofix sarif
JSON v8r
JSON_V8R
GitHub stars
JSON prettier
JSON_PRETTIER
GitHub stars formatter
JSON npm-package-json-lint
JSON_NPM_PACKAGE_JSON_LINT
GitHub stars
MARKDOWN markdownlint
MARKDOWN_MARKDOWNLINT
GitHub stars formatter
MARKDOWN markdown-link-check
MARKDOWN_MARKDOWN_LINK_CHECK
GitHub stars
MARKDOWN markdown-table-formatter
MARKDOWN_MARKDOWN_TABLE_FORMATTER
GitHub stars formatter
PROTOBUF protolint
PROTOBUF_PROTOLINT
GitHub stars autofix
XML xmllint
XML_XMLLINT
autofix
YAML prettier
YAML_PRETTIER
GitHub stars formatter
YAML yamllint
YAML_YAMLLINT
GitHub stars
YAML v8r
YAML_V8R
GitHub stars

Tooling formats

Tooling format Linter Additional
ACTION actionlint
ACTION_ACTIONLINT
GitHub stars
ANSIBLE ansible-lint
ANSIBLE_ANSIBLE_LINT
GitHub stars sarif
ARM arm-ttk
ARM_ARM_TTK
GitHub stars
BICEP bicep_linter
BICEP_BICEP_LINTER
GitHub stars
DOCKERFILE hadolint
DOCKERFILE_HADOLINT
GitHub stars sarif
EDITORCONFIG editorconfig-checker
EDITORCONFIG_EDITORCONFIG_CHECKER
GitHub stars
GHERKIN gherkin-lint
GHERKIN_GHERKIN_LINT
GitHub stars
KUBERNETES kubeconform
KUBERNETES_KUBECONFORM
GitHub stars
KUBERNETES helm
KUBERNETES_HELM
GitHub stars
KUBERNETES kubescape
KUBERNETES_KUBESCAPE
downgraded version GitHub stars sarif
OPENAPI spectral
OPENAPI_SPECTRAL
GitHub stars
SNAKEMAKE snakemake
SNAKEMAKE_LINT
GitHub stars
SNAKEMAKE snakefmt
SNAKEMAKE_SNAKEFMT
GitHub stars formatter
TEKTON tekton-lint
TEKTON_TEKTON_LINT
GitHub stars

Other

Code quality checker Linter Additional
COPYPASTE jscpd
COPYPASTE_JSCPD
GitHub stars
REPOSITORY checkov
REPOSITORY_CHECKOV
GitHub stars sarif
REPOSITORY git_diff
REPOSITORY_GIT_DIFF
GitHub stars
REPOSITORY gitleaks
REPOSITORY_GITLEAKS
GitHub stars sarif
REPOSITORY grype
REPOSITORY_GRYPE
downgraded version GitHub stars sarif
REPOSITORY secretlint
REPOSITORY_SECRETLINT
GitHub stars sarif
REPOSITORY semgrep
REPOSITORY_SEMGREP
GitHub stars sarif
REPOSITORY trivy
REPOSITORY_TRIVY
GitHub stars sarif
REPOSITORY trivy-sbom
REPOSITORY_TRIVY_SBOM
GitHub stars sarif
REPOSITORY trufflehog
REPOSITORY_TRUFFLEHOG
GitHub stars
SPELL cspell
SPELL_CSPELL
GitHub stars
SPELL proselint
SPELL_PROSELINT
GitHub stars
SPELL vale
SPELL_VALE
GitHub stars
SPELL lychee
SPELL_LYCHEE
GitHub stars