Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Javascript mega-linter flavor #1090

Merged
merged 2 commits into from Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
mockersf marked this conversation as resolved.
Show resolved Hide resolved