-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mega-linter.yml
33 lines (30 loc) · 1.41 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
31
32
33
# SPDX-FileCopyrightText: 2024 Frans van Dorsselaer
#
# SPDX-License-Identifier: MIT
---
# yamllint disable-line rule:line-length
# yaml-language-server: $schema=https://raw.githubusercontent.com/oxsecurity/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json
# 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 8 (yet)
- CSHARP_CSHARPIER # Not compatible with .NET 8 (yet)
- CSHARP_ROSLYNATOR # Not compatible with .NET 8 (yet)
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.
# Also exclude auto-generated files.
FILTER_REGEX_EXCLUDE: COPYING\.md|LICENSES/|dotnet-tools.json