-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mega-linter.yml
30 lines (28 loc) · 1.22 KB
/
.mega-linter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-FileCopyrightText: 2022 Frans van Dorsselaer
#
# SPDX-License-Identifier: MIT
---
# Configuration file for MegaLinter
# See all available variables at https://megalinter.github.io/configuration/ and in linters documentation
# APPLY_FIXES: all # all, none, or list of linter keys
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
DISABLE:
- COPYPASTE # Comment to enable checks of excessive copy-pastes
- SPELL # Comment to enable checks of spelling mistakes
DISABLE_LINTERS:
- CSHARP_DOTNET_FORMAT # Not compatible with .NET 9 (yet)
- CSHARP_CSHARPIER # Not compatible with .NET 9 (yet)
- CSHARP_ROSLYNATOR # Not compatible with .NET 9 (yet)
- REPOSITORY_TRIVY # Unstable, leading to a lot of build failures
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass
XML_XMLLINT_FILE_EXTENSIONS:
- .xml
- .xslt
- .csproj
- .props
- .pubxml
# Exclude verbatim copies of external sources that are not under our control.
FILTER_REGEX_EXCLUDE: COPYING\.md|LICENSES/