Skip to content

Utilize github.com/super-linter/super-linter for local linting #97

Open
@jmeridth

Description

Is your feature request related to a problem?

Currently we use a make lint target to run linting locally in each of our OSPO GitHub Actions (example). This "works" but does not cover the larger list of linters that super-linter runs against our code in our linting workflow on each OSPO GitHub Action (example).

The issue is that super-linter does not work well on arm64 architecture (Apple M1, for example). There is an open PR trying to work through this.

Related OSPO Tool

automatic-contrib-prs GitHub Action, cleanowners GitHub Action, contributors GitHub Action, evergreen GitHub Action, issues-metrics GitHub Action, stale-repos GitHub Action

Describe the solution you'd like

We spin up a super-linter container and run linting against the local code

Describe alternatives you've considered

Current: Makefile calling individual tools to try to match the large lister of linters built into super-linter and run in our linting workflow on each OSPO GitHub Action

Additional context

We have people subscribed to the super-linter PR and will try this out as soon as that is merged.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestospo-actionsIssues relating to the OSPO Actions

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions