-
-
Notifications
You must be signed in to change notification settings - Fork 232
/
.mega-linter.yml
38 lines (35 loc) · 1.66 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
34
35
36
37
38
# SPDX-FileCopyrightText: 2022 Frans van Dorsselaer
#
# SPDX-License-Identifier: GPL-3.0-only
---
# yamllint disable-line rule:line-length
# yaml-language-server: $schema=https://raw.githubusercontent.com/megalinter/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)
- 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
- .wixproj
- .wxs
# Exclude verbatim copies of external sources that are not under our control.
# Also exclude auto-generated files.
FILTER_REGEX_EXCLUDE: COPYING\.md|LICENSES/|Drivers/VBoxUSB/|Drivers/VBoxUSBMon/|packages.lock.json|Usbipd.Automation/usb.ids
# Dependabot keeps removing the final newline
JSON_PRETTIER_FILTER_REGEX_EXCLUDE: global.json