|
| 1 | +# Mega-Linter Configuration File |
| 2 | +# https://megalinter.io/latest/config-file/ |
| 3 | + |
| 4 | +# Activates formatting and autofix |
| 5 | +APPLY_FIXES: none |
| 6 | + |
| 7 | +# Flag to clear files from report folder before starting the linting process |
| 8 | +CLEAR_REPORT_FOLDER: true |
| 9 | + |
| 10 | +DEFAULT_BRANCH: main |
| 11 | + |
| 12 | +# List of disabled descriptors keys |
| 13 | +# https://megalinter.io/latest/config-activation/ |
| 14 | +DISABLE: |
| 15 | + - COPYPASTE |
| 16 | + - JAVASCRIPT |
| 17 | + - SPELL |
| 18 | + |
| 19 | +# List of disabled linters keys |
| 20 | +# https://megalinter.io/latest/config-activation/ |
| 21 | +DISABLE_LINTERS: |
| 22 | + - MARKDOWN_MARKDOWN_TABLE_FORMATTER |
| 23 | + - TYPESCRIPT_STANDARD |
| 24 | + |
| 25 | +# List of enabled but not blocking linters keys |
| 26 | +# https://megalinter.io/latest/config-activation/ |
| 27 | +# DISABLE_ERRORS_LINTERS: [] |
| 28 | + |
| 29 | +# List of enabled descriptors keys |
| 30 | +# https://megalinter.io/latest/config-activation/ |
| 31 | +# If you use ENABLE variable, all other linters will be disabled by default |
| 32 | +# ENABLE: [] |
| 33 | + |
| 34 | +# List of enabled linters keys |
| 35 | +# If you use ENABLE_LINTERS variable, all other linters will be disabled |
| 36 | +# ENABLE_LINTERS: [] |
| 37 | + |
| 38 | +# List of excluded directory basenames. |
| 39 | +EXCLUDED_DIRECTORIES: |
| 40 | + - .git |
| 41 | + - coverage |
| 42 | + - dist |
| 43 | + - megalinter-reports |
| 44 | + - node_modules |
| 45 | + - reports |
| 46 | + |
| 47 | +# If set to true, MegaLinter fails if a linter or formatter has autofixed |
| 48 | +# sources, even if there are no errors |
| 49 | +FAIL_IF_UPDATED_SOURCES: false |
| 50 | + |
| 51 | +# Upload reports to file.io |
| 52 | +FILEIO_REPORTER: false |
| 53 | + |
| 54 | +# Provides suggestions about different MegaLinter flavors to use to improve |
| 55 | +# runtime performance |
| 56 | +FLAVOR_SUGGESTIONS: true |
| 57 | + |
| 58 | +# Formatter errors will be reported as errors (and not warnings) if this |
| 59 | +# variable is set to false |
| 60 | +FORMATTERS_DISABLE_ERRORS: false |
| 61 | + |
| 62 | +# Posts a comment on the pull request with linting results |
| 63 | +GITHUB_COMMENT_REPORTER: true |
| 64 | + |
| 65 | +# Sets pull request status checks on GitHub |
| 66 | +GITHUB_STATUS_REPORTER: true |
| 67 | + |
| 68 | +# If set to true, MegaLinter will skip files containing @generated marker but |
| 69 | +# without @not-generated marker (more info at https://generated.at) |
| 70 | +IGNORE_GENERATED_FILES: true |
| 71 | + |
| 72 | +# If set to true, MegaLinter will skip files ignored by git using .gitignore |
| 73 | +IGNORE_GITIGNORED_FILES: true |
| 74 | + |
| 75 | +# JavaScript default style to check/apply |
| 76 | +JAVASCRIPT_DEFAULT_STYLE: prettier |
| 77 | + |
| 78 | +# Directory for all linter configuration rules |
| 79 | +# Can be a local folder or a remote URL |
| 80 | +# (ex: https://raw.githubusercontent.com/some_org/some_repo/mega-linter-rules) |
| 81 | +LINTER_RULES_PATH: . |
| 82 | + |
| 83 | +# The file name for outputting logs. All output is sent to the log file |
| 84 | +# regardless of LOG_LEVEL |
| 85 | +LOG_FILE: linter.log |
| 86 | + |
| 87 | +# How much output the script will generate to the console. One of INFO, DEBUG, |
| 88 | +# WARNING or ERROR. |
| 89 | +LOG_LEVEL: INFO |
| 90 | + |
| 91 | +# Markdown default style to check/apply |
| 92 | +MARKDOWN_DEFAULT_STYLE: markdownlint |
| 93 | + |
| 94 | +MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: __fixtures__ |
| 95 | + |
| 96 | +# Generate Markdown summary report |
| 97 | +MARKDOWN_SUMMARY_REPORTER: true |
| 98 | + |
| 99 | +# Name of the Markdown summary report file |
| 100 | +MARKDOWN_SUMMARY_REPORTER_FILE_NAME: summary.md |
| 101 | + |
| 102 | +# Process linters in parallel to improve overall MegaLinter performance. If |
| 103 | +# true, linters of same language or formats are grouped in the same parallel |
| 104 | +# process to avoid lock issues if fixing the same files |
| 105 | +PARALLEL: true |
| 106 | + |
| 107 | +# All available cores are used by default. If there are too many, you need to |
| 108 | +# decrease the number of used cores in order to enhance performance |
| 109 | +# PARALLEL_PROCESS_NUMBER: 4 |
| 110 | + |
| 111 | +# Directory for generating report files |
| 112 | +# Set to none to not generate reports |
| 113 | +REPORT_OUTPUT_FOLDER: linter |
| 114 | + |
| 115 | +# Set to simple to avoid external images in generated markdown |
| 116 | +REPORTERS_MARKDOWN_TYPE: advanced |
| 117 | + |
| 118 | +# Additional list of secured environment variables to hide when calling linters. |
| 119 | +# SECURED_ENV_VARIABLES: [] |
| 120 | + |
| 121 | +# Displays elapsed time in reports |
| 122 | +SHOW_ELAPSED_TIME: true |
| 123 | + |
| 124 | +# Displays all disabled linters mega-linter could have run |
| 125 | +SHOW_SKIPPED_LINTERS: false |
| 126 | + |
| 127 | +# Typescript default style to check/apply |
| 128 | +TYPESCRIPT_DEFAULT_STYLE: prettier |
| 129 | + |
| 130 | +# Will parse the entire repository and find all files to validate |
| 131 | +# When set to false, only new or edited files will be parsed for validation |
| 132 | +VALIDATE_ALL_CODEBASE: true |
| 133 | + |
| 134 | +# Per-linter configuration |
| 135 | +JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.yml |
| 136 | +JAVASCRIPT_PRETTIER_CONFIG_FILE: prettierrc.yml |
| 137 | +JSON_PRETTIER_CONFIG_FILE: prettierrc.yml |
| 138 | +MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.yml |
| 139 | +TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.yml |
| 140 | +TYPESCRIPT_PRETTIER_CONFIG_FILE: .prettierrc.yml |
| 141 | +YAML_PRETTIER_CONFIG_FILE: .prettierrc.yml |
| 142 | +YAML_YAMLLINT_CONFIG_FILE: .yaml-lint.yml |
0 commit comments