-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mega-linter.yml
39 lines (27 loc) · 1.08 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
39
---
# don't utest the reports Mega-Linter created or test files
ADDITIONAL_EXCLUDED_DIRECTORIES: [report, megalinter-reports, test, tests]
# don't lint test files
FILTER_REGEX_EXCLUDE: (/test/|\.test\.|_test\.)
# don't scan files listed in .gitignore (e.g., node_modules)
IGNORE_GITIGNORED_FILES: true
# don't attempt to apply fixes at this time
APPLY_FIXES: all
# please don't spell check everything...
DISABLE: [SPELL, COPYPASTE]
# only scan new / updated files, not everything
VALIDATE_ALL_CODEBASE: true
# don't print the alpaca -- it's cute, but we don't need it in the logs
PRINT_ALPACA: false
# don't fail on finding (yet)
DISABLE_ERRORS: true
# use prettier for JavaScript code formatting
JAVASCRIPT_DEFAULT_STYLE: prettier
# disable golangci-lint (it was problematic for a while)
# DISABLE_LINTERS: [GO_GOLANGCI_LINT]
# v6 supports SARIF reporters
SARIF_REPORTER: true
# only scan the files in This commit, not the entire history of the repo
REPOSITORY_GITLEAKS_ARGUMENTS: --no-git
# only run CSS linting on CSS files (SCSS has it's own linter)
CSS_STYLELINT_FILE_EXTENSIONS: [".css"]