Build: remove folder contents before generating Dockerfile files for each linter in generate_linter_dockerfiles(), by @bdovaz in #2294
Build: remove folder contents before generating test classes for each linter in generate_linter_test_classes(), by @bdovaz in #2294
Build: automatically update the linter list used in the matrix of several of the workflows, by @bdovaz in #2294
Test: create a testing architecture for format/autofix linters, by @bdovaz in #2294
Test: create or adapt input files for format/autofix tests, by @bdovaz in #2294
Test: created specific test folders for linters that need them because they cannot share them, by @bdovaz in #2294
Added rubocop-rake RubyGem for linting Rake files with RuboCop
Fixes
Correctly generate class names and test class files for each linter when the linter descriptor defines the attribute "name", by @bdovaz in #2294
Removed the default powershell templates TEMPLATES/.powershell-formatter.psd1 and TEMPLATES/.powershell-psscriptanalyzer.psd1. Having these templates caused all rules to be ignored as the settings are not incremental but absolute, by @bdovaz in #2294
Added cli_lint_fix_arg_name parameter to dotnet format descriptor as without it, autofix does not work, by @bdovaz in #2294
Created BicepLinter class to add DOTNET_SYSTEM_GLOBALIZATION_INVARIANT environment variable to avoid problems with ICU packages, by @bdovaz in #2294
Modified npm-groovy-lint descriptor to add --failon parameter to only fail with error and not info which is the default value, by @bdovaz in #2294
Added cli_lint_fix_arg_name parameter to powershell formatter descriptor as without it, autofix does not work, by @bdovaz in #2294
Created ProtolintLinter class to fix the problem that returns exit code 1 when it encounters a problem to correct even though it corrects it correctly, by @bdovaz in #2294
Concatenate --output parameter correctly to xmllint linter, by @bdovaz in #2294
Modified the .pre-commit-hooks.yaml for megalinter-full so the containername argument is correctly split between two lines, by @drbothen#2411
Avoid jscpd default config to detect copy pastes in image files
Move utilstest to megalinter folder to avoid import issues
Change swiftlint example that did not correctly reflect the --fix parameter, by @bdovaz in #2294
Change in TSX eslint descriptor the urls as they were not correct, by @bdovaz in #2294
Change in TYPESCRIPT eslint descriptor the urls as they were not correct, by @bdovaz on #2294
Use mkdocs-glightbox to allow to click on images and display them in full screen
CI
Use docker/build-push-action to build docker images and akhilerm/tag-push-action to release by retagging and pushing beta images instead of rebuilding them
Authenticate to GitHub API during docker build to avoid reaching limits
Create a slash PR bot to run ./build.sh command manually on PRs, by @echoix in #2353 and #2381
Limit parallel execution of large job matrix in the workflows with max-parallel in order to keep runners available for other jobs, by @echoix in #2397
Upgrade base docker image from python:3.10.4-alpine3.16 to python:3.11.1-alpine3.17
Build: remove folder contents before generating Dockerfile files for each linter in generate_linter_dockerfiles(), by @bdovaz in #2294
Build: remove folder contents before generating test classes for each linter in generate_linter_test_classes(), by @bdovaz in #2294
Build: automatically update the linter list used in the matrix of several of the workflows, by @bdovaz in #2294
Test: create a testing architecture for format/autofix linters, by @bdovaz in #2294
Test: create or adapt input files for format/autofix tests, by @bdovaz in #2294
Test: created specific test folders for linters that need them because they cannot share them, by @bdovaz in #2294
Added rubocop-rake RubyGem for linting Rake files with RuboCop
Fixes
Correctly generate class names and test class files for each linter when the linter descriptor defines the attribute "name", by @bdovaz in #2294
Removed the default powershell templates TEMPLATES/.powershell-formatter.psd1 and TEMPLATES/.powershell-psscriptanalyzer.psd1. Having these templates caused all rules to be ignored as the settings are not incremental but absolute, by @bdovaz in #2294
Added cli_lint_fix_arg_name parameter to dotnet format descriptor as without it, autofix does not work, by @bdovaz in #2294
Created BicepLinter class to add DOTNET_SYSTEM_GLOBALIZATION_INVARIANT environment variable to avoid problems with ICU packages, by @bdovaz in #2294
Modified npm-groovy-lint descriptor to add --failon parameter to only fail with error and not info which is the default value, by @bdovaz in #2294
Added cli_lint_fix_arg_name parameter to powershell formatter descriptor as without it, autofix does not work, by @bdovaz in #2294
Created ProtolintLinter class to fix the problem that returns exit code 1 when it encounters a problem to correct even though it corrects it correctly, by @bdovaz in #2294
Concatenate --output parameter correctly to xmllint linter, by @bdovaz in #2294
Modified the .pre-commit-hooks.yaml for megalinter-full so the containername argument is correctly split between two lines, by @drbothen#2411
Avoid jscpd default config to detect copy pastes in image files
Move utilstest to megalinter folder to avoid import issues
Change swiftlint example that did not correctly reflect the --fix parameter, by @bdovaz in #2294
Change in TSX eslint descriptor the urls as they were not correct, by @bdovaz in #2294
Change in TYPESCRIPT eslint descriptor the urls as they were not correct, by @bdovaz on #2294
Use mkdocs-glightbox to allow to click on images and display them in full screen
CI
Use docker/build-push-action to build docker images and akhilerm/tag-push-action to release by retagging and pushing beta images instead of rebuilding them
Authenticate to GitHub API during docker build to avoid reaching limits
Create a slash PR bot to run ./build.sh command manually on PRs, by @echoix in #2353 and #2381
Limit parallel execution of large job matrix in the workflows with max-parallel in order to keep runners available for other jobs, by @echoix in #2397
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps oxsecurity/megalinter from 6.15.0 to 6.20.0.
Release notes
Sourced from oxsecurity/megalinter's releases.
... (truncated)
Changelog
Sourced from oxsecurity/megalinter's changelog.
... (truncated)
Commits
c1612a7
Release MegaLinter v6.20.049bfbc2
Prepare changelog for v6.20.00d699a3
[automation] Auto-update linters version, help and documentation (#2419)5e7d9e3
Remove useless init.py32009e8
Fix variable scope in EXTENDS management (#2418)868b6c1
Move utilstest to megalinter folder to avoid import issues (#2417)aed76ac
Fix flavors import errorfaf92f6
Fix flavors (#2416)ac8ce67
Use mkdocs-glightbox to allow to click on images and display them in full scr...575e2fa
Avoid jscpd default config to detect copy pastes in image files (#2407)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)