diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 1f7f7046..f5380205 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -43,24 +43,24 @@ jobs: FILTER_REGEX_INCLUDE: ${{ inputs.filter_regex_include }} # If triggered by PR, only validate changed files. VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }} - # Checkov and JSCPD ignore the above FILTER_REGEX_EXCLUDE, FILTER_REGEX_INCLUDE and VALIDATE_ALL_CODEBASE environment variables. - # Explicitly disable these linters to prevent them from being run when they should not. - VALIDATE_CHECKOV: false - VALIDATE_JSCPD: false - # For Python, prefer the Ruff linter over Flake8 and isort. - # The Ruff linter is faster than, has feature parity with, and serves as a drop-in replacement for both Flake8 and isort. - # The Ruff formatter also has feature parity with Black, however Super-linter does not yet support the Ruff formatter. - # Ref: https://docs.astral.sh/ruff/ - VALIDATE_PYTHON_FLAKE8: false - VALIDATE_PYTHON_ISORT: false - # For JavaScript, to prevent conflicts, prefer the industry standard ESLint and Prettier over Biome. - VALIDATE_BIOME_LINT: false - VALIDATE_BIOME_FORMAT: false - # Terrascan is not actively maintained, which results in outdated errors. - # For example, if using the nullable argument in a Terraform variable block, Terrascan throws an error. - # This argument was added in Terraform v1.1 (ref: https://developer.hashicorp.com/terraform/language/values/variables#disallowing-null-input-values). - VALIDATE_TERRAFORM_TERRASCAN: false # Don't create status checks per linter. # Create GitHub Actions job summary instead. MULTI_STATUS: false ENABLE_GITHUB_ACTIONS_STEP_SUMMARY: true + + # For Python, prefer the Ruff linter and code formatter over Flake8, + # isort and Black. Ruff is faster than, has feature parity with, and + # serves as a drop-in replacement for these tools. + # Ref: https://docs.astral.sh/ruff/ + VALIDATE_PYTHON_RUFF: true + VALIDATE_PYTHON_RUFF_FORMAT: true + + VALIDATE_BASH: true + VALIDATE_POWERSHELL: true + + VALIDATE_JSON: true + VALIDATE_YAML: true + + VALIDATE_MARKDOWN: true + + VALIDATE_GITHUB_ACTIONS: true