42 lines
1.4 KiB
YAML
42 lines
1.4 KiB
YAML
# Configuration file for MegaLinter
|
|
#
|
|
# See all available variables at https://megalinter.io/latest/config-file/ and in
|
|
# linters documentation
|
|
|
|
# all, none, or list of linter keys
|
|
APPLY_FIXES: all
|
|
|
|
# If you use ENABLE variable, all other languages/formats/tooling-formats will
|
|
# be disabled by default
|
|
# ENABLE:
|
|
|
|
# If you use ENABLE_LINTERS variable, all other linters will be disabled by
|
|
# default
|
|
# ENABLE_LINTERS:
|
|
|
|
# DISABLE:
|
|
# - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
|
|
# - SPELL # Uncomment to disable checks of spelling mistakes
|
|
|
|
SHOW_ELAPSED_TIME: true
|
|
|
|
# Uncomment if you want MegaLinter to detect errors but not block CI to pass
|
|
# DISABLE_ERRORS: true
|
|
|
|
# ---
|
|
# Custom config:
|
|
|
|
# PRINT_ALPACA: false
|
|
|
|
# npx mega-linter-runner -r v8 -f cupcake -e "ENABLE_LINTERS=MARKDOWN_MARKDOWN_LINK_CHECK" # run a specific linter locally
|
|
DISABLE_LINTERS:
|
|
- MARKDOWN_MARKDOWN_LINK_CHECK # took 32s and only reported 0 (e.g. for localhost) or 403 (forbidden) for working links to settings or due to DDoS/bot protections
|
|
|
|
# DISABLE_ERRORS_LINTERS: # error -> warning
|
|
# - MARKDOWN_MARKDOWN_LINK_CHECK
|
|
|
|
# DISABLE_LINTERS: JAVASCRIPT_STANDARD
|
|
|
|
# CI will comment on PRs etc., but for running locally (or downloading the results), we want more than the default megalinter-reports/megalinter.log as an overview:
|
|
JSON_REPORTER: true # mega-linter-report.json
|
|
MARKDOWN_SUMMARY_REPORTER: true # megalinter-report.md
|