Skip to content

Commit 929dd7d

Browse files
author
KaoImin
committed
add linter
1 parent 17bf12f commit 929dd7d

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.mega-linter.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Configuration file for MegaLinter
2+
# See all available variables at https://megalinter.io/configuration/ and in linters documentation
3+
4+
APPLY_FIXES: all
5+
DISABLE_LINTERS:
6+
- JAVASCRIPT_PRETTIER
7+
- JAVASCRIPT_STANDARD
8+
- JSON_PRETTIER
9+
- REPOSITORY_GITLEAKS
10+
- REPOSITORY_KICS
11+
- RUST_CLIPPY
12+
- SPELL_PROSELINT
13+
- SPELL_MISSPELL
14+
- SPELL_VALE
15+
DISABLE_ERRORS_LINTERS:
16+
- PYTHON_BANDIT
17+
- PYTHON_PYRIGHT
18+
- REPOSITORY_DEVSKIM
19+
- REPOSITORY_GRYPE
20+
- REPOSITORY_SEMGREP
21+
- REPOSITORY_TRUFFLEHOG
22+
PRINT_ALL_FILES: false
23+
FILTER_REGEX_EXCLUDE: '(\.automation/test|\.automation/generated|\.venv|\.github/workflows|docs/javascripts|docs/overrides|docs/json-schemas|flavors|clj-kondo|TEMPLATES)'
24+
JSON_JSONLINT_FILTER_REGEX_EXCLUDE: '(\.vscode/)'
25+
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml)'
26+
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml|mkdocs\.yml)'
27+
YAML_V8R_FILTER_REGEX_EXCLUDE: '(descriptors|templates/\.mega-linter\.yml|\.codecov\.yml)'
28+
BASH_FILTER_REGEX_EXCLUDE: "(lib)"
29+
MARKDOWN_FILTER_REGEX_EXCLUDE: '(license\.md|docs/licenses)'
30+
MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
31+
SPELL_VALE_FILE_EXTENSIONS:
32+
- .md
33+
SPELL_FILTER_REGEX_EXCLUDE: (valestyles|\.github|docs/licenses)
34+
DOCKERFILE_HADOLINT_ARGUMENTS: "--ignore DL3003 --ignore DL3007 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3028 --ignore DL3059 --ignore DL4001 --ignore DL4006 --ignore SC2015 --ignore SC2016 --ignore SC2039 --ignore SC2086 --ignore SC1091 --ignore SC3046"
35+
REPOSITORY_TRIVY_ARGUMENTS:
36+
- "--skip-dirs"
37+
- ".automation/test"
38+
- "--skip-dirs"
39+
- ".venv"
40+
SHOW_ELAPSED_TIME: true
41+
FLAVOR_SUGGESTIONS: false
42+
EMAIL_REPORTER: false
43+
FILEIO_REPORTER: false
44+
JSON_REPORTER: true
45+
GITHUB_STATUS_REPORTER: false
46+
PLUGINS:
47+
- https://raw.githubusercontent.com/oxsecurity/megalinter/main/.automation/test/mega-linter-plugin-test/test.megalinter-descriptor.yml
48+
PRE_COMMANDS:
49+
- command: echo "This is MegaLinter PRE_COMMAND on own MegaLinter ! :)"
50+
cwd: "root"
51+
POST_COMMANDS:
52+
- command: echo "This is MegaLinter POST_COMMAND on own MegaLinter ! :)"
53+
cwd: "workspace"

0 commit comments

Comments
 (0)