superlint/.automation/test
Gabriel Diaz 5c31b85619
Remove duplicated code (#1137)
* Remove duplicated code on ghe config apply

* Add funciton to replace duplicated cod

* Fix comment

* Fix java test duplicated code

* Fix python test duplicated code

* Update javascript es test acording to change

* Fix linters bash

* Fix javascript standard linters on javascript es good
2021-01-12 12:54:00 -06:00
..
ansible Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
arm Update arm template (#1131) 2021-01-11 08:57:49 -06:00
bash Harden testing (#982) 2020-11-20 09:12:31 -06:00
bash_exec Harden testing (#982) 2020-11-20 09:12:31 -06:00
clojure Harden testing (#982) 2020-11-20 09:12:31 -06:00
cloudformation Harden testing (#982) 2020-11-20 09:12:31 -06:00
coffeescript Harden testing (#982) 2020-11-20 09:12:31 -06:00
csharp Harden testing (#982) 2020-11-20 09:12:31 -06:00
css Harden testing (#982) 2020-11-20 09:12:31 -06:00
dart Harden testing (#982) 2020-11-20 09:12:31 -06:00
dockerfile Harden testing (#982) 2020-11-20 09:12:31 -06:00
dockerfile_hadolint Harden testing (#982) 2020-11-20 09:12:31 -06:00
editorconfig Harden testing (#982) 2020-11-20 09:12:31 -06:00
env Harden testing (#982) 2020-11-20 09:12:31 -06:00
gherkin Harden testing (#982) 2020-11-20 09:12:31 -06:00
go Harden testing (#982) 2020-11-20 09:12:31 -06:00
groovy Harden testing (#982) 2020-11-20 09:12:31 -06:00
html Harden testing (#982) 2020-11-20 09:12:31 -06:00
java Enable @SuppressWarnings annotation support by default for Java (#1052) 2020-12-04 08:46:42 -06:00
javascript_es Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
javascript_prettier Adding support for Prettier (#1118) 2021-01-04 11:07:57 -06:00
javascript_standard Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
json Harden testing (#982) 2020-11-20 09:12:31 -06:00
kotlin Harden testing (#982) 2020-11-20 09:12:31 -06:00
kubernetes_kubeval Harden testing (#982) 2020-11-20 09:12:31 -06:00
latex Harden testing (#982) 2020-11-20 09:12:31 -06:00
lua Harden testing (#982) 2020-11-20 09:12:31 -06:00
markdown Harden testing (#982) 2020-11-20 09:12:31 -06:00
openapi Format Markdown 2020-07-21 12:08:05 -05:00
perl Harden testing (#982) 2020-11-20 09:12:31 -06:00
php_builtin Harden testing (#982) 2020-11-20 09:12:31 -06:00
php_phpcs Harden testing (#982) 2020-11-20 09:12:31 -06:00
php_phpstan Harden testing (#982) 2020-11-20 09:12:31 -06:00
php_psalm Harden testing (#982) 2020-11-20 09:12:31 -06:00
powershell Harden testing (#982) 2020-11-20 09:12:31 -06:00
protobuf Bump yoheimuta/protolint from v0.26.1 to v0.27.0 (#1097) 2021-01-04 12:47:37 -06:00
python_black Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
python_flake8 Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
python_isort Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
python_pylint Remove duplicated code (#1137) 2021-01-12 12:54:00 -06:00
r Harden testing (#982) 2020-11-20 09:12:31 -06:00
raku Harden testing (#982) 2020-11-20 09:12:31 -06:00
ruby Harden testing (#982) 2020-11-20 09:12:31 -06:00
shell_shfmt Harden testing (#982) 2020-11-20 09:12:31 -06:00
snakemake_lint Harden testing (#982) 2020-11-20 09:12:31 -06:00
snakemake_snakefmt Harden testing (#982) 2020-11-20 09:12:31 -06:00
sql Harden testing (#982) 2020-11-20 09:12:31 -06:00
states Harden testing (#982) 2020-11-20 09:12:31 -06:00
tekton Harden testing (#982) 2020-11-20 09:12:31 -06:00
terraform fixing logic for file find (#1049) 2020-12-03 16:17:55 -06:00
terraform_terrascan fixing logic for file find (#1049) 2020-12-03 16:17:55 -06:00
terragrunt Harden testing (#982) 2020-11-20 09:12:31 -06:00
typescript_es Harden testing (#982) 2020-11-20 09:12:31 -06:00
typescript_standard Harden testing (#982) 2020-11-20 09:12:31 -06:00
xml Harden testing (#982) 2020-11-20 09:12:31 -06:00
yaml Harden testing (#982) 2020-11-20 09:12:31 -06:00
README.md Format Markdown 2020-07-21 12:08:05 -05:00

Test Cases

This folder holds test cases that are used to validate the sanity of the Super-Linter. The format:

  • Each Super-Linter language should have its own folder
    • Folder(s) containing test cases for each language supported
    • Passing test case(s) per language denoted in naming scheme
      • FORMAT: LANGUAGE_(TYPE)_FILE.EXTENSION
      • Example: markdown_good_5.md
      • Note: This allows the process to understand if linting of the file should pass or fail\
      • Note: (good=Standard linting should be successful bad=standard linting should fail )
    • Failing test case(s) per language denoted in naming scheme
      • FORMAT: LANGUAGE_(TYPE)_FILE.EXTENSION
      • Example: markdown_bad_5.md
      • Note: (good=Standard linting should be successful bad=standard linting should fail )
  • Script to run test cases and validate the sanity of Super-Linter