Skip to content

Commit

Permalink
Use Javascript mega-linter flavor (#1090)
Browse files Browse the repository at this point in the history
Co-authored-by: mnmaita <47983254+mnmaita@users.noreply.github.com>
  • Loading branch information
BD103 and mnmaita committed Mar 12, 2024
1 parent 9c11d47 commit a64dda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
# Full git history is needed to get a proper list of changed files within `mega-linter`
fetch-depth: 0
- name: Run Mega Linter
uses: oxsecurity/megalinter@v7
uses: oxsecurity/megalinter/flavors/javascript@v7
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
Expand Down
3 changes: 3 additions & 0 deletions .mega-linter.yml
Expand Up @@ -2,3 +2,6 @@ ENABLE_LINTERS:
- HTML_DJLINT
- MARKDOWN_MARKDOWNLINT
- EDITORCONFIG_EDITORCONFIG_CHECKER

# We use the Javascript flavor, which does not include all of the linters.
FAIL_IF_MISSING_LINTER_IN_FLAVOR: true

0 comments on commit a64dda4

Please sign in to comment.