-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mega-linter.yml
More file actions
28 lines (22 loc) · 875 Bytes
/
.mega-linter.yml
File metadata and controls
28 lines (22 loc) · 875 Bytes
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
# MegaLinter configuration file
# More info at https://megalinter.io
---
# Configuration documentation: https://megalinter.io/latest/configuration/
# Linters documentation: https://megalinter.io/latest/descriptors/
# All available variables are described in documentation
# https://megalinter.io/latest/configuration/#all-available-variables
APPLY_FIXES: none
PRINT_ALL_FILES: true
CLEAR_REPORT_FOLDER: true
LOG_LEVEL: DEBUG
FAIL_IF_MISSING_LINTER_IN_FLAVOR: true
ENABLE_LINTERS:
# https://megalinter.io/latest/descriptors/java_checkstyle/
- JAVA_CHECKSTYLE
# https://megalinter.io/latest/descriptors/java_pmd/
- JAVA_PMD
JAVA_CHECKSTYLE_CONFIG_FILE: megalinter-config/google-checks.xml
JAVA_PMD_CONFIG_FILE: megalinter-config/pmd-ruleset.xml
FILTER_REGEX_INCLUDE: (lib/src)
# Exclude unessential directories
FILTER_REGEX_EXCLUDE: (target/|.venv/|.idea/|.git/)