mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-12 12:00:03 -05:00
3dc85fc3bc
* Allow ansible-lint with git diffs super-linter checks the path of the file in lib/functions/detectFiles.sh to determine whether the file is an ansible playbook. When VALIDATE_ALL_CODEBASE=true, a list of absolute paths is generated which matches the expected path but when VALIDATE_ALL_CODEBASE=false, a list of relative paths is generated so no files are "detected" as ansible playbooks. This change outputs everything as an absolute path so diffs will also work. * fix quotes * Include eval to interpret pipe in cmd substitution * more quotes Co-authored-by: Admiral Awkbar <admiralawkbar@github.com> |
||
---|---|---|
.. | ||
functions | ||
linter.sh | ||
README.md |
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