mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
95f0c2d534
- add `pub get || true` - add --fatal flags to throw 1 on exit Adding `pub get` enables dart to import dev/project dependencies before analysis/linting. It is set to always return true in the event this has already occured somewhere else in the CI workflow a pubspec.yaml does not exist Using `--fatal-(infos|warnings)` allows super-linter to fail when a lint is reported. |
||
---|---|---|
.. | ||
buildFileList.sh | ||
linter.sh | ||
possum.sh | ||
README.md | ||
termColors.sh | ||
validation.sh | ||
worker.sh |
Super-Linter Library
Main script
The file linter.sh
is the main script that is called for the process and loads all other scripts as functions.
Functions
The additional files in the folder are functions to help streamline the main build process and allow for easier maintenance.
possum.sh
- Official mascot of the Super-Linter
buildFileList.sh
- Functions to help find files that were modified, or need to be scanned
validation.sh
- Logic to see what linters are enabled
worker.sh
- Calls to the various linters and the test cases for each