-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.megalinter.yml
More file actions
31 lines (27 loc) · 1.16 KB
/
.megalinter.yml
File metadata and controls
31 lines (27 loc) · 1.16 KB
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
# Configuration file for MegaLinter
#
# See all available variables at https://megalinter.io/latest/config-file/ and in
# linters documentation
---
APPLY_FIXES: none
DISABLE_LINTERS:
- COPYPASTE_JSCPD # Sonarcloud handles this for us
- JAVASCRIPT_STANDARD # Disable in favour of eslint
- MARKDOWN_MARKDOWN_LINK_CHECK # Our links are private
- REPOSITORY_GRYPE # We use dependabot for vulnerability monitoring and patching
- REPOSITORY_TRIVY # No iac and dependabot handles vulnerabilities
- SPELL_LYCHEE # Our links are private
- TYPESCRIPT_STANDARD # Disable in favour of eslint
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
# Config paths
JAVASCRIPT_ES_CONFIG_FILE: eslint.config.js
TYPESCRIPT_ES_CONFIG_FILE: eslint.config.js
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: true
# --no--eslintrc blows up the linter with our new eslint config
JAVASCRIPT_ES_COMMAND_REMOVE_ARGUMENTS: --no-eslintrc
TYPESCRIPT_ES_COMMAND_REMOVE_ARGUMENTS: --no-eslintrc
SPELL_CSPELL_ANALYZE_FILE_NAMES: false
SPELL_CSPELL_FILE_EXTENSIONS: ['.tsx', '.stories.ts', '.md']
JAVASCRIPT_ES_CLI_EXECUTABLE: ['./node_modules/.bin/eslint']
TYPESCRIPT_ES_CLI_EXECUTABLE: ['./node_modules/.bin/eslint']