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

Schema does not support GO_GOLANGCI_LINT_CLI_LINT_MODE: #3535

Open
dschveninger opened this issue May 2, 2024 · 3 comments
Open

Schema does not support GO_GOLANGCI_LINT_CLI_LINT_MODE: #3535

dschveninger opened this issue May 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@dschveninger
Copy link

Describe the bug
v8r are failing since the v7 schema in schema store in missing golangci GO_GOLANGCI_LINT_CLI_LINT_MODE field.

@dschveninger dschveninger added the bug Something isn't working label May 2, 2024
@nvuillam
Copy link
Member

nvuillam commented May 4, 2024

@dschveninger it's related to #3509

Now only project mode is available, so the variable does not exist anymore, please can you remove it from your .mega-linter.yml config file ?

@dschveninger
Copy link
Author

The other issue we are having is we are still using V6. Is there a why to place the Megalinter version in the schema so we do not have the issue until we upgrade to v7? This will also be good for version 8 when it comes.

@nvuillam
Copy link
Member

@dschveninger unfortunately, schemastore.org does not handle versioning

This is not hard to upgrade to v7, and v6 is not maintained for a while and probably contains many deprecated linter versions, and maybe CVEs... I strongly advise you to upgrade to v7 :)

npx mega-linter-runner --upgrade

dochang added a commit to dochang/svtu that referenced this issue May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants