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

Want to have control on the version of linter that is being used #4014

Open
guptajag opened this issue Sep 18, 2024 · 1 comment
Open

Want to have control on the version of linter that is being used #4014

guptajag opened this issue Sep 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@guptajag
Copy link

**Is your feature request related to a problem?
It is important to control the specific version of CPP_CLANG_FORMAT used during the linting process. For instance, the current version supported by Mega-Linter is 17.0.6:
image
However, the project requires Clang 20.0.0

Describe the solution you'd like
There should be an option in the .mega-linter.yml file to specify the desired version of the linter, such as:

ENABLE_LINTERS:
  - CPP_CLANG_FORMAT == 20.0.0

or

ENABLE_LINTERS:
  - CPP_CLANG_FORMAT =< 17.0.6

This feature would dynamically create or update the necessary Mega-Linter container during runtime to ensure the specified version is used.

Describe alternatives you've considered
Currently exploring solutions but have not found any suitable alternatives to manually controlling the Clang format version.

@guptajag guptajag added the enhancement New feature or request label Sep 18, 2024
@echoix
Copy link
Collaborator

echoix commented Sep 18, 2024

Clang 19.1 (the first real release) was released yesterday... clang 20 would be something very custom and highly specific

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants