mirror of
https://github.com/ivuorinen/base-configs-eslint.git
synced 2026-01-26 03:04:03 +00:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
---
|
|
# Configuration file for MegaLinter
|
|
# See all available variables at
|
|
# https://megalinter.io/configuration/ and in linters documentation
|
|
|
|
APPLY_FIXES: all
|
|
SHOW_ELAPSED_TIME: false # Show elapsed time at the end of MegaLinter run
|
|
PARALLEL: true
|
|
VALIDATE_ALL_CODEBASE: true
|
|
FILEIO_REPORTER: false # Generate file.io report
|
|
GITHUB_STATUS_REPORTER: true # Generate GitHub status report
|
|
IGNORE_GENERATED_FILES: true # Ignore generated files
|
|
JAVASCRIPT_DEFAULT_STYLE: prettier # Default style for JavaScript
|
|
PRINT_ALPACA: false # Print Alpaca logo in console
|
|
SARIF_REPORTER: true # Generate SARIF report
|
|
SHOW_SKIPPED_LINTERS: false # Show skipped linters in MegaLinter log
|
|
|
|
DISABLE_LINTERS:
|
|
- REPOSITORY_DEVSKIM
|
|
|
|
ENABLE_LINTERS:
|
|
- YAML_YAMLLINT
|
|
- MARKDOWN_MARKDOWNLINT
|
|
- YAML_PRETTIER
|
|
- JSON_PRETTIER
|
|
- JAVASCRIPT_ES
|
|
- TYPESCRIPT_ES
|
|
|
|
YAML_YAMLLINT_CONFIG_FILE: .yamllint.yml
|
|
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.json
|
|
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
|
|
TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.json
|
|
|
|
FILTER_REGEX_EXCLUDE: >
|
|
(node_modules|\.automation/test|docs/json-schemas|\.github/workflows)
|