Closed MalcolmMielle closed 2 years ago
That's almost exactly what I just did! Agreed 100%.
I removed dart from the super-linter so it will lint everything else. CI.yml
already does the analyze
.
And I found why the previous run passed: the lint.yml
file had the ENV variable VALIDATE_ALL_CODEBASE
set to false
which only scans files updated in the PR.
Is that solution good for you :)?
It works now!!
If it will not validate the main dart code then what's the point of the linter?
Validating the markdown files, CI yml files, and checking that no GitHub secret is leaked. Up to you if you think it's useful :). I'm open about it :).
I think
flutter pub get
would not work as flutter is not installed in lint ci, Why not just add super linter to the ci.yml and not build the app at all, I thinkflutter analyze
is enough and building is not necessary. I am open for opinions.