Skip to content

Allow specifying flavour in .mega-linter.yml #6601

@MRDGH2821

Description

@MRDGH2821

Is your feature request related to a problem? Please describe.
I frequently use mega linter locally, it would be nice if in config file itself I specify which flavour I want to use.

Describe the solution you'd like
A config like:

USE_FLAVOUR: javascript

Describe alternatives you've considered
I can use VSCode's tasks.json, which works when I use npm/node installed in system. It falls apart if I use fnm.
Also tasks.json is likely not portable across code editors.

Additional context
Another setting can be put to ignore this config option when mega-linter is running in ci.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions