superlint/lib
Casey Vega daba819f85
update linter.sh - remove pub
On second thought, I do not like this approach because it's asking `pub` questions it has already answered for each file, coupled with the fact that `|| true` means pub can fail for whatever reason. Looking at the other linters, and looking at the recent bug report in #120 I think it's safe to assume that pub, or any package manager can be called as a first step and then proceed to super lint.
2020-07-21 12:33:36 -07:00
..
buildFileList.sh Variable braces 2020-07-21 12:23:27 -05:00
linter.sh update linter.sh - remove pub 2020-07-21 12:33:36 -07:00
possum.sh shfmt files 2020-07-01 16:46:35 -05:00
README.md Format Markdown 2020-07-21 12:08:05 -05:00
termColors.sh Added support for jsx and tsx files 2020-07-07 15:15:20 +02:00
validation.sh Variable braces 2020-07-21 12:23:27 -05:00
worker.sh Variable braces 2020-07-21 12:23:27 -05: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