mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 08:01:03 -05:00
Fixes
This commit is contained in:
parent
d7bbd8d3bb
commit
1bb5236960
2 changed files with 32 additions and 32 deletions
|
@ -23,10 +23,10 @@ source /action/lib/worker.sh # Source the function script(s)
|
||||||
###########
|
###########
|
||||||
# Ansible Vars
|
# Ansible Vars
|
||||||
ANSIBLE_FILE_NAME='.ansible-lint.yml' # Name of the file
|
ANSIBLE_FILE_NAME='.ansible-lint.yml' # Name of the file
|
||||||
ANSIBLE_LINTER_RULES="$DEFAULT_RULES_LOCATION/$ANSIBLE_FILE_NAME" # Path to the Ansible lint rules
|
ANSIBLE_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${ANSIBLE_FILE_NAME}" # Path to the Ansible lint rules
|
||||||
# Azure Resource Manager Vars
|
# Azure Resource Manager Vars
|
||||||
ARM_FILE_NAME='.arm-ttk.psd1' # Name of the file
|
ARM_FILE_NAME='.arm-ttk.psd1' # Name of the file
|
||||||
ARM_LINTER_RULES="$DEFAULT_RULES_LOCATION/$ARM_FILE_NAME" # Path to the ARM lint rules
|
ARM_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${ARM_FILE_NAME}" # Path to the ARM lint rules
|
||||||
# Cloudformation Vars
|
# Cloudformation Vars
|
||||||
CFN_FILE_NAME='.cfnlintrc.yml' # Name of the file
|
CFN_FILE_NAME='.cfnlintrc.yml' # Name of the file
|
||||||
CFN_LINTER_RULES="$DEFAULT_RULES_LOCATION/$CFN_FILE_NAME" # Path to the cloudformation lint rules
|
CFN_LINTER_RULES="$DEFAULT_RULES_LOCATION/$CFN_FILE_NAME" # Path to the cloudformation lint rules
|
||||||
|
|
|
@ -84,36 +84,36 @@ function GetValidationInfo() {
|
||||||
# Determine if any linters were explicitly set #
|
# Determine if any linters were explicitly set #
|
||||||
################################################
|
################################################
|
||||||
ANY_SET="false"
|
ANY_SET="false"
|
||||||
if [[ -n $VALIDATE_ANSIBLE || -n \
|
if [[ -n ${VALIDATE_ANSIBLE} || -n \
|
||||||
$VALIDATE_ARM || -n \
|
${VALIDATE_ARM} || -n \
|
||||||
$VALIDATE_BASH || -n \
|
${VALIDATE_BASH} || -n \
|
||||||
$VALIDATE_CLOJURE || -n \
|
${VALIDATE_CLOJURE} || -n \
|
||||||
$VALIDATE_COFFEE || -n \
|
${VALIDATE_COFFEE} || -n \
|
||||||
$VALIDATE_CSS || -n \
|
${VALIDATE_CSS} || -n \
|
||||||
$VALIDATE_DART || -n \
|
${VALIDATE_DART} || -n \
|
||||||
$VALIDATE_DOCKER || -n \
|
${VALIDATE_DOCKER} || -n \
|
||||||
$VALIDATE_EDITORCONFIG || -n \
|
${VALIDATE_EDITORCONFIG} || -n \
|
||||||
$VALIDATE_ENV || -n \
|
${VALIDATE_ENV} || -n \
|
||||||
$VALIDATE_GO || -n \
|
${VALIDATE_GO} || -n \
|
||||||
$VALIDATE_HTML || -n \
|
${VALIDATE_HTML} || -n \
|
||||||
$VALIDATE_JAVASCRIPT_ES || -n \
|
${VALIDATE_JAVASCRIPT_ES} || -n \
|
||||||
$VALIDATE_JAVASCRIPT_STANDARD || -n \
|
${VALIDATE_JAVASCRIPT_STANDARD} || -n \
|
||||||
$VALIDATE_JSON || -n \
|
${VALIDATE_JSON} || -n \
|
||||||
$VALIDATE_KOTLIN || -n \
|
${VALIDATE_KOTLIN} || -n \
|
||||||
$VALIDATE_MARKDOWN || -n \
|
${VALIDATE_MARKDOWN} || -n \
|
||||||
$VALIDATE_OPENAPI || -n \
|
${VALIDATE_OPENAPI} || -n \
|
||||||
$VALIDATE_PERL || -n \
|
${VALIDATE_PERL} || -n \
|
||||||
$VALIDATE_PHP || -n \
|
${VALIDATE_PHP} || -n \
|
||||||
$VALIDATE_POWERSHELL || -n \
|
${VALIDATE_POWERSHELL} || -n \
|
||||||
$VALIDATE_PROTOBUF || -n \
|
${VALIDATE_PROTOBUF} || -n \
|
||||||
$VALIDATE_PYTHON || -n \
|
${VALIDATE_PYTHON} || -n \
|
||||||
$VALIDATE_RAKU || -n \
|
${VALIDATE_RAKU} || -n \
|
||||||
$VALIDATE_RUBY || -n \
|
${VALIDATE_RUBY} || -n \
|
||||||
$VALIDATE_TERRAFORM || -n \
|
${VALIDATE_TERRAFORM} || -n \
|
||||||
$VALIDATE_TYPESCRIPT_ES || -n \
|
${VALIDATE_TYPESCRIPT_ES} || -n \
|
||||||
$VALIDATE_TYPESCRIPT_STANDARD || -n \
|
${VALIDATE_TYPESCRIPT_STANDARD} || -n \
|
||||||
$VALIDATE_XML || -n \
|
${VALIDATE_XML} || -n \
|
||||||
$VALIDATE_YAML ]]; then
|
${VALIDATE_YAML} ]]; then
|
||||||
ANY_SET="true"
|
ANY_SET="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue