superlint/.automation/test
Vadim Hatsura 80476af4f7
feat: use built-in dotnet format linter for csharp language (#4627)
* chore: add test case for csharp language which should pass

it shows that the current version of linter for csharp language reports false positive issues

* feat: use built-in linter for csharp language

https://github.com/dotnet/format/issues/1268

* chore: remove dotnet-format installation from install-dotnet.sh

dotnet format is a part of .NET 6 SDK and shouldn't be installed separately anymore

* docs: update linter name for dotnet

instead of dotnet-format built-in format command from dotnet is used (points to the same repository as before)

* chore: update linter name for dotnet in tests

---------

Co-authored-by: Zack Koppert <zkoppert@github.com>
2023-10-16 18:31:03 +00:00
..
ansible Update ansible test 2023-04-10 14:51:50 -04:00
arm Updates ARM template API version (#4188) 2023-05-15 11:26:53 -07:00
bash remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
bash_exec remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
clang_format adding clang (#1762) 2021-07-14 14:43:10 -05:00
clojure remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
cloudformation Cleanup YAML Linting and Enable Rules (#2301) 2022-01-06 09:59:15 -06:00
coffeescript remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
cpp Minor clang-format linter cleanup (#1764) 2021-07-14 16:05:37 -07:00
csharp feat: use built-in dotnet format linter for csharp language (#4627) 2023-10-16 18:31:03 +00:00
css Update Deps (#2107) 2021-11-09 14:35:36 -06:00
dart remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
dockerfile remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
dockerfile_hadolint remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
editorconfig remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
env remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
gherkin remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
github_actions Cleanup YAML Linting and Enable Rules (#2301) 2022-01-06 09:59:15 -06:00
gitleaks really bad test 2021-09-27 15:32:04 -05:00
go Remove unused parameter 2023-04-10 19:33:27 -04:00
google_java_format Fix Google Java Format tests and return code, and show output only if changed (#3810) 2023-01-11 15:52:36 +01:00
groovy remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
html remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
java remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
javascript_es remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
javascript_prettier remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
javascript_standard remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
jscpd remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
json Don't ignore dotfiles when running eslint 2023-01-07 09:15:33 -05:00
jsonc Eslint for json jsonc and json5 (#1524) 2021-05-11 10:54:58 -05:00
jsx remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
kotlin fix kotlin (#3068) 2022-06-20 13:20:15 -05:00
kotlin_android fix kotlin (#3068) 2022-06-20 13:20:15 -05:00
kubernetes_kubeconform Address PR comments 2023-01-16 21:14:13 -05:00
latex Update chktex docker image (#4592) 2023-09-01 07:21:48 +00:00
lua remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
markdown remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
natural_language Add textlint (#2021) 2021-10-05 08:29:05 -05:00
openapi Cleanup YAML Linting and Enable Rules (#2301) 2022-01-06 09:59:15 -06:00
perl remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
php_builtin remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
php_phpcs remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
php_phpstan remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
php_psalm remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
powershell remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
protobuf Bump eslint-plugin-jest from 24.3.2 to 24.3.4 in /dependencies (#1429) 2021-04-30 14:28:19 -05:00
python_black Disable flake8 rule E203 (#2821) 2022-05-02 09:28:30 -05:00
python_flake8 Disable flake8 rule E203 (#2821) 2022-05-02 09:28:30 -05:00
python_isort remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
python_mypy remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
python_pylint remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
r remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
raku remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
renovate renovate-config-validator: validate shareable config preset (#4674) 2023-09-29 20:25:37 +00:00
ruby remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
rust_2015 remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
rust_2018 remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
rust_2021 Add RUST_2021 test and fix RUST_2021 file list (#2215) 2021-12-07 15:55:54 -06:00
rust_clippy remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
scalafmt Adding scalafmt (#2053) 2021-11-10 12:28:50 -06:00
shell_shfmt remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
snakemake_lint remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
snakemake_snakefmt remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
sql Sqlfluff (#1834) 2021-08-05 15:32:27 -05:00
sqlfluff SQLFluff 0.12.0 upgrade (#2786) 2022-04-12 10:28:29 -05:00
states remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
tekton Cleanup YAML Linting and Enable Rules (#2301) 2022-01-06 09:59:15 -06:00
terraform_fmt review comments 2023-01-04 22:44:16 -05:00
terraform_terrascan update version (#1607) 2021-06-01 09:53:44 -05:00
terraform_tflint Bump terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0 (#3339) 2022-09-28 14:52:41 +02:00
terragrunt remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
tsx remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
typescript_es remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
typescript_standard Use ts-standard instead of standard as TYPESCRIPT_STANDARD (#2614) 2022-03-16 10:21:57 -05:00
xml remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
yaml remove tap and tests (#1496) 2021-04-30 12:46:24 -05:00
go.mod Update go version of go.mod (#4718) 2023-10-15 15:58:37 +00:00
go.sum Bump golang.org/x/net from 0.7.0 to 0.17.0 in /.automation/test (#4734) 2023-10-15 05:09:19 +00: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