-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9627bec
commit 3d608d1
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
# don't test the reports Mega-Linter created, docs, or test files | ||
ADDITIONAL_EXCLUDED_DIRECTORIES: | ||
[report, megalinter-reports, docs, test, tests, venv] | ||
|
||
# don't lint test files or documentation | ||
FILTER_REGEX_EXCLUDE: (.venv/|/test/|\.test\.|_test\.|/docs/|/index.html|.github/.*\.html) | ||
|
||
# don't scan files listed in .gitignore (e.g., node_modules) | ||
IGNORE_GITIGNORED_FILES: true | ||
|
||
# don't attempt to apply fixes at this time | ||
APPLY_FIXES: "false" | ||
|
||
# Disable devskim as it's reporting an error with no log message | ||
DISABLE_LINTERS: | ||
[ | ||
REPOSITORY_DEVSKIM, | ||
SPELL_MISSPELL, | ||
SPELL_CSPELL, | ||
SPELL_PROSELINT, | ||
COPYPASTE_JSCPD, | ||
BASH_EXEC, | ||
] | ||
|
||
# only scan new / updated files, not everything | ||
VALIDATE_ALL_CODEBASE: true | ||
|
||
# don't print the alpaca -- it's cute, but we don't need it in the logs | ||
PRINT_ALPACA: false | ||
|
||
# don't fail on finding (yet) | ||
DISABLE_ERRORS: true | ||
|
||
# use prettier for JavaScript code formatting | ||
JAVASCRIPT_DEFAULT_STYLE: prettier | ||
|
||
# only scan the files in This commit, not the entire history of the repo | ||
REPOSITORY_GITLEAKS_ARGUMENTS: --no-git | ||
|
||
# don't lint the generated code in the docs/ directory | ||
REPOSITORY_DEVSKIM_ARGUMENTS: "--skip-git-ignored-files" | ||
|
||
# shfmt will.. | ||
# - use multiples of 2 spaces for indenting | ||
# - alllow binary operations to start new lines | ||
# - indent switch case statements | ||
# - place spaces around redirections | ||
# - keep column alignment padding | ||
BASH_SHFMT_ARGUMENTS: -i 2 -bn -ci -sr -kp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters