Skip to content

Commit

Permalink
Change default .mega-linter.yml config to skip shellcheck error (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Oct 15, 2024
1 parent 48df276 commit fc18801
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/linters/.cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"Rypple",
"SAST",
"SEMGREP",
"SHELLCHECK",
"SOMENAMESPACE",
"SOURCEBRANCHNAME",
"STYLELINT",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`

- Change default `.mega-linter.yml` config

## [5.2.2] 2024-10-14

- Fix doubling -d option in hardis:scratch:create
Expand Down
3 changes: 2 additions & 1 deletion config/sfdx-hardis.mega-linter-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# - https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.mega-linter-config.yml

APPLY_FIXES: all # all, none, or list of linter keys
DEFAULT_BRANCH: master # Usually master or main
DEFAULT_BRANCH: main # Usually master or main
DISABLE:
- HTML
- SPELL # Uncomment to enable checks of spelling mistakes # - SPELL # Uncomment to disable checks of spelling mistakes
Expand All @@ -19,3 +19,4 @@ PRE_COMMANDS:
SALESFORCE_SFDX_SCANNER_APEX_ARGUMENTS:
- --pmdconfig
- ./config/pmd-ruleset.xml
BASH_SHELLCHECK_FILTER_REGEX_EXCLUDE: (pre-commit)

0 comments on commit fc18801

Please sign in to comment.