Skip to content

v5.1.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 19:53
· 10 commits to main since this release
9097aa2

🚀 [Feature]: Add settings control of repository linter (#218)

The workflow now provides fine-grained control over repository linting behavior through simple configuration options. You can disable the linter entirely or customize which validations run by configuring super-linter environment variables directly in your settings file, giving you full control over code quality checks without modifying workflow files.

Linter Configuration

Added two new settings to control repository linting behavior:

  • Linter.Skip: Completely disable repository linting when set to true
  • Linter.env: Configure super-linter environment variables to customize which validations run

What you need to do: Add these settings to your .github/PSModule.yml file as needed.

Disable the linter completely

Linter:
  Skip: true

Customize specific validations

Linter:
  env:
    VALIDATE_BIOME_FORMAT: false
    VALIDATE_JSCPD: false
    VALIDATE_JSON_PRETTIER: false

Advanced configuration

Linter:
  env:
    LOG_LEVEL: DEBUG
    FILTER_REGEX_EXCLUDE: '.*test.*'

See the super-linter environment variables documentation for all available options.