diff --git a/.automation/test/README.md b/.automation/test/README.md deleted file mode 100644 index 2ebd6c71..00000000 --- a/.automation/test/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# 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** diff --git a/.automation/test/ansible/README.md b/.automation/test/ansible/README.md deleted file mode 100644 index d4c6a1a1..00000000 --- a/.automation/test/ansible/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Ansible Test Cases - -This folder holds the test cases for **Ansible**. - -## Additional Docs - -The folder **roles/ghe-initialize** is pulled from the **GitHub-Demo-Stack** and is a valid **Ansible** role. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/arm/README.md b/.automation/test/arm/README.md deleted file mode 100644 index 08354610..00000000 --- a/.automation/test/arm/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# ARM Test Cases - -This folder holds the test cases for **Azure Resource Manager (ARM)**. - -## Additional Docs - -Note: apiVersions older than 2 years (730 days) are treated as errors by the ARM linter if there is a newer version available. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/bash/README.md b/.automation/test/bash/README.md deleted file mode 100644 index a2e8300f..00000000 --- a/.automation/test/bash/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Bash Test Cases - -This folder holds the test cases for **Bash**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/bash_exec/README.md b/.automation/test/bash_exec/README.md deleted file mode 100644 index 9b1c0d38..00000000 --- a/.automation/test/bash_exec/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Bash Test Cases - -This folder holds the test cases for **Bash Exec**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/clang_format/README.md b/.automation/test/clang_format/README.md deleted file mode 100644 index e66d8a86..00000000 --- a/.automation/test/clang_format/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# CPP Test Cases - -This folder holds the test cases for **CPP**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/clojure/README.md b/.automation/test/clojure/README.md deleted file mode 100644 index 24594144..00000000 --- a/.automation/test/clojure/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Clojure Test Cases - -This folder holds the test cases for **Clojure**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/cloudformation/README.md b/.automation/test/cloudformation/README.md deleted file mode 100644 index e90eba79..00000000 --- a/.automation/test/cloudformation/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# AWS CloudFormation Test Cases - -This folder holds the test cases for **CloudFormation**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/coffeescript/README.md b/.automation/test/coffeescript/README.md deleted file mode 100644 index 01b401a9..00000000 --- a/.automation/test/coffeescript/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Coffeescript Test Cases - -This folder holds the test cases for **Coffeescript**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/cpp/README.md b/.automation/test/cpp/README.md deleted file mode 100644 index 6d66ca83..00000000 --- a/.automation/test/cpp/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Clang Test Cases - -This folder holds the test cases for **C/C++**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/csharp/README.md b/.automation/test/csharp/README.md deleted file mode 100644 index eadae5be..00000000 --- a/.automation/test/csharp/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# CSharp Test Cases - -This folder holds the test cases for **CSharp**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/css/README.md b/.automation/test/css/README.md deleted file mode 100644 index 7c284115..00000000 --- a/.automation/test/css/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# CSS Test Cases - -This folder holds the test cases for **CSS**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/dart/README.md b/.automation/test/dart/README.md deleted file mode 100644 index 220ba3d2..00000000 --- a/.automation/test/dart/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Dart Test Cases - -This folder holds the test cases for **Dart**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/dockerfile/README.md b/.automation/test/dockerfile/README.md deleted file mode 100644 index cdc0a8a4..00000000 --- a/.automation/test/dockerfile/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Docker Test Cases - -This folder holds the test cases for **Docker**. - -## Additional Docs - -Due to the nature of the naming of files, we have `2` subfolders in this directory. - -- `good` is for working, and correct **Dockerfile**(s) -- `bad` is for invalid, and incorrect **Dockerfile**(s) - -## Good Test Cases - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/dockerfile_hadolint/README.md b/.automation/test/dockerfile_hadolint/README.md deleted file mode 100644 index cdc0a8a4..00000000 --- a/.automation/test/dockerfile_hadolint/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Docker Test Cases - -This folder holds the test cases for **Docker**. - -## Additional Docs - -Due to the nature of the naming of files, we have `2` subfolders in this directory. - -- `good` is for working, and correct **Dockerfile**(s) -- `bad` is for invalid, and incorrect **Dockerfile**(s) - -## Good Test Cases - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/dockerfile_hadolint/bad/Dockerfile b/.automation/test/dockerfile_hadolint/bad/Dockerfile deleted file mode 100644 index 4c9c4c72..00000000 --- a/.automation/test/dockerfile_hadolint/bad/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -from node:latest - -# Create app directory -run mkdir -p /usr/src/app -WORKDIR /usr/src/app - -# Install app dependencies -copy package.json /usr/src/app/ /here/there -RUN sudo npm install - -ADD server.js server.js -EXPOSE 1 -CMD ["node", "server.js"] -ENtrypoint /tmp/here.sh diff --git a/.automation/test/editorconfig/README.md b/.automation/test/editorconfig/README.md deleted file mode 100644 index 8016cf91..00000000 --- a/.automation/test/editorconfig/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# EDITORCONFIG Test Cases - -This folder holds the test cases for **EDITORCONFIG**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/env/README.md b/.automation/test/env/README.md deleted file mode 100644 index 2aa92dc1..00000000 --- a/.automation/test/env/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# ENV Test Cases - -This folder holds the test cases for **ENV**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/gherkin/README.md b/.automation/test/gherkin/README.md deleted file mode 100644 index bccc410c..00000000 --- a/.automation/test/gherkin/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Gherkin Test Cases - -This folder holds the test cases for **Gherkin**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/github_actions/README.md b/.automation/test/github_actions/README.md deleted file mode 100644 index b47bf50f..00000000 --- a/.automation/test/github_actions/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# GitHub Actions Test Cases - -This folder holds the test cases for **Github Actions**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. -{"mode":"full","isActive":false} diff --git a/.automation/test/gitleaks/README.md b/.automation/test/gitleaks/README.md deleted file mode 100644 index 29721d1f..00000000 --- a/.automation/test/gitleaks/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# GitLeaks Test Cases - -This folder holds the test cases for **GitLeaks**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. -{"mode":"full","isActive":false} diff --git a/.automation/test/go.mod b/.automation/test/go.mod deleted file mode 100644 index e842c2d9..00000000 --- a/.automation/test/go.mod +++ /dev/null @@ -1,25 +0,0 @@ -module github.com/super-linter/super-linter - -go 1.21 - -toolchain go1.21.1 - -require ( - github.com/go-playground/validator/v10 v10.11.1 - github.com/labstack/echo/v4 v4.9.1 -) - -require ( - github.com/go-playground/locales v0.14.0 // indirect - github.com/go-playground/universal-translator v0.18.0 // indirect - github.com/labstack/gommon v0.4.0 // indirect - github.com/leodido/go-urn v1.2.1 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.16 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasttemplate v1.2.2 // indirect - golang.org/x/crypto v0.14.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect -) diff --git a/.automation/test/go.sum b/.automation/test/go.sum deleted file mode 100644 index 9493c04c..00000000 --- a/.automation/test/go.sum +++ /dev/null @@ -1,107 +0,0 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= -github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= -github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= -github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= -github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= -github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= -github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ= -github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= -github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/labstack/echo/v4 v4.9.1 h1:GliPYSpzGKlyOhqIbG8nmHBo3i1saKWFOgh41AN3b+Y= -github.com/labstack/echo/v4 v4.9.1/go.mod h1:Pop5HLc+xoc4qhTZ1ip6C0RtP7Z+4VzRLWZZFKqbbjo= -github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= -github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= -github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= -github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/.automation/test/go/README.md b/.automation/test/go/README.md deleted file mode 100644 index d09bfaa8..00000000 --- a/.automation/test/go/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Golang Test Cases - -This folder holds the test cases for **Golang**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. -- **Note:** `.automation/test/` contains `go.mod` and `go.sum` which need to test `golang_good_02.go`. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/go/golang_good_02.go b/.automation/test/go/golang_good_02.go deleted file mode 100644 index 38a8455b..00000000 --- a/.automation/test/go/golang_good_02.go +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "github.com/go-playground/validator/v10" - "github.com/labstack/echo/v4" -) - -type FooType struct { - Var *string `validate:"alphanum"` -} - -func post(echo.Context) (err error) { - validate := validator.New() - - if err = validate.Struct(FooType{Var: nil}); err != nil { - return - } - - return -} - -func server() (e *echo.Echo) { - e = echo.New() - e.POST("/", post) - return -} - -func main() { - e := server() - e.Logger.Fatal(e.Start(":8000")) -} diff --git a/.automation/test/go/reports/expected-GO-7.tap b/.automation/test/go/reports/expected-GO-7.tap deleted file mode 100644 index 9c2f83cd..00000000 --- a/.automation/test/go/reports/expected-GO-7.tap +++ /dev/null @@ -1,7 +0,0 @@ -TAP version 13 -1..2 -not ok 1 - golang_bad_01.go - --- - message: level=warningg="[runner] The linter 'maligned' is deprecated (since v1.38.0) due to The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'."\ngo/golang_bad_01.go 1 1 expected 'package', found 'if' (typecheck)\nif len(in) == 0 {\n^\n - ... -ok 2 - golang_good_01.go diff --git a/.automation/test/google_java_format/README.md b/.automation/test/google_java_format/README.md deleted file mode 100644 index 8fef03d8..00000000 --- a/.automation/test/google_java_format/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Google Java Format Test Cases - -This folder holds the test cases for **Google Java format**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/groovy/README.md b/.automation/test/groovy/README.md deleted file mode 100644 index 8dc5badf..00000000 --- a/.automation/test/groovy/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Groovy Test Cases -This folder holds the test cases for **Groovy**. - -## Additional Docs -No Additional information is needed for this test case. - -## Good Test Cases -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/html/README.md b/.automation/test/html/README.md deleted file mode 100644 index 1223d83b..00000000 --- a/.automation/test/html/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# HTML Test Cases - -This folder holds the test cases for **HTML**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/java/README.md b/.automation/test/java/README.md deleted file mode 100644 index c51155cc..00000000 --- a/.automation/test/java/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Java Test Cases - -This folder holds the test cases for **Java**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/javascript_es/README.md b/.automation/test/javascript_es/README.md deleted file mode 100644 index 6917a7e1..00000000 --- a/.automation/test/javascript_es/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Javascript Test Cases - -This folder holds the test cases for **Javascript**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/javascript_prettier/README.md b/.automation/test/javascript_prettier/README.md deleted file mode 100644 index 6917a7e1..00000000 --- a/.automation/test/javascript_prettier/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Javascript Test Cases - -This folder holds the test cases for **Javascript**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/javascript_standard/README.md b/.automation/test/javascript_standard/README.md deleted file mode 100644 index 6917a7e1..00000000 --- a/.automation/test/javascript_standard/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Javascript Test Cases - -This folder holds the test cases for **Javascript**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/jscpd/good/Dockerfile b/.automation/test/jscpd/good/Dockerfile deleted file mode 100644 index 33ed48d0..00000000 --- a/.automation/test/jscpd/good/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:10 - -# Create app directory -RUN mkdir -p /usr/src/app -WORKDIR /usr/src/app - -# Install app dependencies -COPY package.json /usr/src/app/ -RUN npm install - -COPY server.js server.js -EXPOSE 3000 -CMD ["node", "server.js"] diff --git a/.automation/test/jscpd/good/Dockerfile.dev b/.automation/test/jscpd/good/Dockerfile.dev deleted file mode 100644 index 33ed48d0..00000000 --- a/.automation/test/jscpd/good/Dockerfile.dev +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:10 - -# Create app directory -RUN mkdir -p /usr/src/app -WORKDIR /usr/src/app - -# Install app dependencies -COPY package.json /usr/src/app/ -RUN npm install - -COPY server.js server.js -EXPOSE 3000 -CMD ["node", "server.js"] diff --git a/.automation/test/json/README.md b/.automation/test/json/README.md deleted file mode 100644 index 27069412..00000000 --- a/.automation/test/json/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Json Test Cases - -This folder holds the test cases for **Json**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/jsonc/README.md b/.automation/test/jsonc/README.md deleted file mode 100644 index 27069412..00000000 --- a/.automation/test/jsonc/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Json Test Cases - -This folder holds the test cases for **Json**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/kotlin/README.md b/.automation/test/kotlin/README.md deleted file mode 100644 index bec051a8..00000000 --- a/.automation/test/kotlin/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Kotlin Test Cases - -This folder holds the test cases for **Kotlin**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/kubernetes_kubeconform/README.md b/.automation/test/kubernetes_kubeconform/README.md deleted file mode 100644 index 41ae4fcc..00000000 --- a/.automation/test/kubernetes_kubeconform/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Kubeconform Test Cases - -This folder holds the test cases for **Kubeconform**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/latex/README.md b/.automation/test/latex/README.md deleted file mode 100644 index c48b1437..00000000 --- a/.automation/test/latex/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# LaTeX Test Cases -This folder holds the test cases for **LaTeX**. - -## Additional Docs -No Additional information is needed for this test case. - -## Good Test Cases -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/lua/README.md b/.automation/test/lua/README.md deleted file mode 100644 index 01aef10a..00000000 --- a/.automation/test/lua/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Lua Test Cases -This folder holds the test cases for **Lua**. - -## Additional Docs -No Additional information is needed for this test case. - -## Good Test Cases -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/markdown/README.md b/.automation/test/markdown/README.md deleted file mode 100644 index b46cbf13..00000000 --- a/.automation/test/markdown/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Markdown Test Cases - -This folder holds the test cases for **Markdown**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/natural_language/README.md b/.automation/test/natural_language/README.md deleted file mode 100644 index f53efe24..00000000 --- a/.automation/test/natural_language/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Natural language Test Cases - -This folder holds the test cases for **natural language**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. -{"mode":"full","isActive":false} diff --git a/.automation/test/openapi/README.md b/.automation/test/openapi/README.md deleted file mode 100644 index 353663e7..00000000 --- a/.automation/test/openapi/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# OpenAPI Test Cases - -This folder holds the test cases for **OpenAPI**. - -## Additional Docs - -The `_bad_` tests are valid `.yml`/`.json` but invalid OpenAPI specs. -The test extensions used are `.ymlopenapi`/`.jsonopenapi` instead of `.yml`/`.json`. This is to prevent the [YAML] and [JSON] tests from picking them up. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/perl/README.md b/.automation/test/perl/README.md deleted file mode 100644 index 0b5539df..00000000 --- a/.automation/test/perl/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Perl Test Cases - -This folder holds the test cases for **Perl**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/php_builtin/README.md b/.automation/test/php_builtin/README.md deleted file mode 100644 index e1156daf..00000000 --- a/.automation/test/php_builtin/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# PHP Test Cases - -This folder holds the test cases for **PHP**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/php_phpcs/README.md b/.automation/test/php_phpcs/README.md deleted file mode 100644 index e1156daf..00000000 --- a/.automation/test/php_phpcs/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# PHP Test Cases - -This folder holds the test cases for **PHP**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/php_phpstan/README.md b/.automation/test/php_phpstan/README.md deleted file mode 100644 index e1156daf..00000000 --- a/.automation/test/php_phpstan/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# PHP Test Cases - -This folder holds the test cases for **PHP**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/php_psalm/README.md b/.automation/test/php_psalm/README.md deleted file mode 100644 index e1156daf..00000000 --- a/.automation/test/php_psalm/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# PHP Test Cases - -This folder holds the test cases for **PHP**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/powershell/README.md b/.automation/test/powershell/README.md deleted file mode 100644 index 008b7b71..00000000 --- a/.automation/test/powershell/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# PowerShell Test Cases - -This folder holds the test cases for **PowerShell**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/protobuf/README.md b/.automation/test/protobuf/README.md deleted file mode 100644 index 7048213f..00000000 --- a/.automation/test/protobuf/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Protobuf Test Cases - -This folder holds the test cases for **Protobuf**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/protobuf/reports/expected-PROTOBUF-3.tap b/.automation/test/protobuf/reports/expected-PROTOBUF-3.tap deleted file mode 100644 index 06ddffcb..00000000 --- a/.automation/test/protobuf/reports/expected-PROTOBUF-3.tap +++ /dev/null @@ -1,7 +0,0 @@ -TAP version 13 -1..2 -not ok 1 - protobuf_bad_1.proto - --- - message: [protobuf/protobuf_bad_1.proto 8 1] The order of Import is invalid. Check if the file is ordered in the correct manner.\n[protobuf/protobuf_bad_1.proto 18 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 19 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 20 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 21 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 24 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 26 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 25 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 27 7] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 28 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 29 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 30 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 31 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 34 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 34 30] Found a possible incorrect indentation style. Inserting a new line is recommended.\n[protobuf/protobuf_bad_1.proto 35 32] Found a possible incorrect indentation style. Inserting a new line is recommended.\n[protobuf/protobuf_bad_1.proto 47 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 3 1] The line length is 91, but it must be shorter than 80\n[protobuf/protobuf_bad_1.proto 4 1] Package name "examplePb" must not contain any uppercase letter.\n[protobuf/protobuf_bad_1.proto 8 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 9 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 14 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 15 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 19 5] EnumField name "UNKNOWN" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 20 5] EnumField name "STARTED" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 21 5] EnumField name "RUNNING" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 19 5] EnumField name "UNKNOWN" with zero value should have the suffix "UNSPECIFIED"\n[protobuf/protobuf_bad_1.proto 17 1] Enum name "enumAllowingAlias" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 36 3] Field "inner_message" should avoid required for proto3\n[protobuf/protobuf_bad_1.proto 37 3] Group "Result" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 40 3] Group "Result" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 43 3] Group "Regular" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 29 5] Repeated field name "inner_message" must be pluralized name "inner_messages"\n[protobuf/protobuf_bad_1.proto 40 3] Repeated group name "Result" must be pluralized name "Results"\n[protobuf/protobuf_bad_1.proto 42 3] Repeated field name "paper" must be pluralized name "papers"\n[protobuf/protobuf_bad_1.proto 43 3] Repeated group name "Regular" must be pluralized name "Regulars"\n[protobuf/protobuf_bad_1.proto 23 1] Message name "outer" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 26 5] Message name "inner" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 47 5] RPC name "search" must be UpperCamelCase\n - ... -ok 2 - protobuf_good_1.proto diff --git a/.automation/test/protobuf/reports/expected-PROTOBUF-4.tap b/.automation/test/protobuf/reports/expected-PROTOBUF-4.tap deleted file mode 100644 index 06ddffcb..00000000 --- a/.automation/test/protobuf/reports/expected-PROTOBUF-4.tap +++ /dev/null @@ -1,7 +0,0 @@ -TAP version 13 -1..2 -not ok 1 - protobuf_bad_1.proto - --- - message: [protobuf/protobuf_bad_1.proto 8 1] The order of Import is invalid. Check if the file is ordered in the correct manner.\n[protobuf/protobuf_bad_1.proto 18 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 19 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 20 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 21 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 24 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 26 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 25 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 27 7] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 28 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 29 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 30 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 31 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 34 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 34 30] Found a possible incorrect indentation style. Inserting a new line is recommended.\n[protobuf/protobuf_bad_1.proto 35 32] Found a possible incorrect indentation style. Inserting a new line is recommended.\n[protobuf/protobuf_bad_1.proto 47 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 3 1] The line length is 91, but it must be shorter than 80\n[protobuf/protobuf_bad_1.proto 4 1] Package name "examplePb" must not contain any uppercase letter.\n[protobuf/protobuf_bad_1.proto 8 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 9 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 14 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 15 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 19 5] EnumField name "UNKNOWN" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 20 5] EnumField name "STARTED" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 21 5] EnumField name "RUNNING" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 19 5] EnumField name "UNKNOWN" with zero value should have the suffix "UNSPECIFIED"\n[protobuf/protobuf_bad_1.proto 17 1] Enum name "enumAllowingAlias" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 36 3] Field "inner_message" should avoid required for proto3\n[protobuf/protobuf_bad_1.proto 37 3] Group "Result" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 40 3] Group "Result" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 43 3] Group "Regular" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 29 5] Repeated field name "inner_message" must be pluralized name "inner_messages"\n[protobuf/protobuf_bad_1.proto 40 3] Repeated group name "Result" must be pluralized name "Results"\n[protobuf/protobuf_bad_1.proto 42 3] Repeated field name "paper" must be pluralized name "papers"\n[protobuf/protobuf_bad_1.proto 43 3] Repeated group name "Regular" must be pluralized name "Regulars"\n[protobuf/protobuf_bad_1.proto 23 1] Message name "outer" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 26 5] Message name "inner" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 47 5] RPC name "search" must be UpperCamelCase\n - ... -ok 2 - protobuf_good_1.proto diff --git a/.automation/test/protobuf/reports/expected-PROTOBUF-5.tap b/.automation/test/protobuf/reports/expected-PROTOBUF-5.tap deleted file mode 100644 index 06ddffcb..00000000 --- a/.automation/test/protobuf/reports/expected-PROTOBUF-5.tap +++ /dev/null @@ -1,7 +0,0 @@ -TAP version 13 -1..2 -not ok 1 - protobuf_bad_1.proto - --- - message: [protobuf/protobuf_bad_1.proto 8 1] The order of Import is invalid. Check if the file is ordered in the correct manner.\n[protobuf/protobuf_bad_1.proto 18 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 19 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 20 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 21 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 24 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 26 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 25 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 27 7] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 28 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 29 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 30 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 31 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 34 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 34 30] Found a possible incorrect indentation style. Inserting a new line is recommended.\n[protobuf/protobuf_bad_1.proto 35 32] Found a possible incorrect indentation style. Inserting a new line is recommended.\n[protobuf/protobuf_bad_1.proto 47 5] Found an incorrect indentation style " ". " " is correct.\n[protobuf/protobuf_bad_1.proto 3 1] The line length is 91, but it must be shorter than 80\n[protobuf/protobuf_bad_1.proto 4 1] Package name "examplePb" must not contain any uppercase letter.\n[protobuf/protobuf_bad_1.proto 8 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 9 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 14 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 15 1] Imports are not sorted.\n[protobuf/protobuf_bad_1.proto 19 5] EnumField name "UNKNOWN" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 20 5] EnumField name "STARTED" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 21 5] EnumField name "RUNNING" should have the prefix "ENUM_ALLOWING_ALIAS"\n[protobuf/protobuf_bad_1.proto 19 5] EnumField name "UNKNOWN" with zero value should have the suffix "UNSPECIFIED"\n[protobuf/protobuf_bad_1.proto 17 1] Enum name "enumAllowingAlias" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 36 3] Field "inner_message" should avoid required for proto3\n[protobuf/protobuf_bad_1.proto 37 3] Group "Result" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 40 3] Group "Result" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 43 3] Group "Regular" should be avoided for proto3\n[protobuf/protobuf_bad_1.proto 29 5] Repeated field name "inner_message" must be pluralized name "inner_messages"\n[protobuf/protobuf_bad_1.proto 40 3] Repeated group name "Result" must be pluralized name "Results"\n[protobuf/protobuf_bad_1.proto 42 3] Repeated field name "paper" must be pluralized name "papers"\n[protobuf/protobuf_bad_1.proto 43 3] Repeated group name "Regular" must be pluralized name "Regulars"\n[protobuf/protobuf_bad_1.proto 23 1] Message name "outer" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 26 5] Message name "inner" must be UpperCamelCase\n[protobuf/protobuf_bad_1.proto 47 5] RPC name "search" must be UpperCamelCase\n - ... -ok 2 - protobuf_good_1.proto diff --git a/.automation/test/python_black/README.md b/.automation/test/python_black/README.md deleted file mode 100644 index aa9bb375..00000000 --- a/.automation/test/python_black/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Python Test Cases - -This folder holds the test cases for **Python**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/python_flake8/README.md b/.automation/test/python_flake8/README.md deleted file mode 100644 index aa9bb375..00000000 --- a/.automation/test/python_flake8/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Python Test Cases - -This folder holds the test cases for **Python**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/python_isort/README.md b/.automation/test/python_isort/README.md deleted file mode 100644 index aa9bb375..00000000 --- a/.automation/test/python_isort/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Python Test Cases - -This folder holds the test cases for **Python**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/python_mypy/README.md b/.automation/test/python_mypy/README.md deleted file mode 100644 index aa9bb375..00000000 --- a/.automation/test/python_mypy/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Python Test Cases - -This folder holds the test cases for **Python**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/python_pylint/README.md b/.automation/test/python_pylint/README.md deleted file mode 100644 index aa9bb375..00000000 --- a/.automation/test/python_pylint/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Python Test Cases - -This folder holds the test cases for **Python**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/r/README.md b/.automation/test/r/README.md deleted file mode 100644 index 12f123c1..00000000 --- a/.automation/test/r/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# R Test Cases -This folder holds the test cases for **R**. - -## Additional Docs -No Additional information is needed for this test case. - -## Good Test Cases -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/raku/README.md b/.automation/test/raku/README.md deleted file mode 100644 index 812e8bbd..00000000 --- a/.automation/test/raku/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Raku Test Cases - -This folder holds the test cases for **Raku**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/renovate/README.md b/.automation/test/renovate/README.md deleted file mode 100644 index fb847d3d..00000000 --- a/.automation/test/renovate/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Renovate Test Cases - -This folder holds the test cases for **renovate**. - -## Additional Docs - -Due to the nature of the naming of files, we have `2` subfolders in this directory. - -- `good` is for working, and correct renovate config files -- `bad` is for invalid, and incorrect renovate config files - -## Good Test Cases - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/ruby/README.md b/.automation/test/ruby/README.md deleted file mode 100644 index 03b03125..00000000 --- a/.automation/test/ruby/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Ruby Test Cases - -This folder holds the test cases for **Ruby**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/rust_clippy/README.md b/.automation/test/rust_clippy/README.md deleted file mode 100644 index 9bdebc24..00000000 --- a/.automation/test/rust_clippy/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Rust Project Test Cases - -This folder holds the test cases for **Rust**. - -## Additional Docs - -Due to the nature of the naming of files, we have `2` subfolders in this directory. - -- `good` is for working, and correct project -- `bad` is for invalid, and incorrect project - -## Good Test Cases - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/scalafmt/README.md b/.automation/test/scalafmt/README.md deleted file mode 100644 index 3288feba..00000000 --- a/.automation/test/scalafmt/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Scala Test Cases - -This folder holds the test cases for **Scala**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/shell_shfmt/README.md b/.automation/test/shell_shfmt/README.md deleted file mode 100644 index 19c6d867..00000000 --- a/.automation/test/shell_shfmt/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# SHFMT Test Cases - -This folder holds the test cases for **SHFMT**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/snakemake_lint/README.md b/.automation/test/snakemake_lint/README.md deleted file mode 100644 index e25faf23..00000000 --- a/.automation/test/snakemake_lint/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Snakemake test cases - -This folder holds the test cases for **Snakemake**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/snakemake_snakefmt/README.md b/.automation/test/snakemake_snakefmt/README.md deleted file mode 100644 index e25faf23..00000000 --- a/.automation/test/snakemake_snakefmt/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Snakemake test cases - -This folder holds the test cases for **Snakemake**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/sql/README.md b/.automation/test/sql/README.md deleted file mode 100644 index dcf9d73b..00000000 --- a/.automation/test/sql/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# SQL Test Cases - -This folder holds the test cases for **SQL**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/sqlfluff/README.md b/.automation/test/sqlfluff/README.md deleted file mode 100644 index 4c056a00..00000000 --- a/.automation/test/sqlfluff/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# SQL Fluff Test Cases - -This folder holds the test cases for **SQL**. - -## Additional Docs - -From version 0.12.0 SQLFluff requires a dialect to be set, and no longer sets a default. This can be provided as a command line argument, or a `.sqlfluff` config file (either in the usualy place for SQLFluff config files, or within the folder containg the SQL). - -For SQLFluff we have added a default `.sqlfluff` config file in this test directory. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/states/README.md b/.automation/test/states/README.md deleted file mode 100644 index f2c3dfc3..00000000 --- a/.automation/test/states/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# AWS States language Test Cases - -This folder holds the test cases for **AWS States Language**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/tekton/README.md b/.automation/test/tekton/README.md deleted file mode 100644 index 221415e6..00000000 --- a/.automation/test/tekton/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Tekton language Test Cases - -This folder holds the test cases for **Tekton**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/terraform_fmt/README.md b/.automation/test/terraform_fmt/README.md deleted file mode 100644 index 3318dfc7..00000000 --- a/.automation/test/terraform_fmt/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Terraform Format Test Cases. - -This folder holds the test cases for **Terraform Formatting**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when formatted. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when formatted. diff --git a/.automation/test/terraform_terrascan/README.md b/.automation/test/terraform_terrascan/README.md deleted file mode 100644 index 036699d9..00000000 --- a/.automation/test/terraform_terrascan/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# AWS States language Test Cases - -This folder holds the test cases for **Terraform terrascan**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap b/.automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap deleted file mode 100644 index e9aefe7c..00000000 --- a/.automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap +++ /dev/null @@ -1,7 +0,0 @@ -TAP version 13 -1..2 -not ok 1 - terraform-terrascan_bad_1.tf - --- - message: 2021-03-09T14 08 05.328Z error opa/engine.go 90 failed to load rego file{file 15 0 /root/.terrascan/pkg/policies/opa/rego/aws/aws_kms_key/kmsKeyNoDisabled.rego } {error 25 0 open /root/.terrascan/pkg/policies/opa/rego/aws/aws_kms_key/kmsKeyNoDisabled.rego no such file or directory}\nresults \n violations \n - rule_name instanceWithNoVpc\n description Ensure that your AWS application is not deployed within the default Virtual Private Cloud in order to follow security best practices\n rule_id AC-AW-IS-IN-M-0146\n severity MEDIUM\n category Infrastructure Security\n resource_name instanceWithNoVpc\n resource_type aws_instance\n file terraform-terrascan_bad_1.tf\n line 1\n count \n low 0\n medium 1\n high 0\n total 1\n - ... -ok 2 - terraform-terrascan_good_1.tf diff --git a/.automation/test/terraform_tflint/README.md b/.automation/test/terraform_tflint/README.md deleted file mode 100644 index 6cb4f692..00000000 --- a/.automation/test/terraform_tflint/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# AWS States language Test Cases - -This folder holds the test cases for **Terraform**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/terragrunt/README.md b/.automation/test/terragrunt/README.md deleted file mode 100644 index d0f43321..00000000 --- a/.automation/test/terragrunt/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Terragrunt Test Cases - -This folder holds the test cases for **Terragrunt**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/typescript_es/README.md b/.automation/test/typescript_es/README.md deleted file mode 100644 index 19cd7a3d..00000000 --- a/.automation/test/typescript_es/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Typescript Test Cases - -This folder holds the test cases for **Typescript**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/typescript_standard/README.md b/.automation/test/typescript_standard/README.md deleted file mode 100644 index 19cd7a3d..00000000 --- a/.automation/test/typescript_standard/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Typescript Test Cases - -This folder holds the test cases for **Typescript**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/xml/README.md b/.automation/test/xml/README.md deleted file mode 100644 index 6719e960..00000000 --- a/.automation/test/xml/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# XML Test Cases - -This folder holds the test cases for **XML**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/yaml/README.md b/.automation/test/yaml/README.md deleted file mode 100644 index 3f42a5fa..00000000 --- a/.automation/test/yaml/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Yaml Test Cases - -This folder holds the test cases for **Yaml**. - -## Additional Docs - -No Additional information is needed for this test case. - -## Good Test Cases - -The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. - -- **Note:** They are linted utilizing the default linter rules. - -## Bad Test Cases - -The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. - -- **Note:** They are linted utilizing the default linter rules. diff --git a/.github/linters/tsconfig.json b/.github/linters/tsconfig.json index 21e7591e..d2536856 100644 --- a/.github/linters/tsconfig.json +++ b/.github/linters/tsconfig.json @@ -6,12 +6,16 @@ "src", "tests", "tools", - "/tmp/lint/.automation/test" + "/tmp/lint/test/linters" ], "overrides": [ { - "extends": ["plugin:@typescript-eslint/disable-type-checked"], - "files": ["./**/*.{ts,tsx}"] + "extends": [ + "plugin:@typescript-eslint/disable-type-checked" + ], + "files": [ + "./**/*.{ts,tsx}" + ] } ] } diff --git a/.gitignore b/.gitignore index 141fa543..c8be838a 100644 --- a/.gitignore +++ b/.gitignore @@ -85,5 +85,5 @@ test/reports # Test leftovers .lintr -.automation/test/rust_clippy/**/Cargo.lock -.automation/test/rust_clippy/**/target/** +test/linters/rust_clippy/**/Cargo.lock +test/linters/rust_clippy/**/target/** diff --git a/.vscode/testlinter.sh b/.vscode/testlinter.sh index 5094c89e..fe9612d9 100755 --- a/.vscode/testlinter.sh +++ b/.vscode/testlinter.sh @@ -14,7 +14,7 @@ CODE_PATH='/tmp/lint' # Path to code base ################## if [ ! -L ${CODE_PATH} ]; then # Create symbolic link - ln -s "${PWD}"/.automation/test ${CODE_PATH} + ln -s "${PWD}"/test/linters ${CODE_PATH} fi ######################### diff --git a/Makefile b/Makefile index a8365391..6ce9ab5c 100644 --- a/Makefile +++ b/Makefile @@ -135,7 +135,7 @@ lint-codebase: ## Lint the entire codebase test-linters: ## Run the linters test suite docker run \ -e ACTIONS_RUNNER_DEBUG=true \ - -e ANSIBLE_DIRECTORY=.automation/test/ansible \ + -e ANSIBLE_DIRECTORY=test/linters/ansible \ -e DEFAULT_BRANCH=main \ -e ENABLE_GITHUB_ACTIONS_GROUP_TITLE=true \ -e ERROR_ON_MISSING_EXEC_BIT=true \ diff --git a/docs/add-new-linter.md b/docs/add-new-linter.md index 27e4cf68..bf3aa937 100644 --- a/docs/add-new-linter.md +++ b/docs/add-new-linter.md @@ -7,9 +7,9 @@ new tool, it should include: - `README.md` - Provide test cases: - 1. Create the `.automation/test/` directory. - 2. Provide at least one test case with a file that is supposed to pass validation: `.automation/test//-good.ext` - 3. Provide at least one test case with a file that is supposed to fail validation: `.automation/test//-bad.ext` + 1. Create the `test/linters/` directory. + 2. Provide at least one test case with a file that is supposed to pass validation: `test/linters//-good` + 3. Provide at least one test case with a file that is supposed to fail validation: `test/linters//-bad` - Update the test suite to check for installed packages, the commands that your new tool needs in the `PATH`, and the expected version command: diff --git a/lib/functions/detectFiles.sh b/lib/functions/detectFiles.sh index 581af0de..ab162965 100755 --- a/lib/functions/detectFiles.sh +++ b/lib/functions/detectFiles.sh @@ -14,7 +14,7 @@ DetectActions() { debug "Checking if ${FILE} is a GitHub Actions file..." # Check if in the users .github, or the super linter test suite - if [[ "$(dirname "${FILE}")" == *".github/workflows"* ]] || [[ "$(dirname "${FILE}")" == *".automation/test/github_actions"* ]]; then + if [[ "$(dirname "${FILE}")" == *".github/workflows"* ]] || [[ "$(dirname "${FILE}")" == *"${TEST_CASE_FOLDER}/github_actions"* ]]; then debug "${FILE} is GitHub Actions file." return 0 else diff --git a/lib/linter.sh b/lib/linter.sh index c5799f5f..93ed5060 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -416,10 +416,10 @@ DEFAULT_DISABLE_ERRORS='false' # Default to ena export DEFAULT_DISABLE_ERRORS # Workaround SC2034 ERROR_ON_MISSING_EXEC_BIT="${ERROR_ON_MISSING_EXEC_BIT:-false}" # Default to report a warning if a shell script doesn't have the executable bit set to 1 export ERROR_ON_MISSING_EXEC_BIT -RAW_FILE_ARRAY=() # Array of all files that were changed -export RAW_FILE_ARRAY # Workaround SC2034 -TEST_CASE_FOLDER='.automation/test' # Folder for test cases we should always ignore -export TEST_CASE_FOLDER # Workaround SC2034 +RAW_FILE_ARRAY=() # Array of all files that were changed +export RAW_FILE_ARRAY # Workaround SC2034 +TEST_CASE_FOLDER='test/linters' # Folder for test cases we should always ignore +export TEST_CASE_FOLDER # Workaround SC2034 ########################## # Array of changed files # diff --git a/test/linters/README.md b/test/linters/README.md new file mode 100644 index 00000000..f1beae65 --- /dev/null +++ b/test/linters/README.md @@ -0,0 +1,49 @@ +# Test Cases + +This directory contains test cases that super-linter uses to validate if a +particular linter is working. + +These test cases focus on how super-linter invokes each linter and their exit +codes. We deliberately avoid to verify if the output of a given linter matches +the expectations because it's the responsibility of each linter to do so. + +## Test case format + +Each **super-linter** language should have its own directory, named after the +language they refer to. + +The name of each test case denotes its nature: + +- Test cases that are expected to pass validation contain the `good` string in + their file name, or path. Example: `markdown_good_5.md` +- Test cases that are expected to fail validation contain the `bad` string in + their file name, or path. Example: `markdown_bad_5.md` + +## Notes about specific tests + +In this section, we explain the peculiarities of certain test cases. + +### SQL Fluff test cases + +From version 0.12.0 SQLFluff requires a dialect to be set, and no longer sets a +default. This can be provided as a command line argument, or a `.sqlfluff` +config file (either in the usualy place for SQLFluff config files, or within the +folder containg the SQL). + +For SQLFluff we have added a default `.sqlfluff` config file in its test +directory. + +### OpenAPI test cases + +The `_bad_` tests are valid `.yml`/`.json` but invalid OpenAPI specs. +The test extensions used are `.ymlopenapi`/`.jsonopenapi` instead of +`.yml`/`.json`. This is to prevent the `YAML` and `JSON` tests from picking them +up. + +### ARM test cases + +`apiVersions` older than 2 years (730 days) are treated as errors by the ARM linter if there is a newer version available. + +### Ansible test cases + +`roles/ghe-initialize` is a valid Ansible role diff --git a/.automation/test/ansible/inventory/hosts.yml b/test/linters/ansible/inventory/hosts.yml similarity index 100% rename from .automation/test/ansible/inventory/hosts.yml rename to test/linters/ansible/inventory/hosts.yml diff --git a/.automation/test/ansible/playbooks/ansible_good_1.yml b/test/linters/ansible/playbooks/ansible_good_1.yml similarity index 100% rename from .automation/test/ansible/playbooks/ansible_good_1.yml rename to test/linters/ansible/playbooks/ansible_good_1.yml diff --git a/.automation/test/ansible/requirements.yml b/test/linters/ansible/requirements.yml similarity index 100% rename from .automation/test/ansible/requirements.yml rename to test/linters/ansible/requirements.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/defaults/main.yml b/test/linters/ansible/roles/ghe_initialize/defaults/main.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/defaults/main.yml rename to test/linters/ansible/roles/ghe_initialize/defaults/main.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/files/ghe-initial-config.json b/test/linters/ansible/roles/ghe_initialize/files/ghe-initial-config.json similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/files/ghe-initial-config.json rename to test/linters/ansible/roles/ghe_initialize/files/ghe-initial-config.json diff --git a/.automation/test/ansible/roles/ghe_initialize/files/ghe-license.ghl b/test/linters/ansible/roles/ghe_initialize/files/ghe-license.ghl similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/files/ghe-license.ghl rename to test/linters/ansible/roles/ghe_initialize/files/ghe-license.ghl diff --git a/.automation/test/ansible/roles/ghe_initialize/handlers/main.yml b/test/linters/ansible/roles/ghe_initialize/handlers/main.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/handlers/main.yml rename to test/linters/ansible/roles/ghe_initialize/handlers/main.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/collectd-settings.yml b/test/linters/ansible/roles/ghe_initialize/tasks/collectd-settings.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/collectd-settings.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/collectd-settings.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/ghe-api-config-apply.yml b/test/linters/ansible/roles/ghe_initialize/tasks/ghe-api-config-apply.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/ghe-api-config-apply.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/ghe-api-config-apply.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/ghe-config-apply.yml b/test/linters/ansible/roles/ghe_initialize/tasks/ghe-config-apply.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/ghe-config-apply.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/ghe-config-apply.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/ghe-initial-configuration.yml b/test/linters/ansible/roles/ghe_initialize/tasks/ghe-initial-configuration.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/ghe-initial-configuration.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/ghe-initial-configuration.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/ghe-ldap-configuration.yml b/test/linters/ansible/roles/ghe_initialize/tasks/ghe-ldap-configuration.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/ghe-ldap-configuration.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/ghe-ldap-configuration.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/main.yml b/test/linters/ansible/roles/ghe_initialize/tasks/main.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/main.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/main.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/tasks/splunk-settings.yml b/test/linters/ansible/roles/ghe_initialize/tasks/splunk-settings.yml similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/tasks/splunk-settings.yml rename to test/linters/ansible/roles/ghe_initialize/tasks/splunk-settings.yml diff --git a/.automation/test/ansible/roles/ghe_initialize/templates/collectd-settings.json.j2 b/test/linters/ansible/roles/ghe_initialize/templates/collectd-settings.json.j2 similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/templates/collectd-settings.json.j2 rename to test/linters/ansible/roles/ghe_initialize/templates/collectd-settings.json.j2 diff --git a/.automation/test/ansible/roles/ghe_initialize/templates/forwarding.conf.j2 b/test/linters/ansible/roles/ghe_initialize/templates/forwarding.conf.j2 similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/templates/forwarding.conf.j2 rename to test/linters/ansible/roles/ghe_initialize/templates/forwarding.conf.j2 diff --git a/.automation/test/ansible/roles/ghe_initialize/templates/ghe-config-apply.sh b/test/linters/ansible/roles/ghe_initialize/templates/ghe-config-apply.sh similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/templates/ghe-config-apply.sh rename to test/linters/ansible/roles/ghe_initialize/templates/ghe-config-apply.sh diff --git a/.automation/test/ansible/roles/ghe_initialize/templates/ldap-settings.json.j2 b/test/linters/ansible/roles/ghe_initialize/templates/ldap-settings.json.j2 similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/templates/ldap-settings.json.j2 rename to test/linters/ansible/roles/ghe_initialize/templates/ldap-settings.json.j2 diff --git a/.automation/test/ansible/roles/ghe_initialize/templates/settings.json.j2 b/test/linters/ansible/roles/ghe_initialize/templates/settings.json.j2 similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/templates/settings.json.j2 rename to test/linters/ansible/roles/ghe_initialize/templates/settings.json.j2 diff --git a/.automation/test/ansible/roles/ghe_initialize/templates/splunk-settings.json.j2 b/test/linters/ansible/roles/ghe_initialize/templates/splunk-settings.json.j2 similarity index 100% rename from .automation/test/ansible/roles/ghe_initialize/templates/splunk-settings.json.j2 rename to test/linters/ansible/roles/ghe_initialize/templates/splunk-settings.json.j2 diff --git a/.automation/test/arm/arm_bad_1.json b/test/linters/arm/arm_bad_1.json similarity index 100% rename from .automation/test/arm/arm_bad_1.json rename to test/linters/arm/arm_bad_1.json diff --git a/.automation/test/arm/arm_good_1.json b/test/linters/arm/arm_good_1.json similarity index 100% rename from .automation/test/arm/arm_good_1.json rename to test/linters/arm/arm_good_1.json diff --git a/.automation/test/bash/shell_bad_1.sh b/test/linters/bash/shell_bad_1.sh similarity index 100% rename from .automation/test/bash/shell_bad_1.sh rename to test/linters/bash/shell_bad_1.sh diff --git a/.automation/test/bash/shell_good_1.sh b/test/linters/bash/shell_good_1.sh similarity index 100% rename from .automation/test/bash/shell_good_1.sh rename to test/linters/bash/shell_good_1.sh diff --git a/.automation/test/bash_exec/shell_bad_1.sh b/test/linters/bash_exec/shell_bad_1.sh similarity index 100% rename from .automation/test/bash_exec/shell_bad_1.sh rename to test/linters/bash_exec/shell_bad_1.sh diff --git a/.automation/test/bash_exec/shell_good_1.sh b/test/linters/bash_exec/shell_good_1.sh similarity index 100% rename from .automation/test/bash_exec/shell_good_1.sh rename to test/linters/bash_exec/shell_good_1.sh diff --git a/.automation/test/clang_format/clang_bad_01.cpp b/test/linters/clang_format/clang_bad_01.cpp similarity index 100% rename from .automation/test/clang_format/clang_bad_01.cpp rename to test/linters/clang_format/clang_bad_01.cpp diff --git a/.automation/test/clang_format/clang_good_01.cpp b/test/linters/clang_format/clang_good_01.cpp similarity index 100% rename from .automation/test/clang_format/clang_good_01.cpp rename to test/linters/clang_format/clang_good_01.cpp diff --git a/.automation/test/clojure/clojure_bad_1.clj b/test/linters/clojure/clojure_bad_1.clj similarity index 100% rename from .automation/test/clojure/clojure_bad_1.clj rename to test/linters/clojure/clojure_bad_1.clj diff --git a/.automation/test/clojure/clojure_good_1.clj b/test/linters/clojure/clojure_good_1.clj similarity index 100% rename from .automation/test/clojure/clojure_good_1.clj rename to test/linters/clojure/clojure_good_1.clj diff --git a/.automation/test/cloudformation/cloudformation_bad_1.json b/test/linters/cloudformation/cloudformation_bad_1.json similarity index 100% rename from .automation/test/cloudformation/cloudformation_bad_1.json rename to test/linters/cloudformation/cloudformation_bad_1.json diff --git a/.automation/test/cloudformation/cloudformation_bad_2.yaml b/test/linters/cloudformation/cloudformation_bad_2.yaml similarity index 100% rename from .automation/test/cloudformation/cloudformation_bad_2.yaml rename to test/linters/cloudformation/cloudformation_bad_2.yaml diff --git a/.automation/test/cloudformation/cloudformation_good_1.json b/test/linters/cloudformation/cloudformation_good_1.json similarity index 100% rename from .automation/test/cloudformation/cloudformation_good_1.json rename to test/linters/cloudformation/cloudformation_good_1.json diff --git a/.automation/test/cloudformation/cloudformation_good_2.yaml b/test/linters/cloudformation/cloudformation_good_2.yaml similarity index 100% rename from .automation/test/cloudformation/cloudformation_good_2.yaml rename to test/linters/cloudformation/cloudformation_good_2.yaml diff --git a/.automation/test/coffeescript/coffeescript_bad_1.coffee b/test/linters/coffeescript/coffeescript_bad_1.coffee similarity index 100% rename from .automation/test/coffeescript/coffeescript_bad_1.coffee rename to test/linters/coffeescript/coffeescript_bad_1.coffee diff --git a/.automation/test/coffeescript/coffeescript_good_1.coffee b/test/linters/coffeescript/coffeescript_good_1.coffee similarity index 100% rename from .automation/test/coffeescript/coffeescript_good_1.coffee rename to test/linters/coffeescript/coffeescript_good_1.coffee diff --git a/.automation/test/cpp/cpp_bad_01.cpp b/test/linters/cpp/cpp_bad_01.cpp similarity index 100% rename from .automation/test/cpp/cpp_bad_01.cpp rename to test/linters/cpp/cpp_bad_01.cpp diff --git a/.automation/test/cpp/cpp_good_01.cpp b/test/linters/cpp/cpp_good_01.cpp similarity index 100% rename from .automation/test/cpp/cpp_good_01.cpp rename to test/linters/cpp/cpp_good_01.cpp diff --git a/.automation/test/csharp/csharp_bad_01.cs b/test/linters/csharp/csharp_bad_01.cs similarity index 100% rename from .automation/test/csharp/csharp_bad_01.cs rename to test/linters/csharp/csharp_bad_01.cs diff --git a/.automation/test/csharp/csharp_good_01.cs b/test/linters/csharp/csharp_good_01.cs similarity index 100% rename from .automation/test/csharp/csharp_good_01.cs rename to test/linters/csharp/csharp_good_01.cs diff --git a/.automation/test/csharp/csharp_good_02.cs b/test/linters/csharp/csharp_good_02.cs similarity index 100% rename from .automation/test/csharp/csharp_good_02.cs rename to test/linters/csharp/csharp_good_02.cs diff --git a/.automation/test/css/css_bad_01.css b/test/linters/css/css_bad_01.css similarity index 100% rename from .automation/test/css/css_bad_01.css rename to test/linters/css/css_bad_01.css diff --git a/.automation/test/css/css_good_01.css b/test/linters/css/css_good_01.css similarity index 100% rename from .automation/test/css/css_good_01.css rename to test/linters/css/css_good_01.css diff --git a/.automation/test/dart/dart_bad_1.dart b/test/linters/dart/dart_bad_1.dart similarity index 100% rename from .automation/test/dart/dart_bad_1.dart rename to test/linters/dart/dart_bad_1.dart diff --git a/.automation/test/dart/dart_good_1.dart b/test/linters/dart/dart_good_1.dart similarity index 100% rename from .automation/test/dart/dart_good_1.dart rename to test/linters/dart/dart_good_1.dart diff --git a/.automation/test/dockerfile/bad/Dockerfile b/test/linters/dockerfile_hadolint/bad/Dockerfile similarity index 100% rename from .automation/test/dockerfile/bad/Dockerfile rename to test/linters/dockerfile_hadolint/bad/Dockerfile diff --git a/.automation/test/dockerfile/good/Dockerfile b/test/linters/dockerfile_hadolint/good/Dockerfile similarity index 100% rename from .automation/test/dockerfile/good/Dockerfile rename to test/linters/dockerfile_hadolint/good/Dockerfile diff --git a/.automation/test/dockerfile/good/Dockerfile.dev b/test/linters/dockerfile_hadolint/good/Dockerfile.dev similarity index 100% rename from .automation/test/dockerfile/good/Dockerfile.dev rename to test/linters/dockerfile_hadolint/good/Dockerfile.dev diff --git a/.automation/test/editorconfig/.editorconfig b/test/linters/editorconfig/.editorconfig similarity index 100% rename from .automation/test/editorconfig/.editorconfig rename to test/linters/editorconfig/.editorconfig diff --git a/.automation/test/editorconfig/editorconfig-checker_bad_1.ext b/test/linters/editorconfig/editorconfig-checker_bad_1.ext similarity index 100% rename from .automation/test/editorconfig/editorconfig-checker_bad_1.ext rename to test/linters/editorconfig/editorconfig-checker_bad_1.ext diff --git a/.automation/test/editorconfig/editorconfig-checker_good_1.ext b/test/linters/editorconfig/editorconfig-checker_good_1.ext similarity index 100% rename from .automation/test/editorconfig/editorconfig-checker_good_1.ext rename to test/linters/editorconfig/editorconfig-checker_good_1.ext diff --git a/.automation/test/env/env_bad_1.env b/test/linters/env/env_bad_1.env similarity index 100% rename from .automation/test/env/env_bad_1.env rename to test/linters/env/env_bad_1.env diff --git a/.automation/test/env/env_good_1.env b/test/linters/env/env_good_1.env similarity index 100% rename from .automation/test/env/env_good_1.env rename to test/linters/env/env_good_1.env diff --git a/.automation/test/gherkin/gherkin_bad_01.feature b/test/linters/gherkin/gherkin_bad_01.feature similarity index 100% rename from .automation/test/gherkin/gherkin_bad_01.feature rename to test/linters/gherkin/gherkin_bad_01.feature diff --git a/.automation/test/gherkin/gherkin_good_01.feature b/test/linters/gherkin/gherkin_good_01.feature similarity index 100% rename from .automation/test/gherkin/gherkin_good_01.feature rename to test/linters/gherkin/gherkin_good_01.feature diff --git a/.automation/test/github_actions/actions_bad_01.yml b/test/linters/github_actions/actions_bad_01.yml similarity index 100% rename from .automation/test/github_actions/actions_bad_01.yml rename to test/linters/github_actions/actions_bad_01.yml diff --git a/.automation/test/github_actions/actions_good_01.yml b/test/linters/github_actions/actions_good_01.yml similarity index 100% rename from .automation/test/github_actions/actions_good_01.yml rename to test/linters/github_actions/actions_good_01.yml diff --git a/.automation/test/gitleaks/gitleaks_bad_01.txt b/test/linters/gitleaks/gitleaks_bad_01.txt similarity index 100% rename from .automation/test/gitleaks/gitleaks_bad_01.txt rename to test/linters/gitleaks/gitleaks_bad_01.txt diff --git a/.automation/test/gitleaks/gitleaks_good_01.txt b/test/linters/gitleaks/gitleaks_good_01.txt similarity index 100% rename from .automation/test/gitleaks/gitleaks_good_01.txt rename to test/linters/gitleaks/gitleaks_good_01.txt diff --git a/.automation/test/go/golang_bad_01.go b/test/linters/go/golang_bad_01.go similarity index 100% rename from .automation/test/go/golang_bad_01.go rename to test/linters/go/golang_bad_01.go diff --git a/.automation/test/go/golang_good_01.go b/test/linters/go/golang_good_01.go similarity index 100% rename from .automation/test/go/golang_good_01.go rename to test/linters/go/golang_good_01.go diff --git a/.automation/test/google_java_format/gjf_bad_1.java b/test/linters/google_java_format/gjf_bad_1.java similarity index 100% rename from .automation/test/google_java_format/gjf_bad_1.java rename to test/linters/google_java_format/gjf_bad_1.java diff --git a/.automation/test/google_java_format/gjf_bad_2.java b/test/linters/google_java_format/gjf_bad_2.java similarity index 100% rename from .automation/test/google_java_format/gjf_bad_2.java rename to test/linters/google_java_format/gjf_bad_2.java diff --git a/.automation/test/google_java_format/gjf_good_1.java b/test/linters/google_java_format/gjf_good_1.java similarity index 100% rename from .automation/test/google_java_format/gjf_good_1.java rename to test/linters/google_java_format/gjf_good_1.java diff --git a/.automation/test/google_java_format/gjf_good_2.java b/test/linters/google_java_format/gjf_good_2.java similarity index 100% rename from .automation/test/google_java_format/gjf_good_2.java rename to test/linters/google_java_format/gjf_good_2.java diff --git a/.automation/test/groovy/groovy_bad_01.groovy b/test/linters/groovy/groovy_bad_01.groovy similarity index 100% rename from .automation/test/groovy/groovy_bad_01.groovy rename to test/linters/groovy/groovy_bad_01.groovy diff --git a/.automation/test/groovy/groovy_good_01.groovy b/test/linters/groovy/groovy_good_01.groovy similarity index 100% rename from .automation/test/groovy/groovy_good_01.groovy rename to test/linters/groovy/groovy_good_01.groovy diff --git a/.automation/test/html/html_bad_01.html b/test/linters/html/html_bad_01.html similarity index 100% rename from .automation/test/html/html_bad_01.html rename to test/linters/html/html_bad_01.html diff --git a/.automation/test/html/html_good_01.html b/test/linters/html/html_good_01.html similarity index 100% rename from .automation/test/html/html_good_01.html rename to test/linters/html/html_good_01.html diff --git a/.automation/test/java/java_bad_1.java b/test/linters/java/java_bad_1.java similarity index 100% rename from .automation/test/java/java_bad_1.java rename to test/linters/java/java_bad_1.java diff --git a/.automation/test/java/java_bad_2.java b/test/linters/java/java_bad_2.java similarity index 100% rename from .automation/test/java/java_bad_2.java rename to test/linters/java/java_bad_2.java diff --git a/.automation/test/java/java_good_1.java b/test/linters/java/java_good_1.java similarity index 100% rename from .automation/test/java/java_good_1.java rename to test/linters/java/java_good_1.java diff --git a/.automation/test/java/java_good_2.java b/test/linters/java/java_good_2.java similarity index 100% rename from .automation/test/java/java_good_2.java rename to test/linters/java/java_good_2.java diff --git a/.automation/test/javascript_es/javascript_bad_1.js b/test/linters/javascript_es/javascript_bad_1.js similarity index 100% rename from .automation/test/javascript_es/javascript_bad_1.js rename to test/linters/javascript_es/javascript_bad_1.js diff --git a/.automation/test/javascript_es/javascript_good_1.js b/test/linters/javascript_es/javascript_good_1.js similarity index 100% rename from .automation/test/javascript_es/javascript_good_1.js rename to test/linters/javascript_es/javascript_good_1.js diff --git a/.automation/test/javascript_prettier/javascript_bad_1.js b/test/linters/javascript_prettier/javascript_bad_1.js similarity index 100% rename from .automation/test/javascript_prettier/javascript_bad_1.js rename to test/linters/javascript_prettier/javascript_bad_1.js diff --git a/.automation/test/javascript_prettier/javascript_good_1.js b/test/linters/javascript_prettier/javascript_good_1.js similarity index 100% rename from .automation/test/javascript_prettier/javascript_good_1.js rename to test/linters/javascript_prettier/javascript_good_1.js diff --git a/.automation/test/javascript_standard/javascript_bad_1.js b/test/linters/javascript_standard/javascript_bad_1.js similarity index 100% rename from .automation/test/javascript_standard/javascript_bad_1.js rename to test/linters/javascript_standard/javascript_bad_1.js diff --git a/.automation/test/javascript_standard/javascript_good_1.js b/test/linters/javascript_standard/javascript_good_1.js similarity index 100% rename from .automation/test/javascript_standard/javascript_good_1.js rename to test/linters/javascript_standard/javascript_good_1.js diff --git a/.automation/test/jscpd/clojure_good_1.clj b/test/linters/jscpd/clojure_good_1.clj similarity index 100% rename from .automation/test/jscpd/clojure_good_1.clj rename to test/linters/jscpd/clojure_good_1.clj diff --git a/.automation/test/jscpd/coffeescript_good_1.coffee b/test/linters/jscpd/coffeescript_good_1.coffee similarity index 100% rename from .automation/test/jscpd/coffeescript_good_1.coffee rename to test/linters/jscpd/coffeescript_good_1.coffee diff --git a/.automation/test/jscpd/csharp_good_01.cs b/test/linters/jscpd/csharp_good_01.cs similarity index 100% rename from .automation/test/jscpd/csharp_good_01.cs rename to test/linters/jscpd/csharp_good_01.cs diff --git a/.automation/test/jscpd/css_good_01.css b/test/linters/jscpd/css_good_01.css similarity index 100% rename from .automation/test/jscpd/css_good_01.css rename to test/linters/jscpd/css_good_01.css diff --git a/.automation/test/jscpd/dart_good_1.dart b/test/linters/jscpd/dart_good_1.dart similarity index 100% rename from .automation/test/jscpd/dart_good_1.dart rename to test/linters/jscpd/dart_good_1.dart diff --git a/.automation/test/jscpd/gherkin_good_01.feature b/test/linters/jscpd/gherkin_good_01.feature similarity index 100% rename from .automation/test/jscpd/gherkin_good_01.feature rename to test/linters/jscpd/gherkin_good_01.feature diff --git a/.automation/test/jscpd/golang_good_01.go b/test/linters/jscpd/golang_good_01.go similarity index 100% rename from .automation/test/jscpd/golang_good_01.go rename to test/linters/jscpd/golang_good_01.go diff --git a/.automation/test/dockerfile_hadolint/good/Dockerfile b/test/linters/jscpd/good/Dockerfile similarity index 100% rename from .automation/test/dockerfile_hadolint/good/Dockerfile rename to test/linters/jscpd/good/Dockerfile diff --git a/.automation/test/dockerfile_hadolint/good/Dockerfile.dev b/test/linters/jscpd/good/Dockerfile.dev similarity index 100% rename from .automation/test/dockerfile_hadolint/good/Dockerfile.dev rename to test/linters/jscpd/good/Dockerfile.dev diff --git a/.automation/test/jscpd/groovy_good_01.groovy b/test/linters/jscpd/groovy_good_01.groovy similarity index 100% rename from .automation/test/jscpd/groovy_good_01.groovy rename to test/linters/jscpd/groovy_good_01.groovy diff --git a/.automation/test/jscpd/html_good_01.html b/test/linters/jscpd/html_good_01.html similarity index 100% rename from .automation/test/jscpd/html_good_01.html rename to test/linters/jscpd/html_good_01.html diff --git a/.automation/test/jscpd/java_good_1.java b/test/linters/jscpd/java_good_1.java similarity index 100% rename from .automation/test/jscpd/java_good_1.java rename to test/linters/jscpd/java_good_1.java diff --git a/.automation/test/jscpd/javascript_bad_1.js b/test/linters/jscpd/javascript_bad_1.js similarity index 100% rename from .automation/test/jscpd/javascript_bad_1.js rename to test/linters/jscpd/javascript_bad_1.js diff --git a/.automation/test/jscpd/json_good_1.json b/test/linters/jscpd/json_good_1.json similarity index 100% rename from .automation/test/jscpd/json_good_1.json rename to test/linters/jscpd/json_good_1.json diff --git a/.automation/test/jscpd/kotlint_good_1.kt b/test/linters/jscpd/kotlint_good_1.kt similarity index 100% rename from .automation/test/jscpd/kotlint_good_1.kt rename to test/linters/jscpd/kotlint_good_1.kt diff --git a/.automation/test/jscpd/latex_good_1.tex b/test/linters/jscpd/latex_good_1.tex similarity index 100% rename from .automation/test/jscpd/latex_good_1.tex rename to test/linters/jscpd/latex_good_1.tex diff --git a/.automation/test/jscpd/lua_good_1.lua b/test/linters/jscpd/lua_good_1.lua similarity index 100% rename from .automation/test/jscpd/lua_good_1.lua rename to test/linters/jscpd/lua_good_1.lua diff --git a/.automation/test/jscpd/markdown_good_1.md b/test/linters/jscpd/markdown_good_1.md similarity index 100% rename from .automation/test/jscpd/markdown_good_1.md rename to test/linters/jscpd/markdown_good_1.md diff --git a/.automation/test/jscpd/perl_good_1.pl b/test/linters/jscpd/perl_good_1.pl similarity index 100% rename from .automation/test/jscpd/perl_good_1.pl rename to test/linters/jscpd/perl_good_1.pl diff --git a/.automation/test/jscpd/php_good_1.php b/test/linters/jscpd/php_good_1.php similarity index 100% rename from .automation/test/jscpd/php_good_1.php rename to test/linters/jscpd/php_good_1.php diff --git a/.automation/test/jscpd/powershell_good_1.ps1 b/test/linters/jscpd/powershell_good_1.ps1 similarity index 100% rename from .automation/test/jscpd/powershell_good_1.ps1 rename to test/linters/jscpd/powershell_good_1.ps1 diff --git a/.automation/test/jscpd/protobuf_good_1.proto b/test/linters/jscpd/protobuf_good_1.proto similarity index 100% rename from .automation/test/jscpd/protobuf_good_1.proto rename to test/linters/jscpd/protobuf_good_1.proto diff --git a/.automation/test/jscpd/python_bad_1.py b/test/linters/jscpd/python_bad_1.py similarity index 100% rename from .automation/test/jscpd/python_bad_1.py rename to test/linters/jscpd/python_bad_1.py diff --git a/.automation/test/jscpd/r_good_1.r b/test/linters/jscpd/r_good_1.r similarity index 100% rename from .automation/test/jscpd/r_good_1.r rename to test/linters/jscpd/r_good_1.r diff --git a/.automation/test/jscpd/ruby_good_1.rb b/test/linters/jscpd/ruby_good_1.rb similarity index 100% rename from .automation/test/jscpd/ruby_good_1.rb rename to test/linters/jscpd/ruby_good_1.rb diff --git a/.automation/test/jscpd/shell_good_1.sh b/test/linters/jscpd/shell_good_1.sh similarity index 100% rename from .automation/test/jscpd/shell_good_1.sh rename to test/linters/jscpd/shell_good_1.sh diff --git a/.automation/test/jscpd/sql_good_1.sql b/test/linters/jscpd/sql_good_1.sql similarity index 100% rename from .automation/test/jscpd/sql_good_1.sql rename to test/linters/jscpd/sql_good_1.sql diff --git a/.automation/test/jscpd/typescript_good_1 copy.ts b/test/linters/jscpd/typescript_good_1 copy.ts similarity index 100% rename from .automation/test/jscpd/typescript_good_1 copy.ts rename to test/linters/jscpd/typescript_good_1 copy.ts diff --git a/.automation/test/jscpd/typescript_good_1.ts b/test/linters/jscpd/typescript_good_1.ts similarity index 100% rename from .automation/test/jscpd/typescript_good_1.ts rename to test/linters/jscpd/typescript_good_1.ts diff --git a/.automation/test/jscpd/xml_good_1.xml b/test/linters/jscpd/xml_good_1.xml similarity index 100% rename from .automation/test/jscpd/xml_good_1.xml rename to test/linters/jscpd/xml_good_1.xml diff --git a/.automation/test/jscpd/yml_good_1.yml b/test/linters/jscpd/yml_good_1.yml similarity index 100% rename from .automation/test/jscpd/yml_good_1.yml rename to test/linters/jscpd/yml_good_1.yml diff --git a/.automation/test/json/.dotfile_json_bad_2.json b/test/linters/json/.dotfile_json_bad_2.json similarity index 100% rename from .automation/test/json/.dotfile_json_bad_2.json rename to test/linters/json/.dotfile_json_bad_2.json diff --git a/.automation/test/json/.dotfile_json_good_2.json b/test/linters/json/.dotfile_json_good_2.json similarity index 100% rename from .automation/test/json/.dotfile_json_good_2.json rename to test/linters/json/.dotfile_json_good_2.json diff --git a/.automation/test/json/json_bad_1.json b/test/linters/json/json_bad_1.json similarity index 100% rename from .automation/test/json/json_bad_1.json rename to test/linters/json/json_bad_1.json diff --git a/.automation/test/json/json_good_1.json b/test/linters/json/json_good_1.json similarity index 100% rename from .automation/test/json/json_good_1.json rename to test/linters/json/json_good_1.json diff --git a/.automation/test/jsonc/json_bad_1.jsonc b/test/linters/jsonc/json_bad_1.jsonc similarity index 100% rename from .automation/test/jsonc/json_bad_1.jsonc rename to test/linters/jsonc/json_bad_1.jsonc diff --git a/.automation/test/jsonc/json_good_1.json5 b/test/linters/jsonc/json_good_1.json5 similarity index 100% rename from .automation/test/jsonc/json_good_1.json5 rename to test/linters/jsonc/json_good_1.json5 diff --git a/.automation/test/jsx/jsx_bad_1.jsx b/test/linters/jsx/jsx_bad_1.jsx similarity index 100% rename from .automation/test/jsx/jsx_bad_1.jsx rename to test/linters/jsx/jsx_bad_1.jsx diff --git a/.automation/test/jsx/jsx_good_1.jsx b/test/linters/jsx/jsx_good_1.jsx similarity index 100% rename from .automation/test/jsx/jsx_good_1.jsx rename to test/linters/jsx/jsx_good_1.jsx diff --git a/.automation/test/kotlin/kotlin_bad_1.kt b/test/linters/kotlin/kotlin_bad_1.kt similarity index 100% rename from .automation/test/kotlin/kotlin_bad_1.kt rename to test/linters/kotlin/kotlin_bad_1.kt diff --git a/.automation/test/kotlin/kotlin_good_1.kt b/test/linters/kotlin/kotlin_good_1.kt similarity index 100% rename from .automation/test/kotlin/kotlin_good_1.kt rename to test/linters/kotlin/kotlin_good_1.kt diff --git a/.automation/test/kotlin_android/kotlin_android_bad_1.kt b/test/linters/kotlin_android/kotlin_android_bad_1.kt similarity index 100% rename from .automation/test/kotlin_android/kotlin_android_bad_1.kt rename to test/linters/kotlin_android/kotlin_android_bad_1.kt diff --git a/.automation/test/kotlin_android/kotlin_android_good_1.kt b/test/linters/kotlin_android/kotlin_android_good_1.kt similarity index 100% rename from .automation/test/kotlin_android/kotlin_android_good_1.kt rename to test/linters/kotlin_android/kotlin_android_good_1.kt diff --git a/.automation/test/kubernetes_kubeconform/kubeconform_bad_1.yaml b/test/linters/kubernetes_kubeconform/kubeconform_bad_1.yaml similarity index 100% rename from .automation/test/kubernetes_kubeconform/kubeconform_bad_1.yaml rename to test/linters/kubernetes_kubeconform/kubeconform_bad_1.yaml diff --git a/.automation/test/kubernetes_kubeconform/kubeconform_good_1.yaml b/test/linters/kubernetes_kubeconform/kubeconform_good_1.yaml similarity index 100% rename from .automation/test/kubernetes_kubeconform/kubeconform_good_1.yaml rename to test/linters/kubernetes_kubeconform/kubeconform_good_1.yaml diff --git a/.automation/test/latex/latex_bad_1.tex b/test/linters/latex/latex_bad_1.tex similarity index 100% rename from .automation/test/latex/latex_bad_1.tex rename to test/linters/latex/latex_bad_1.tex diff --git a/.automation/test/latex/latex_good_1.tex b/test/linters/latex/latex_good_1.tex similarity index 100% rename from .automation/test/latex/latex_good_1.tex rename to test/linters/latex/latex_good_1.tex diff --git a/.automation/test/lua/lua_bad_1.lua b/test/linters/lua/lua_bad_1.lua similarity index 100% rename from .automation/test/lua/lua_bad_1.lua rename to test/linters/lua/lua_bad_1.lua diff --git a/.automation/test/lua/lua_good_1.lua b/test/linters/lua/lua_good_1.lua similarity index 100% rename from .automation/test/lua/lua_good_1.lua rename to test/linters/lua/lua_good_1.lua diff --git a/.automation/test/markdown/markdown_bad_1.md b/test/linters/markdown/markdown_bad_1.md similarity index 100% rename from .automation/test/markdown/markdown_bad_1.md rename to test/linters/markdown/markdown_bad_1.md diff --git a/.automation/test/markdown/markdown_good_1.md b/test/linters/markdown/markdown_good_1.md similarity index 100% rename from .automation/test/markdown/markdown_good_1.md rename to test/linters/markdown/markdown_good_1.md diff --git a/.automation/test/natural_language/natural_language_bad_01.md b/test/linters/natural_language/natural_language_bad_01.md similarity index 100% rename from .automation/test/natural_language/natural_language_bad_01.md rename to test/linters/natural_language/natural_language_bad_01.md diff --git a/.automation/test/natural_language/natural_language_good_01.md b/test/linters/natural_language/natural_language_good_01.md similarity index 100% rename from .automation/test/natural_language/natural_language_good_01.md rename to test/linters/natural_language/natural_language_good_01.md diff --git a/.automation/test/openapi/openapi_bad_1.yml b/test/linters/openapi/openapi_bad_1.yml similarity index 100% rename from .automation/test/openapi/openapi_bad_1.yml rename to test/linters/openapi/openapi_bad_1.yml diff --git a/.automation/test/openapi/openapi_bad_2.json b/test/linters/openapi/openapi_bad_2.json similarity index 100% rename from .automation/test/openapi/openapi_bad_2.json rename to test/linters/openapi/openapi_bad_2.json diff --git a/.automation/test/openapi/openapi_good_1.yml b/test/linters/openapi/openapi_good_1.yml similarity index 100% rename from .automation/test/openapi/openapi_good_1.yml rename to test/linters/openapi/openapi_good_1.yml diff --git a/.automation/test/openapi/openapi_good_2.json b/test/linters/openapi/openapi_good_2.json similarity index 100% rename from .automation/test/openapi/openapi_good_2.json rename to test/linters/openapi/openapi_good_2.json diff --git a/.automation/test/perl/perl_bad_1.pl b/test/linters/perl/perl_bad_1.pl similarity index 100% rename from .automation/test/perl/perl_bad_1.pl rename to test/linters/perl/perl_bad_1.pl diff --git a/.automation/test/perl/perl_good_1.pl b/test/linters/perl/perl_good_1.pl similarity index 100% rename from .automation/test/perl/perl_good_1.pl rename to test/linters/perl/perl_good_1.pl diff --git a/.automation/test/php_builtin/php_bad_1.php b/test/linters/php_builtin/php_bad_1.php similarity index 100% rename from .automation/test/php_builtin/php_bad_1.php rename to test/linters/php_builtin/php_bad_1.php diff --git a/.automation/test/php_builtin/php_bad_2.php b/test/linters/php_builtin/php_bad_2.php similarity index 100% rename from .automation/test/php_builtin/php_bad_2.php rename to test/linters/php_builtin/php_bad_2.php diff --git a/.automation/test/php_builtin/php_good_1.php b/test/linters/php_builtin/php_good_1.php similarity index 100% rename from .automation/test/php_builtin/php_good_1.php rename to test/linters/php_builtin/php_good_1.php diff --git a/.automation/test/php_builtin/php_good_2.php b/test/linters/php_builtin/php_good_2.php similarity index 100% rename from .automation/test/php_builtin/php_good_2.php rename to test/linters/php_builtin/php_good_2.php diff --git a/.automation/test/php_phpcs/php_bad_1.php b/test/linters/php_phpcs/php_bad_1.php similarity index 100% rename from .automation/test/php_phpcs/php_bad_1.php rename to test/linters/php_phpcs/php_bad_1.php diff --git a/.automation/test/php_phpcs/php_bad_2.php b/test/linters/php_phpcs/php_bad_2.php similarity index 100% rename from .automation/test/php_phpcs/php_bad_2.php rename to test/linters/php_phpcs/php_bad_2.php diff --git a/.automation/test/php_phpcs/php_good_1.php b/test/linters/php_phpcs/php_good_1.php similarity index 100% rename from .automation/test/php_phpcs/php_good_1.php rename to test/linters/php_phpcs/php_good_1.php diff --git a/.automation/test/php_phpcs/php_good_2.php b/test/linters/php_phpcs/php_good_2.php similarity index 100% rename from .automation/test/php_phpcs/php_good_2.php rename to test/linters/php_phpcs/php_good_2.php diff --git a/.automation/test/php_phpstan/php_bad_1.php b/test/linters/php_phpstan/php_bad_1.php similarity index 100% rename from .automation/test/php_phpstan/php_bad_1.php rename to test/linters/php_phpstan/php_bad_1.php diff --git a/.automation/test/php_phpstan/php_bad_2.php b/test/linters/php_phpstan/php_bad_2.php similarity index 100% rename from .automation/test/php_phpstan/php_bad_2.php rename to test/linters/php_phpstan/php_bad_2.php diff --git a/.automation/test/php_phpstan/php_good_1.php b/test/linters/php_phpstan/php_good_1.php similarity index 100% rename from .automation/test/php_phpstan/php_good_1.php rename to test/linters/php_phpstan/php_good_1.php diff --git a/.automation/test/php_phpstan/php_good_2.php b/test/linters/php_phpstan/php_good_2.php similarity index 100% rename from .automation/test/php_phpstan/php_good_2.php rename to test/linters/php_phpstan/php_good_2.php diff --git a/.automation/test/php_psalm/php_bad_1.php b/test/linters/php_psalm/php_bad_1.php similarity index 100% rename from .automation/test/php_psalm/php_bad_1.php rename to test/linters/php_psalm/php_bad_1.php diff --git a/.automation/test/php_psalm/php_bad_2.php b/test/linters/php_psalm/php_bad_2.php similarity index 100% rename from .automation/test/php_psalm/php_bad_2.php rename to test/linters/php_psalm/php_bad_2.php diff --git a/.automation/test/php_psalm/php_good_1.php b/test/linters/php_psalm/php_good_1.php similarity index 100% rename from .automation/test/php_psalm/php_good_1.php rename to test/linters/php_psalm/php_good_1.php diff --git a/.automation/test/php_psalm/php_good_2.php b/test/linters/php_psalm/php_good_2.php similarity index 100% rename from .automation/test/php_psalm/php_good_2.php rename to test/linters/php_psalm/php_good_2.php diff --git a/.automation/test/powershell/powershell_bad_1.ps1 b/test/linters/powershell/powershell_bad_1.ps1 similarity index 100% rename from .automation/test/powershell/powershell_bad_1.ps1 rename to test/linters/powershell/powershell_bad_1.ps1 diff --git a/.automation/test/powershell/powershell_bad_1.psd1 b/test/linters/powershell/powershell_bad_1.psd1 similarity index 100% rename from .automation/test/powershell/powershell_bad_1.psd1 rename to test/linters/powershell/powershell_bad_1.psd1 diff --git a/.automation/test/powershell/powershell_bad_1.psm1 b/test/linters/powershell/powershell_bad_1.psm1 similarity index 100% rename from .automation/test/powershell/powershell_bad_1.psm1 rename to test/linters/powershell/powershell_bad_1.psm1 diff --git a/.automation/test/powershell/powershell_good_1.ps1 b/test/linters/powershell/powershell_good_1.ps1 similarity index 100% rename from .automation/test/powershell/powershell_good_1.ps1 rename to test/linters/powershell/powershell_good_1.ps1 diff --git a/.automation/test/powershell/powershell_good_1.psd1 b/test/linters/powershell/powershell_good_1.psd1 similarity index 100% rename from .automation/test/powershell/powershell_good_1.psd1 rename to test/linters/powershell/powershell_good_1.psd1 diff --git a/.automation/test/powershell/powershell_good_1.psm1 b/test/linters/powershell/powershell_good_1.psm1 similarity index 100% rename from .automation/test/powershell/powershell_good_1.psm1 rename to test/linters/powershell/powershell_good_1.psm1 diff --git a/.automation/test/protobuf/protobuf_bad_1.proto b/test/linters/protobuf/protobuf_bad_1.proto similarity index 100% rename from .automation/test/protobuf/protobuf_bad_1.proto rename to test/linters/protobuf/protobuf_bad_1.proto diff --git a/.automation/test/protobuf/protobuf_good_1.proto b/test/linters/protobuf/protobuf_good_1.proto similarity index 100% rename from .automation/test/protobuf/protobuf_good_1.proto rename to test/linters/protobuf/protobuf_good_1.proto diff --git a/.automation/test/python_black/python_bad_1.py b/test/linters/python_black/python_bad_1.py similarity index 100% rename from .automation/test/python_black/python_bad_1.py rename to test/linters/python_black/python_bad_1.py diff --git a/.automation/test/python_black/python_good_1.py b/test/linters/python_black/python_good_1.py similarity index 100% rename from .automation/test/python_black/python_good_1.py rename to test/linters/python_black/python_good_1.py diff --git a/.automation/test/python_flake8/python_bad_1.py b/test/linters/python_flake8/python_bad_1.py similarity index 100% rename from .automation/test/python_flake8/python_bad_1.py rename to test/linters/python_flake8/python_bad_1.py diff --git a/.automation/test/python_flake8/python_good_1.py b/test/linters/python_flake8/python_good_1.py similarity index 100% rename from .automation/test/python_flake8/python_good_1.py rename to test/linters/python_flake8/python_good_1.py diff --git a/.automation/test/python_isort/python_bad_1.py b/test/linters/python_isort/python_bad_1.py similarity index 100% rename from .automation/test/python_isort/python_bad_1.py rename to test/linters/python_isort/python_bad_1.py diff --git a/.automation/test/python_isort/python_good_1.py b/test/linters/python_isort/python_good_1.py similarity index 100% rename from .automation/test/python_isort/python_good_1.py rename to test/linters/python_isort/python_good_1.py diff --git a/.automation/test/python_mypy/python_bad_1.py b/test/linters/python_mypy/python_bad_1.py similarity index 100% rename from .automation/test/python_mypy/python_bad_1.py rename to test/linters/python_mypy/python_bad_1.py diff --git a/.automation/test/python_mypy/python_good_1.py b/test/linters/python_mypy/python_good_1.py similarity index 100% rename from .automation/test/python_mypy/python_good_1.py rename to test/linters/python_mypy/python_good_1.py diff --git a/.automation/test/python_pylint/python_bad_1.py b/test/linters/python_pylint/python_bad_1.py similarity index 100% rename from .automation/test/python_pylint/python_bad_1.py rename to test/linters/python_pylint/python_bad_1.py diff --git a/.automation/test/python_pylint/python_good_1.py b/test/linters/python_pylint/python_good_1.py similarity index 100% rename from .automation/test/python_pylint/python_good_1.py rename to test/linters/python_pylint/python_good_1.py diff --git a/.automation/test/r/r_bad_1.r b/test/linters/r/r_bad_1.r similarity index 100% rename from .automation/test/r/r_bad_1.r rename to test/linters/r/r_bad_1.r diff --git a/.automation/test/r/r_good_1.r b/test/linters/r/r_good_1.r similarity index 100% rename from .automation/test/r/r_good_1.r rename to test/linters/r/r_good_1.r diff --git a/.automation/test/raku/raku_bad_1.raku b/test/linters/raku/raku_bad_1.raku similarity index 100% rename from .automation/test/raku/raku_bad_1.raku rename to test/linters/raku/raku_bad_1.raku diff --git a/.automation/test/raku/raku_good_1.raku b/test/linters/raku/raku_good_1.raku similarity index 100% rename from .automation/test/raku/raku_good_1.raku rename to test/linters/raku/raku_good_1.raku diff --git a/.automation/test/renovate/bad/.renovaterc.json b/test/linters/renovate/bad/.renovaterc.json similarity index 100% rename from .automation/test/renovate/bad/.renovaterc.json rename to test/linters/renovate/bad/.renovaterc.json diff --git a/.automation/test/renovate/bad/.renovaterc.json5 b/test/linters/renovate/bad/.renovaterc.json5 similarity index 100% rename from .automation/test/renovate/bad/.renovaterc.json5 rename to test/linters/renovate/bad/.renovaterc.json5 diff --git a/.automation/test/renovate/bad/default.json b/test/linters/renovate/bad/default.json similarity index 100% rename from .automation/test/renovate/bad/default.json rename to test/linters/renovate/bad/default.json diff --git a/.automation/test/renovate/bad/hoge.json b/test/linters/renovate/bad/hoge.json similarity index 100% rename from .automation/test/renovate/bad/hoge.json rename to test/linters/renovate/bad/hoge.json diff --git a/.automation/test/renovate/bad/renovate.json b/test/linters/renovate/bad/renovate.json similarity index 100% rename from .automation/test/renovate/bad/renovate.json rename to test/linters/renovate/bad/renovate.json diff --git a/.automation/test/renovate/bad/renovate.json5 b/test/linters/renovate/bad/renovate.json5 similarity index 100% rename from .automation/test/renovate/bad/renovate.json5 rename to test/linters/renovate/bad/renovate.json5 diff --git a/.automation/test/renovate/good/.renovaterc.json b/test/linters/renovate/good/.renovaterc.json similarity index 100% rename from .automation/test/renovate/good/.renovaterc.json rename to test/linters/renovate/good/.renovaterc.json diff --git a/.automation/test/renovate/good/.renovaterc.json5 b/test/linters/renovate/good/.renovaterc.json5 similarity index 100% rename from .automation/test/renovate/good/.renovaterc.json5 rename to test/linters/renovate/good/.renovaterc.json5 diff --git a/.automation/test/renovate/good/default.json b/test/linters/renovate/good/default.json similarity index 100% rename from .automation/test/renovate/good/default.json rename to test/linters/renovate/good/default.json diff --git a/.automation/test/renovate/good/hoge.json b/test/linters/renovate/good/hoge.json similarity index 100% rename from .automation/test/renovate/good/hoge.json rename to test/linters/renovate/good/hoge.json diff --git a/.automation/test/renovate/good/renovate.json b/test/linters/renovate/good/renovate.json similarity index 100% rename from .automation/test/renovate/good/renovate.json rename to test/linters/renovate/good/renovate.json diff --git a/.automation/test/renovate/good/renovate.json5 b/test/linters/renovate/good/renovate.json5 similarity index 100% rename from .automation/test/renovate/good/renovate.json5 rename to test/linters/renovate/good/renovate.json5 diff --git a/.automation/test/ruby/ruby_bad_1.rb b/test/linters/ruby/ruby_bad_1.rb similarity index 100% rename from .automation/test/ruby/ruby_bad_1.rb rename to test/linters/ruby/ruby_bad_1.rb diff --git a/.automation/test/ruby/ruby_good_1.rb b/test/linters/ruby/ruby_good_1.rb similarity index 100% rename from .automation/test/ruby/ruby_good_1.rb rename to test/linters/ruby/ruby_good_1.rb diff --git a/.automation/test/rust_2015/rust_bad_1.rs b/test/linters/rust_2015/rust_bad_1.rs similarity index 100% rename from .automation/test/rust_2015/rust_bad_1.rs rename to test/linters/rust_2015/rust_bad_1.rs diff --git a/.automation/test/rust_2015/rust_good_1.rs b/test/linters/rust_2015/rust_good_1.rs similarity index 100% rename from .automation/test/rust_2015/rust_good_1.rs rename to test/linters/rust_2015/rust_good_1.rs diff --git a/.automation/test/rust_2018/rust_bad_1.rs b/test/linters/rust_2018/rust_bad_1.rs similarity index 100% rename from .automation/test/rust_2018/rust_bad_1.rs rename to test/linters/rust_2018/rust_bad_1.rs diff --git a/.automation/test/rust_2018/rust_good_1.rs b/test/linters/rust_2018/rust_good_1.rs similarity index 100% rename from .automation/test/rust_2018/rust_good_1.rs rename to test/linters/rust_2018/rust_good_1.rs diff --git a/.automation/test/rust_2021/rust_bad_1.rs b/test/linters/rust_2021/rust_bad_1.rs similarity index 100% rename from .automation/test/rust_2021/rust_bad_1.rs rename to test/linters/rust_2021/rust_bad_1.rs diff --git a/.automation/test/rust_2021/rust_good_1.rs b/test/linters/rust_2021/rust_good_1.rs similarity index 100% rename from .automation/test/rust_2021/rust_good_1.rs rename to test/linters/rust_2021/rust_good_1.rs diff --git a/.automation/test/rust_clippy/bad/Cargo.toml b/test/linters/rust_clippy/bad/Cargo.toml similarity index 100% rename from .automation/test/rust_clippy/bad/Cargo.toml rename to test/linters/rust_clippy/bad/Cargo.toml diff --git a/.automation/test/rust_clippy/bad/src/main.rs b/test/linters/rust_clippy/bad/src/main.rs similarity index 100% rename from .automation/test/rust_clippy/bad/src/main.rs rename to test/linters/rust_clippy/bad/src/main.rs diff --git a/.automation/test/rust_clippy/good/Cargo.toml b/test/linters/rust_clippy/good/Cargo.toml similarity index 100% rename from .automation/test/rust_clippy/good/Cargo.toml rename to test/linters/rust_clippy/good/Cargo.toml diff --git a/.automation/test/rust_clippy/good/src/main.rs b/test/linters/rust_clippy/good/src/main.rs similarity index 100% rename from .automation/test/rust_clippy/good/src/main.rs rename to test/linters/rust_clippy/good/src/main.rs diff --git a/.automation/test/scalafmt/scalafmt_bad_1.scala b/test/linters/scalafmt/scalafmt_bad_1.scala similarity index 100% rename from .automation/test/scalafmt/scalafmt_bad_1.scala rename to test/linters/scalafmt/scalafmt_bad_1.scala diff --git a/.automation/test/scalafmt/scalafmt_good_1.scala b/test/linters/scalafmt/scalafmt_good_1.scala similarity index 100% rename from .automation/test/scalafmt/scalafmt_good_1.scala rename to test/linters/scalafmt/scalafmt_good_1.scala diff --git a/.automation/test/shell_shfmt/.editorconfig b/test/linters/shell_shfmt/.editorconfig similarity index 100% rename from .automation/test/shell_shfmt/.editorconfig rename to test/linters/shell_shfmt/.editorconfig diff --git a/.automation/test/shell_shfmt/shell-shfmt_bad_1.sh b/test/linters/shell_shfmt/shell-shfmt_bad_1.sh similarity index 100% rename from .automation/test/shell_shfmt/shell-shfmt_bad_1.sh rename to test/linters/shell_shfmt/shell-shfmt_bad_1.sh diff --git a/.automation/test/shell_shfmt/shell-shfmt_good_1.sh b/test/linters/shell_shfmt/shell-shfmt_good_1.sh similarity index 100% rename from .automation/test/shell_shfmt/shell-shfmt_good_1.sh rename to test/linters/shell_shfmt/shell-shfmt_good_1.sh diff --git a/.automation/test/snakemake_lint/snakemake_bad_1.smk b/test/linters/snakemake_lint/snakemake_bad_1.smk similarity index 100% rename from .automation/test/snakemake_lint/snakemake_bad_1.smk rename to test/linters/snakemake_lint/snakemake_bad_1.smk diff --git a/.automation/test/snakemake_lint/snakemake_good_1.smk b/test/linters/snakemake_lint/snakemake_good_1.smk similarity index 100% rename from .automation/test/snakemake_lint/snakemake_good_1.smk rename to test/linters/snakemake_lint/snakemake_good_1.smk diff --git a/.automation/test/snakemake_snakefmt/snakemake_bad_1.smk b/test/linters/snakemake_snakefmt/snakemake_bad_1.smk similarity index 100% rename from .automation/test/snakemake_snakefmt/snakemake_bad_1.smk rename to test/linters/snakemake_snakefmt/snakemake_bad_1.smk diff --git a/.automation/test/snakemake_snakefmt/snakemake_good_1.smk b/test/linters/snakemake_snakefmt/snakemake_good_1.smk similarity index 100% rename from .automation/test/snakemake_snakefmt/snakemake_good_1.smk rename to test/linters/snakemake_snakefmt/snakemake_good_1.smk diff --git a/.automation/test/sql/sql_bad_1.sql b/test/linters/sql/sql_bad_1.sql similarity index 100% rename from .automation/test/sql/sql_bad_1.sql rename to test/linters/sql/sql_bad_1.sql diff --git a/.automation/test/sql/sql_good_1.sql b/test/linters/sql/sql_good_1.sql similarity index 100% rename from .automation/test/sql/sql_good_1.sql rename to test/linters/sql/sql_good_1.sql diff --git a/.automation/test/sqlfluff/.sqlfluff b/test/linters/sqlfluff/.sqlfluff similarity index 100% rename from .automation/test/sqlfluff/.sqlfluff rename to test/linters/sqlfluff/.sqlfluff diff --git a/.automation/test/sqlfluff/sqlfluff_bad_1.sql b/test/linters/sqlfluff/sqlfluff_bad_1.sql similarity index 100% rename from .automation/test/sqlfluff/sqlfluff_bad_1.sql rename to test/linters/sqlfluff/sqlfluff_bad_1.sql diff --git a/.automation/test/sqlfluff/sqlfluff_good_1.sql b/test/linters/sqlfluff/sqlfluff_good_1.sql similarity index 100% rename from .automation/test/sqlfluff/sqlfluff_good_1.sql rename to test/linters/sqlfluff/sqlfluff_good_1.sql diff --git a/.automation/test/states/states_bad_1.json b/test/linters/states/states_bad_1.json similarity index 100% rename from .automation/test/states/states_bad_1.json rename to test/linters/states/states_bad_1.json diff --git a/.automation/test/states/states_good_1.json b/test/linters/states/states_good_1.json similarity index 100% rename from .automation/test/states/states_good_1.json rename to test/linters/states/states_good_1.json diff --git a/.automation/test/tekton/bad/tekton_bad_1.yml b/test/linters/tekton/bad/tekton_bad_1.yml similarity index 100% rename from .automation/test/tekton/bad/tekton_bad_1.yml rename to test/linters/tekton/bad/tekton_bad_1.yml diff --git a/.automation/test/tekton/good/tekton_good_1.yml b/test/linters/tekton/good/tekton_good_1.yml similarity index 100% rename from .automation/test/tekton/good/tekton_good_1.yml rename to test/linters/tekton/good/tekton_good_1.yml diff --git a/.automation/test/terraform_fmt/bad/terraform_fmt_bad_1.tf b/test/linters/terraform_fmt/bad/terraform_fmt_bad_1.tf similarity index 100% rename from .automation/test/terraform_fmt/bad/terraform_fmt_bad_1.tf rename to test/linters/terraform_fmt/bad/terraform_fmt_bad_1.tf diff --git a/.automation/test/terraform_fmt/good/terraform_fmt_good_1.tf b/test/linters/terraform_fmt/good/terraform_fmt_good_1.tf similarity index 100% rename from .automation/test/terraform_fmt/good/terraform_fmt_good_1.tf rename to test/linters/terraform_fmt/good/terraform_fmt_good_1.tf diff --git a/.automation/test/terraform_terrascan/bad/terraform-terrascan_bad_1.tf b/test/linters/terraform_terrascan/bad/terraform-terrascan_bad_1.tf similarity index 100% rename from .automation/test/terraform_terrascan/bad/terraform-terrascan_bad_1.tf rename to test/linters/terraform_terrascan/bad/terraform-terrascan_bad_1.tf diff --git a/.automation/test/terraform_terrascan/good/terraform-terrascan_good_1.tf b/test/linters/terraform_terrascan/good/terraform-terrascan_good_1.tf similarity index 100% rename from .automation/test/terraform_terrascan/good/terraform-terrascan_good_1.tf rename to test/linters/terraform_terrascan/good/terraform-terrascan_good_1.tf diff --git a/.automation/test/terraform_tflint/bad/terraform_tflint_bad_1.tf b/test/linters/terraform_tflint/bad/terraform_tflint_bad_1.tf similarity index 100% rename from .automation/test/terraform_tflint/bad/terraform_tflint_bad_1.tf rename to test/linters/terraform_tflint/bad/terraform_tflint_bad_1.tf diff --git a/.automation/test/terraform_tflint/good/terraform_tflint_good_1.tf b/test/linters/terraform_tflint/good/terraform_tflint_good_1.tf similarity index 100% rename from .automation/test/terraform_tflint/good/terraform_tflint_good_1.tf rename to test/linters/terraform_tflint/good/terraform_tflint_good_1.tf diff --git a/.automation/test/terraform_tflint/good/terraform_tflint_good_2.tf b/test/linters/terraform_tflint/good/terraform_tflint_good_2.tf similarity index 100% rename from .automation/test/terraform_tflint/good/terraform_tflint_good_2.tf rename to test/linters/terraform_tflint/good/terraform_tflint_good_2.tf diff --git a/.automation/test/terraform_tflint/modules/ec2_instance/main.tf b/test/linters/terraform_tflint/modules/ec2_instance/main.tf similarity index 100% rename from .automation/test/terraform_tflint/modules/ec2_instance/main.tf rename to test/linters/terraform_tflint/modules/ec2_instance/main.tf diff --git a/.automation/test/terragrunt/terragrunt_bad_1.hcl b/test/linters/terragrunt/terragrunt_bad_1.hcl similarity index 100% rename from .automation/test/terragrunt/terragrunt_bad_1.hcl rename to test/linters/terragrunt/terragrunt_bad_1.hcl diff --git a/.automation/test/terragrunt/terragrunt_good_1.hcl b/test/linters/terragrunt/terragrunt_good_1.hcl similarity index 100% rename from .automation/test/terragrunt/terragrunt_good_1.hcl rename to test/linters/terragrunt/terragrunt_good_1.hcl diff --git a/.automation/test/tsx/tsx_bad_1.tsx b/test/linters/tsx/tsx_bad_1.tsx similarity index 100% rename from .automation/test/tsx/tsx_bad_1.tsx rename to test/linters/tsx/tsx_bad_1.tsx diff --git a/.automation/test/tsx/tsx_good_1.tsx b/test/linters/tsx/tsx_good_1.tsx similarity index 100% rename from .automation/test/tsx/tsx_good_1.tsx rename to test/linters/tsx/tsx_good_1.tsx diff --git a/.automation/test/typescript_es/typescript_bad_1.ts b/test/linters/typescript_es/typescript_bad_1.ts similarity index 100% rename from .automation/test/typescript_es/typescript_bad_1.ts rename to test/linters/typescript_es/typescript_bad_1.ts diff --git a/.automation/test/typescript_es/typescript_good_1.ts b/test/linters/typescript_es/typescript_good_1.ts similarity index 100% rename from .automation/test/typescript_es/typescript_good_1.ts rename to test/linters/typescript_es/typescript_good_1.ts diff --git a/.automation/test/typescript_standard/typescript_bad_1.ts b/test/linters/typescript_standard/typescript_bad_1.ts similarity index 100% rename from .automation/test/typescript_standard/typescript_bad_1.ts rename to test/linters/typescript_standard/typescript_bad_1.ts diff --git a/.automation/test/typescript_standard/typescript_good_1.ts b/test/linters/typescript_standard/typescript_good_1.ts similarity index 100% rename from .automation/test/typescript_standard/typescript_good_1.ts rename to test/linters/typescript_standard/typescript_good_1.ts diff --git a/.automation/test/xml/xml_bad_1.xml b/test/linters/xml/xml_bad_1.xml similarity index 100% rename from .automation/test/xml/xml_bad_1.xml rename to test/linters/xml/xml_bad_1.xml diff --git a/.automation/test/xml/xml_good_1.xml b/test/linters/xml/xml_good_1.xml similarity index 100% rename from .automation/test/xml/xml_good_1.xml rename to test/linters/xml/xml_good_1.xml diff --git a/.automation/test/yaml/yml_bad_1.yml b/test/linters/yaml/yml_bad_1.yml similarity index 100% rename from .automation/test/yaml/yml_bad_1.yml rename to test/linters/yaml/yml_bad_1.yml diff --git a/.automation/test/yaml/yml_good_1.yml b/test/linters/yaml/yml_good_1.yml similarity index 100% rename from .automation/test/yaml/yml_good_1.yml rename to test/linters/yaml/yml_good_1.yml