-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.mega-linter.yml
More file actions
68 lines (58 loc) 路 1.72 KB
/
Copy path.mega-linter.yml
File metadata and controls
68 lines (58 loc) 路 1.72 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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.io/latest/config-file/ and in linters documentation
---
PARALLEL: true
DEFAULT_BRANCH: main
SHOW_ELAPSED_TIME: true
CLEAR_REPORT_FOLDER: true
OUTPUT_DETAIL: detailed
GITHUB_COMMENT_REPORTER: true
GITHUB_STATUS_REPORTER: false
JSON_REPORTER: true
JSON_REPORTER_OUTPUT_DETAIL: simple
SARIF_REPORTER: true
FILEIO_REPORTER: false
FORMATTERS_DISABLE_ERRORS: false
REPORTERS_MARKDOWN_TYPE: simple
MARKDOWN_SUMMARY_REPORTER: true
APPLY_FIXES: all
ENABLE_LINTERS:
# GitHub
- ACTION_ACTIONLINT
# Markdown
- MARKDOWN_MARKDOWNLINT
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
# Python
- PYTHON_RUFF
# General
- YAML_YAMLLINT
- EDITORCONFIG_EDITORCONFIG_CHECKER
# Security
- REPOSITORY_GITLEAKS
# Spell
- SPELL_CSPELL
- SPELL_LYCHEE
# Shell
- BASH_SHELLCHECK
- BASH_SHFMT
# JavaScript
- JAVASCRIPT_PRETTIER
# TypeScript
- TYPESCRIPT_PRETTIER
EXCLUDED_DIRECTORIES:
- .git
- node_modules
- .venv
- .terraform
- dist
- megalinter-reports
ACTION_ACTIONLINT_CONFIG_FILE: .github/linters/actionlint.yml
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .github/linters/.markdownlint.yml
YAML_YAMLLINT_CONFIG_FILE: .github/linters/.yamllint.yml
REPOSITORY_GITLEAKS_CONFIG_FILE: .github/linters/.gitleaks.toml
SPELL_CSPELL_CONFIG_FILE: .github/linters/.cspell.yml
SPELL_CSPELL_FILE_EXTENSIONS: [".md"]
SPELL_LYCHEE_CONFIG_FILE: .github/linters/.lychee.toml
JAVASCRIPT_PRETTIER_CONFIG_FILE: .github/linters/.prettierrc.yml
TYPESCRIPT_PRETTIER_CONFIG_FILE: .github/linters/.prettierrc.yml