superlint/lib
Casey Vega 95f0c2d534
add dart pub get and --fatal flags
- 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.
2020-07-14 23:36:22 -07:00
..
buildFileList.sh Merge branch 'master' into dart 2020-07-06 22:03:31 -07:00
linter.sh add dart pub get and --fatal flags 2020-07-14 23:36:22 -07:00
possum.sh shfmt files 2020-07-01 16:46:35 -05:00
README.md adding readme 2020-06-29 11:17:25 -05:00
termColors.sh shfmt files 2020-07-01 16:46:35 -05:00
validation.sh Merge branch 'master' into dart 2020-07-06 22:03:31 -07:00
worker.sh add dart pub get and --fatal flags 2020-07-14 23:36:22 -07:00

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