diff --git a/.automation/test/yml/README.md b/.automation/test/yaml/README.md similarity index 87% rename from .automation/test/yml/README.md rename to .automation/test/yaml/README.md index 8016e848..3f42a5fa 100644 --- a/.automation/test/yml/README.md +++ b/.automation/test/yaml/README.md @@ -1,6 +1,6 @@ -# Yml Test Cases +# Yaml Test Cases -This folder holds the test cases for **Yml**. +This folder holds the test cases for **Yaml**. ## Additional Docs diff --git a/.automation/test/yml/reports/expected-YML.tap b/.automation/test/yaml/reports/expected-YML.tap similarity index 100% rename from .automation/test/yml/reports/expected-YML.tap rename to .automation/test/yaml/reports/expected-YML.tap diff --git a/.automation/test/yml/yml_bad_1.yml b/.automation/test/yaml/yml_bad_1.yml similarity index 100% rename from .automation/test/yml/yml_bad_1.yml rename to .automation/test/yaml/yml_bad_1.yml diff --git a/.automation/test/yml/yml_good_1.yml b/.automation/test/yaml/yml_good_1.yml similarity index 100% rename from .automation/test/yml/yml_good_1.yml rename to .automation/test/yaml/yml_good_1.yml diff --git a/lib/linter.sh b/lib/linter.sh index 6327f7cb..de9d129b 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -118,7 +118,7 @@ LANGUAGE_ARRAY=('ANSIBLE' 'ARM' 'BASH' 'CLOUDFORMATION' 'CLOJURE' 'COFFEESCRIPT' 'DART' 'DOCKER' 'ENV' 'GO' 'GROOVY' 'HTML' 'JAVASCRIPT_ES' 'JAVASCRIPT_STANDARD' 'JSON' 'JSX' 'KOTLIN' 'LUA' 'MARKDOWN' 'OPENAPI' 'PERL' 'PHP' 'PHP_PHPSTAN' 'POWERSHELL' 'PROTOBUF' 'PYTHON_PYLINT' 'PYTHON_FLAKE8' 'RAKU' 'RUBY' 'STATES' 'TERRAFORM' - 'TERRAFORM_TERRASCAN' 'TSX' 'TYPESCRIPT_ES' 'TYPESCRIPT_STANDARD' 'XML' 'YML') + 'TERRAFORM_TERRASCAN' 'TSX' 'TYPESCRIPT_ES' 'TYPESCRIPT_STANDARD' 'XML' 'YAML') ############################################ # Array for all languages that were linted # diff --git a/lib/worker.sh b/lib/worker.sh index 3dbdb83c..31617599 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -604,7 +604,7 @@ function RunTestCases() { TestCodebase "TYPESCRIPT_ES" "eslint" "eslint --no-eslintrc -c ${TYPESCRIPT_LINTER_RULES}" ".*\.\(ts\)\$" "typescript" TestCodebase "TYPESCRIPT_STANDARD" "standard" "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin ${TYPESCRIPT_STANDARD_LINTER_RULES}" ".*\.\(ts\)\$" "typescript" TestCodebase "XML" "xmllint" "xmllint" ".*\.\(xml\)\$" "xml" - TestCodebase "YAML" "yamllint" "yamllint -c ${YAML_LINTER_RULES}" ".*\.\(yml\|yaml\)\$" "yml" + TestCodebase "YAML" "yamllint" "yamllint -c ${YAML_LINTER_RULES}" ".*\.\(yml\|yaml\)\$" "yaml" ################# # Footer prints #