Skip to content

Commit

Permalink
chore(megalinter): added inline code comments for megalinter config
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashugoyal committed Jan 21, 2025
1 parent 8fde380 commit 2e45896
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@
EXCLUDED_DIRECTORIES:
- test/fixtures/

# Disabled certain linters due to duplication and or redundancy.
DISABLE_LINTERS:
# https://megalinter.io/latest/descriptors/repository_kics/
- REPOSITORY_KICS
# already enabled as a dedicated linter for this repo
- GO_GOLANGCI_LINT
# another linter, https://megalinter.io/latest/descriptors/go_revive/
- GO_REVIVE
# Another vulnerability scanner, https://megalinter.io/latest/descriptors/repository_grype/
- REPOSITORY_GRYPE
# Spell checker, https://megalinter.io/latest/descriptors/spell_lychee/
- SPELL_LYCHEE

DISABLE_ERRORS_LINTERS:
# To prevent unnecessary spelling errors (will spit out warnings)
- SPELL_CSPELL
# copypaste checker (JSCPD), can be added in a separate PR as this will need test refactor
- COPYPASTE_JSCPD

FILTER_REGEX_EXCLUDE: "(test/)"
Expand Down

0 comments on commit 2e45896

Please sign in to comment.