mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 12:10:56 -05:00
added error variables
This commit is contained in:
parent
f381c47e22
commit
a6c59a9b68
1 changed files with 2 additions and 5 deletions
|
@ -226,6 +226,8 @@ ERRORS_FOUND_COFFEESCRIPT=0 # Count of errors found
|
||||||
ERRORS_FOUND_ANSIBLE=0 # Count of errors found
|
ERRORS_FOUND_ANSIBLE=0 # Count of errors found
|
||||||
ERRORS_FOUND_JAVASCRIPT_STANDARD=0 # Count of errors found
|
ERRORS_FOUND_JAVASCRIPT_STANDARD=0 # Count of errors found
|
||||||
ERRORS_FOUND_JAVASCRIPT_ES=0 # Count of errors found
|
ERRORS_FOUND_JAVASCRIPT_ES=0 # Count of errors found
|
||||||
|
ERRORS_FOUND_JSX=0 # Count of errors found
|
||||||
|
ERRORS_FOUND_TSX=0 # Count of errors found
|
||||||
ERRORS_FOUND_TYPESCRIPT_STANDARD=0 # Count of errors found
|
ERRORS_FOUND_TYPESCRIPT_STANDARD=0 # Count of errors found
|
||||||
ERRORS_FOUND_TYPESCRIPT_ES=0 # Count of errors found
|
ERRORS_FOUND_TYPESCRIPT_ES=0 # Count of errors found
|
||||||
ERRORS_FOUND_DOCKER=0 # Count of errors found
|
ERRORS_FOUND_DOCKER=0 # Count of errors found
|
||||||
|
@ -1113,15 +1115,10 @@ if [ "$VALIDATE_JSX" == "true" ]; then
|
||||||
LintCodebase "JSX" "eslint" "eslint --no-eslintrc -c $JAVASCRIPT_LINTER_RULES" ".*\.\(jsx\)\$" "${FILE_ARRAY_JSX[@]}"
|
LintCodebase "JSX" "eslint" "eslint --no-eslintrc -c $JAVASCRIPT_LINTER_RULES" ".*\.\(jsx\)\$" "${FILE_ARRAY_JSX[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# TSX LINTING #
|
# TSX LINTING #
|
||||||
######################
|
######################
|
||||||
if [ "$VALIDATE_TSX" == "true" ]; then
|
if [ "$VALIDATE_TSX" == "true" ]; then
|
||||||
#################################
|
|
||||||
# Get Typescript standard rules #
|
|
||||||
#################################
|
|
||||||
GetStandardRules "typescript"
|
|
||||||
#############################
|
#############################
|
||||||
# Lint the TSX files #
|
# Lint the TSX files #
|
||||||
#############################
|
#############################
|
||||||
|
|
Loading…
Reference in a new issue