Skip to content

Commit

Permalink
mega-linter specify more linter
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvedder committed Jan 22, 2024
1 parent 0efc5eb commit 252482b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .markdown_link_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "localhost"
}
]
}
15 changes: 9 additions & 6 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ APPLY_FIXES: all
# default
ENABLE_LINTERS:
- ACTION_ACTIONLINT
- DART_DARTANALYZER
# - DART_DARTANALYZER
- MARKDOWN_MARKDOWNLINT
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
- MARKDOWN_MARKDOWN_LINK_CHECK
- DOCKERFILE_DOCKERFILELINT
- GIT_GIT_DIFF
- REPOSITORY_GIT_DIFF
- REPOSITORY_GITLEAKS
# - REPOSITORY_GITLEAKS
- BASH_SHELLCHECK
- JSON_JSONLINT
- JSON_ESLINT_PLUGIN_JSONC
- SQL_SQLFLUFF
- ENV_DOTENV_LINTER

DISABLE:
# - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
Expand All @@ -45,8 +46,10 @@ EXCLUDED_DIRECTORIES:
- windows
- linux
- web
- cli

FILTER_REGEX_EXCLUDE: (.*\.g\.dart|.*\/CHANGELOG.md|docs/database/.*|docs/uml/.*)
FILTER_REGEX_EXCLUDE: (.*\.g\.dart|.*\/CHANGELOG.md|docs/database/.*|docs/uml/.*|studyu)

BASH_SHELLCHECK_ARGUMENTS: -ax -S style --shell=bash
# Linter specific settings

BASH_SHELLCHECK_ARGUMENTS: -ax -S style --shell=bash
MARKDOWN_MARKDOWN_LINK_CHECK_CONFIG_FILE: .markdown_link_check.yml

0 comments on commit 252482b

Please sign in to comment.