MegaLinter V7 has been released :)
nvuillam opened this issue · comments
See release notes here -> https://github.com/oxsecurity/megalinter/releases/tag/v7.0.2
If you have any issue, please comment here :)
Click to see the video on Youtube, or check LinkedIn post
Impacting: Use of relative file paths to call linters
Now the linters are called with the relative file names, on contrary to the absolute file names used from the beginning of MegaLinter
Basically, for example we used to call eslint /tmp/lint/myfolder/myfile.js
and now we call eslint myfolder/myfile.js
The only impacting issue seems to be with PRE_COMMANDS that install additonal npm dependencies.
- pre-commands are executed in
/node-deps
ONLY if they containnpm i
oryarn add
AND if the cwd is "root" (which is by default). Before it used to be in/node-deps
undepending the cwd value - If they do not work with
cwd: root
, it will probably work withcwd: workspace
- If you see such impact on your repo , please notify here in a comment :)
Known issues
Breaking changes
- composer is no longer in MegaLinter docker image. If you have PRE_COMMANDS using it, please install it previously with a PRE_COMMAND
apk install composer
(cf issue #2702 )
Pending
- Tiny issue with upgrader , check that the report folder is megalinter-reports before committing :) (Waiting for NPM internal bug fix)
Released in 7.0.3
Released in 7.0.4
Hi,
The newly introduced CLOJURE_CLJSTYLE
linter has internal failures.
I'm getting this error for every Clojure file in my project:
[cljstyle] project.clj - ERROR - 1 error(s)
--Error detail:
Unknown option: "-c"
I have to disable it to resolve the CI pipeline.
@evg-tso released in 7.1.0 :)
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖
label or comment on the issue.