-
Notifications
You must be signed in to change notification settings - Fork 62
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
build: bump megalinter version to v6 #93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SamPriyadarshi This new version of Mega Linter seems to be having additional linters.
Please include the following environment variables for the Mega Linter configuration in order to have the linter checks appear similar to v4. Some linters, if disabled, will even have some positive impact on the execution time. For example, TERRAFORM_KICS takes a lot of time and we are having tflint and formatting currently being used.
env:
...
DISABLE_LINTERS: TERRAFORM_KICS,TERRAFORM_CHECKOV,TERRAFORM_TERRASCAN,YAML_YAMLLINT,SPELL_CSPELL,SPELL_PROSELINT,PYTHON_BANDIT,PYTHON_FLAKE8,PYTHON_PYRIGHT,JSON_NPM_PACKAGE_JSON_LINT,REPOSITORY_CHECKOV,REPOSITORY_DEVSKIM,REPOSITORY_DUSTILOCK,REPOSITORY_GITLEAKS,REPOSITORY_GOODCHECK,REPOSITORY_SEMGREP,REPOSITORY_SYFT,REPOSITORY_TRIVY,COPYPASTE_JSCPD
MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
...
@SamPriyadarshi Since Hadolint is erroring out because of the version pinning requirement and we don't want to pin to a specific version as of now, we can have the Hadolint check for version pinning ignored.
|
Changes committed: modified: .github/workflows/linter.yml modified: .hadolint.yaml
LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
What's changed, or what was fixed?
Fixes: