MegaLinter job remarks / improvements
I tested default MegaLinter r2devOps jobs here -> https://gitlab.com/nvuillam1/test-megalinter/-/merge_requests/1
- Where can I see errors in Gitlab UI ?
- Gitlab MR comments should be activated by default
- Catalog: Should contain text
Linters and security for all coding languages, notforked from super-linter:) - Doc: For better readability, url for configuration could be https://oxsecurity.github.io/megalinter/latest/configuration/ instead of https://github.com/oxsecurity/megalinter/#common-variables
- Upgrade ML default image to 6.10 ( or even 6.11 depending when you manage this issue :) )
- Job:
- Why disabling CSPELL by default ?
- Don't use deprecated variables OUTPUT_FORMAT and OUTPUT_DETAIL, it' better to use SARIF_REPORTER -> https://oxsecurity.github.io/megalinter/latest/reporters/SarifReporter/
- You can get rid of TAP stuff, it won't be used anymore
- REPORT_OUTPUT_FOLDER could be let with its default value megalinter-reports ( safer in case i forgot some bugs in MegaLinter core ^^ )
- FILTER_REGEX_EXCLUDE can be let unset (else it will exclude files with
nonein path, that may not be wanted by repo owners)