C
Linters
Linter | Additional |
---|---|
dotnet-format CSHARP_DOTNET_FORMAT |
|
csharpier CSHARP_CSHARPIER |
|
roslynator CSHARP_ROSLYNATOR |
Linted files
- File extensions:
.cs
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
CSHARP_FILTER_REGEX_INCLUDE | Custom regex including filter | |
CSHARP_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |
Behind the scenes
Installation
- Dockerfile commands :
ENV PATH="${PATH}:/root/.dotnet/tools"
- APK packages (Linux):