superlint/lib
Chris McIntosh 6c7dc51cf8
Fixes Regex to match only container files more strictly (#4867)
* #4846 fixes regex to be more strict with filenames that container Dockerfile but that are not actually dockerfiles

* Debug print for ANSIBLE_DIRECTORY to see if tests exist

* Trying out the =~ operator

* rm echo cmd

* catch the i-am-containerfile case

* rm extra space

* Remove quotes for shell format linter

---------

Co-authored-by: Zack Koppert <zkoppert@github.com>
2023-11-15 05:44:46 +00:00
..
functions Fixes Regex to match only container files more strictly (#4867) 2023-11-15 05:44:46 +00:00
linter.sh Change WORKDIR in script, not relying on docker run -w by user (#4821) 2023-11-05 04:29:52 +00:00
README.md Format Markdown 2020-07-21 12:08:05 -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