Skip to content

Visual Basic .NET

Linters

Linter Additional
dotnet-format
VBDOTNET_DOTNET_FORMAT
GitHub stars formatter

Linted files

  • File extensions:
    • .vb

Configuration in MegaLinter

Variable Description Default value
VBDOTNET_PRE_COMMANDS List of bash commands to run before the linters None
VBDOTNET_POST_COMMANDS List of bash commands to run after the linters None
VBDOTNET_FILTER_REGEX_INCLUDE Custom regex including filter
VBDOTNET_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation

  • Dockerfile commands :
RUN apk add --no-cache dotnet8-sdk --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
ENV PATH="${PATH}:/root/.dotnet/tools"