-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mega-linter.yaml
45 lines (44 loc) · 1.55 KB
/
.mega-linter.yaml
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
# This MegaLinter config is very experimental stage. Open to changes and updates.
# https://github.com/PRQL/prql/pull/1974
GITHUB_COMMENT_REPORTER: false
DISABLE:
- RUST
- JAVASCRIPT
- PYTHON
DISABLE_LINTERS:
- SPELL_CSPELL
- CSS_STYLELINT
- PHP_PSALM
- PHP_PHPSTAN # Disabled for now as we couldn't figure out how to prevent false positives. #2069
- SQL_TSQLLINT
- REPOSITORY_KICS
- SPELL_LYCHEE # Throwing network errors. We already check link in other GH actions.
- MARKDOWN_MARKDOWN_LINK_CHECK # Slow (40+ seconds). We already check links in other GH actions.
- REPOSITORY_TRUFFLEHOG # Detecting secrets in .git/config, which is not even committed.
- REPOSITORY_GRYPE # Slow (10+ seconds). Blocking unrelated PRs. We already have depandabot.
- YAML_V8R # Slow (70+ seconds). We don't use YAML schema.
- JSON_V8R # Failing for vscode-style syntax (comments).
DISABLE_ERRORS_LINTERS:
- COPYPASTE_JSCPD
- REPOSITORY_TRIVY
- REPOSITORY_CHECKOV
- REPOSITORY_DEVSKIM
- BASH_SHELLCHECK
- C_CPPLINT
- CPP_CPPLINT
- DOCKERFILE_HADOLINT
- HTML_DJLINT
- HTML_HTMLHINT
- JAVA_CHECKSTYLE
- JAVA_PMD
- JSON_JSONLINT
- MAKEFILE_CHECKMAKE
- MARKDOWN_MARKDOWN_LINK_CHECK
- SPELL_MISSPELL
# Disabled for now, as @max-sixty didn't know whether "Unable to locate the
# project file. A project file (tsconfig.json or tsconfig.eslint.json) is
# required in order to use ts-standard." was worth fixing, from #3608. Happy
# for someone more informed to turn it back on.
- TYPESCRIPT_STANDARD
PHP_PHPCS_ARGUMENTS:
- --standard=PSR12