mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-28 17:11:00 -05:00
Bump cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine (#1213)
* Bump cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine Bumps cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine. Signed-off-by: dependabot[bot] <support@github.com> * fix ascii * fix spacing * removing non ascii chars * fixed typo * fixed typo * add location * flaky go * flaky go * flaky ansible * fix groovy * update Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
This commit is contained in:
parent
826f0ea82b
commit
570a113901
20 changed files with 397 additions and 415 deletions
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - ansible_bad_1.yml
|
not ok 1 - ansible_bad_1.yml
|
||||||
---
|
---
|
||||||
message: DEBUG Logging initialized to level 10\nDEBUG Options Namespace(colored=False, cwd=PosixPath('/tmp/lint/.automation/test/ansible'), display_relative_path=True, exclude_paths=[], lintables=['/tmp/lint/.automation/test/ansible/ansible_bad_1.yml'], listrules=False, listtags=False, parseable=True, parseable_severity=False, quiet=True, rulesdirs=['/usr/local/lib/python3.9/site-packages/ansiblelint/rules'], skip_list=['empty-string-compare', '204', 'no-changed-when', 'command-instead-of-module', 'command-instead-of-shell', 'no-handler'], tags=[], verbosity=2, warn_list=['experimental'], kinds=[{'requirements' 'requirements.yml'}, {'requirements' '**/meta/requirements.yml'}, {'reno' 'releasenotes/*/*.{yaml,yml}'}, {'playbook' '**/playbooks/*.{yml,yaml}'}, {'playbook' '**/*playbook*.{yml,yaml}'}, {'role' '**/roles/*/'}, {'tasks' '**/tasks/*.{yaml,yml}'}, {'handlers' '**/handlers/*.{yaml,yml}'}, {'vars' '**/{vars,defaults}/*.{yaml,yml}'}, {'meta' '**/meta/main.{yaml,yml}'}, {'yaml' '.config/molecule/config.{yaml,yml}'}, {'yaml' '**/molecule/*/molecule.{yaml,yml}'}, {'playbook' '**/molecule/*/*.{yaml,yml}'}, {'yaml' '**/*.{yaml,yml}'}, {'yaml' '**/.*.{yaml,yml}'}], mock_modules=[], mock_roles=[], loop_var_prefix=None, offline=False, format='rich', progressive=False, rulesdir=[], use_default_rules=True, config_file='/tmp/lint/.github/linters/.ansible-lint.yml', version=False)\nDEBUG Loading rules from /usr/local/lib/python3.9/site-packages/ansiblelint/rules\nWARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument /tmp/lint/.automation/test/ansible/ansible_bad_1.yml\nINFO Discovering files to lint git ls-files *.yaml *.yml\nINFO Executing syntax check on ansible_bad_1.yml \nWARNING Listing 1 violation(s) that are fatal\ninternal-error ansible_bad_1.yml 24 7\n
|
message: DEBUG Logging initialized to level 10\nDEBUG Options Namespace(colored=False, cwd=PosixPath('/tmp/lint/.automation/test/ansible'), display_relative_path=True, exclude_paths=[], lintables=['/tmp/lint/.automation/test/ansible/ansible_bad_1.yml'], listrules=False, listtags=False, parseable=True, parseable_severity=False, quiet=True, rulesdirs=['/usr/local/lib/python3.9/site-packages/ansiblelint/rules'], skip_list=['empty-string-compare', '204', 'no-changed-when', 'command-instead-of-module', 'command-instead-of-shell', 'no-handler'], tags=[], verbosity=2, warn_list=['experimental'], kinds=[{'requirements' 'requirements.yml'}, {'requirements' '**/meta/requirements.yml'}, {'reno' 'releasenotes/*/*.{yaml,yml}'}, {'playbook' '**/playbooks/*.{yml,yaml}'}, {'playbook' '**/*playbook*.{yml,yaml}'}, {'role' '**/roles/*/'}, {'tasks' '**/tasks/*.{yaml,yml}'}, {'handlers' '**/handlers/*.{yaml,yml}'}, {'vars' '**/{host_vars,group_vars,vars,defaults}/**/*.{yaml,yml}'}, {'meta' '**/meta/main.{yaml,yml}'}, {'yaml' '.config/molecule/config.{yaml,yml}'}, {'yaml' '**/molecule/*/molecule.{yaml,yml}'}, {'playbook' '**/molecule/*/*.{yaml,yml}'}, {'yaml' '**/*.{yaml,yml}'}, {'yaml' '**/.*.{yaml,yml}'}], mock_modules=[], mock_roles=[], loop_var_prefix=None, offline=False, extra_vars=None, format='rich', progressive=False, rulesdir=[], use_default_rules=True, config_file='/tmp/lint/.github/linters/.ansible-lint.yml', version=False)\nDEBUG Loading rules from /usr/local/lib/python3.9/site-packages/ansiblelint/rules\nWARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument /tmp/lint/.automation/test/ansible/ansible_bad_1.yml\nINFO Discovering files to lint git ls-files -z *.yaml *.yml\nINFO Executing syntax check on ansible_bad_1.yml \nWARNING Listing 1 violation(s) that are fatal\ninternal-error ansible_bad_1.yml 24 7\n
|
||||||
...
|
...
|
||||||
ok 2 - ansible_good_1.yml
|
ok 2 - ansible_good_1.yml
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - coffeescript_bad_1.coffee
|
not ok 1 - coffeescript_bad_1.coffee
|
||||||
---
|
---
|
||||||
message: ✗ /tmp/lint/.automation/test/coffeescript/coffeescript_bad_1.coffee\n ✗ #39 [stdin] 39 29 error unmatched )\nmodule.exports = (robot) -> )\n ^. (coffeescript_error)\n\n✗ Lint! » 1 error and 0 warnings in 1 file\n
|
message: /tmp/lint/.automation/test/coffeescript/coffeescript_bad_1.coffee\n #39 [stdin] 39 29 error unmatched )\nmodule.exports = (robot) -> )\n ^. (coffeescript_error)\n\n Lint! 1 error and 0 warnings in 1 file\n
|
||||||
...
|
...
|
||||||
ok 2 - coffeescript_good_1.coffee
|
ok 2 - coffeescript_good_1.coffee
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - css_bad_01.css
|
not ok 1 - css_bad_01.css
|
||||||
---
|
---
|
||||||
message: \ncss/css_bad_01.css\n 2 1 ✖ Expected empty line before comment comment-empty-line-before\n 3 1 ✖ Expected empty line before comment comment-empty-line-before\n 5 5 ✖ Expected indentation of 2 spaces indentation \n 5 33 ✖ Expected "#FFFFFF" to be "#ffffff" color-hex-case \n 5 33 ✖ Expected "#FFFFFF" to be "#FFF" color-hex-length \n 6 5 ✖ Expected indentation of 2 spaces indentation \n 7 5 ✖ Expected indentation of 2 spaces indentation \n 8 5 ✖ Expected indentation of 2 spaces indentation \n 8 12 ✖ Expected "#AAAAAA" to be "#aaaaaa" color-hex-case \n 8 12 ✖ Expected "#AAAAAA" to be "#AAA" color-hex-length\n
|
message: \ncss/css_bad_01.css\n 2 1 Expected empty line before comment comment-empty-line-before\n 3 1 Expected empty line before comment comment-empty-line-before\n 5 5 Expected indentation of 2 spaces indentation \n 5 33 Expected "#FFFFFF" to be "#ffffff" color-hex-case \n 5 33 Expected "#FFFFFF" to be "#FFF" color-hex-length \n 6 5 Expected indentation of 2 spaces indentation \n 7 5 Expected indentation of 2 spaces indentation \n 8 5 Expected indentation of 2 spaces indentation \n 8 12 Expected "#AAAAAA" to be "#aaaaaa" color-hex-case \n 8 12 Expected "#AAAAAA" to be "#AAA" color-hex-length\n
|
||||||
...
|
...
|
||||||
ok 2 - css_good_01.css
|
ok 2 - css_good_01.css
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - dart_bad_1.dart
|
not ok 1 - dart_bad_1.dart
|
||||||
---
|
---
|
||||||
message: Analyzing /tmp/lint/.automation/test/dart/dart_bad_1.dart...\n lint • Use `;` instead of `{}` for empty constructor bodies. • dart/dart_bad_1.dart 4 25 • empty_constructor_bodies\n1 lint found.\n
|
message: Analyzing /tmp/lint/.automation/test/dart/dart_bad_1.dart...\n lint Use `;` instead of `{}` for empty constructor bodies. dart/dart_bad_1.dart 4 25 empty_constructor_bodies\n1 lint found.\n
|
||||||
...
|
...
|
||||||
ok 2 - dart_good_1.dart
|
ok 2 - dart_good_1.dart
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - groovy_bad_01.groovy
|
not ok 1 - groovy_bad_01.groovy
|
||||||
---
|
---
|
||||||
message: GroovyLint Started CodeNarc Server\n/tmp/lint/.automation/test/groovy/groovy_bad_01.groovy\n 4 error Unexpected input '$' @ line 4, column 16. NglParseError \n\n\nnpm-groovy-lint results in 0 linted files \n┌─────────┬───────────┬─────────────┐\n│ (index) │ Severity │ Total found │\n├─────────┼───────────┼─────────────┤\n│ 0 │ 'Error' │ 1 │\n│ 1 │ 'Warning' │ 0 │\n│ 2 │ 'Info' │ 0 │\n└─────────┴───────────┴─────────────┘\nFailure 1 error(s) have been found \n 0 warning(s) have been found\n
|
message: GroovyLint Started CodeNarc Server\n/tmp/lint/.automation/test/groovy/groovy_bad_01.groovy\n 4 error Unexpected input '$' @ line 4, column 16. NglParseError \n\n\nnpm-groovy-lint results in 0 linted files \n\n (index) Severity Total found \n\n 0 'Error' 1 \n 1 'Warning' 0 \n 2 'Info' 0 \n\nFailure 1 error(s) have been found \n 0 warning(s) have been found\n
|
||||||
...
|
...
|
||||||
ok 2 - groovy_good_01.groovy
|
ok 2 - groovy_good_01.groovy
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - javascript_bad_1.js
|
not ok 1 - javascript_bad_1.js
|
||||||
---
|
---
|
||||||
message: \n/tmp/lint/.automation/test/javascript_es/javascript_bad_1.js\n 5 9 error Parsing error Unterminated regular expression literal\n\n✖ 1 problem (1 error, 0 warnings)\n
|
message: \n/tmp/lint/.automation/test/javascript_es/javascript_bad_1.js\n 5 9 error Parsing error Unterminated regular expression literal\n\n 1 problem (1 error, 0 warnings)\n
|
||||||
...
|
...
|
||||||
ok 2 - javascript_good_1.js
|
ok 2 - javascript_good_1.js
|
||||||
|
|
|
@ -14,7 +14,7 @@ ok 11 - html_good_01.html
|
||||||
ok 12 - java_good_1.java
|
ok 12 - java_good_1.java
|
||||||
not ok 13 - javascript_bad_1.js
|
not ok 13 - javascript_bad_1.js
|
||||||
---
|
---
|
||||||
message: Clone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\n 119 │ 66 │ } \n 120 │ 67 │ } \n 121 │ 68 │ let body = [] \n 122 │ 69 │ const req = https.request(options, (res) => { \n 123 │ 70 │ res.on('data', (chunk) => { \n 124 │ 71 │ body.push(chunk) \n 125 │ 72 │ }).on('end', () => { \n 126 │ 73 │ body = Buffer \n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\n 190 │ 61 │ , \n 191 │ 62 │ method 'GET', \n 192 │ 63 │ headers { \n 193 │ 64 │ Authorization 'token ' + (process.env.GHE_TOKEN), \n 194 │ 65 │ 'Content-Type' 'application/json' \n 195 │ 66 │ } \n 196 │ 67 │ } \n 197 │ 68 │ let body = [] \n 198 │ 69 │ const req = https.request(options, (res) => { \n 199 │ 70 │ res.on('data', (chunk) => { \n 200 │ 71 │ body.push(chunk) \n 201 │ 72 │ }).on('end', () => { \n 202 │ 73 │ body = JSON.parse(Buffer.concat(body)) \n 203 │ 74 │ body.forEach(item => { \n 204 │ 75 │ orgRepos \n\nFound 2 clones.\nERROR jscpd found too many duplicates (9.81%) over threshold (0%)\nError ERROR jscpd found too many duplicates (9.81%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 93 5)\n
|
message: Clone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\n 119 66 } \n 120 67 } \n 121 68 let body = [] \n 122 69 const req = https.request(options, (res) => { \n 123 70 res.on('data', (chunk) => { \n 124 71 body.push(chunk) \n 125 72 }).on('end', () => { \n 126 73 body = Buffer \n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\n 190 61 , \n 191 62 method 'GET', \n 192 63 headers { \n 193 64 Authorization 'token ' + (process.env.GHE_TOKEN), \n 194 65 'Content-Type' 'application/json' \n 195 66 } \n 196 67 } \n 197 68 let body = [] \n 198 69 const req = https.request(options, (res) => { \n 199 70 res.on('data', (chunk) => { \n 200 71 body.push(chunk) \n 201 72 }).on('end', () => { \n 202 73 body = JSON.parse(Buffer.concat(body)) \n 203 74 body.forEach(item => { \n 204 75 orgRepos \n\nFound 2 clones.\nERROR jscpd found too many duplicates (9.81%) over threshold (0%)\nError ERROR jscpd found too many duplicates (9.81%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 93 5)\n
|
||||||
...
|
...
|
||||||
ok 14 - json_good_1.json
|
ok 14 - json_good_1.json
|
||||||
ok 15 - kotlint_good_1.kt
|
ok 15 - kotlint_good_1.kt
|
||||||
|
@ -27,7 +27,7 @@ ok 21 - powershell_good_1.ps1
|
||||||
ok 22 - protobuf_good_1.proto
|
ok 22 - protobuf_good_1.proto
|
||||||
not ok 23 - python_bad_1.py
|
not ok 23 - python_bad_1.py
|
||||||
---
|
---
|
||||||
message: Clone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\nClone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\n 77 │ 50 │ ), "r" \n 78 │ 51 │ ) as query_file \n 79 │ 52 │ query = "".join(query_file.readlines()) \n 80 │ 53 │ \n 81 │ 54 │ payload = {"query" query, "variables" query_variables} \n 82 │ 55 │ response = requests.post(api_url, data=json.dumps(payload), headers=headers) \n 83 │ 56 │ \n 84 │ 57 │ status_code \n\nFound 1 clones.\nERROR jscpd found too many duplicates (3.61%) over threshold (0%)\nError ERROR jscpd found too many duplicates (3.61%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 93 5)\n
|
message: Clone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\nClone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\n 77 50 ), "r" \n 78 51 ) as query_file \n 79 52 query = "".join(query_file.readlines()) \n 80 53 \n 81 54 payload = {"query" query, "variables" query_variables} \n 82 55 response = requests.post(api_url, data=json.dumps(payload), headers=headers) \n 83 56 \n 84 57 status_code \n\nFound 1 clones.\nERROR jscpd found too many duplicates (3.61%) over threshold (0%)\nError ERROR jscpd found too many duplicates (3.61%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 93 5)\n
|
||||||
...
|
...
|
||||||
ok 24 - r_good_1.r
|
ok 24 - r_good_1.r
|
||||||
ok 25 - expected-JSCPD.tap
|
ok 25 - expected-JSCPD.tap
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - jsx_bad_1.jsx
|
not ok 1 - jsx_bad_1.jsx
|
||||||
---
|
---
|
||||||
message: \n/tmp/lint/.automation/test/jsx/jsx_bad_1.jsx\n 1 17 error Parsing error JSX element 'h1' has no corresponding closing tag\n\n✖ 1 problem (1 error, 0 warnings)\n
|
message: \n/tmp/lint/.automation/test/jsx/jsx_bad_1.jsx\n 1 17 error Parsing error JSX element 'h1' has no corresponding closing tag\n\n 1 problem (1 error, 0 warnings)\n
|
||||||
...
|
...
|
||||||
ok 2 - jsx_good_1.jsx
|
ok 2 - jsx_good_1.jsx
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,11 +2,11 @@ TAP version 13
|
||||||
1..4
|
1..4
|
||||||
not ok 1 - openapi_bad_1.yml
|
not ok 1 - openapi_bad_1.yml
|
||||||
---
|
---
|
||||||
message: OpenAPI 3.x detected\n\n/tmp/lint/.automation/test/openapi/openapi_bad_1.yml\n 1 1 warning info-contact Info object should contain `contact` object.\n 1 1 warning info-description OpenAPI object info `description` must be present and non-empty string.\n 1 1 warning oas3-api-servers OpenAPI `servers` must be present and non-empty array.\n 1 1 error oas3-schema Object should have required property `info`.\n 1 1 warning openapi-tags OpenAPI object should have non-empty `tags` array.\n\n✖ 5 problems (1 error, 4 warnings, 0 infos, 0 hints)\n
|
message: OpenAPI 3.x detected\n\n/tmp/lint/.automation/test/openapi/openapi_bad_1.yml\n 1 1 warning info-contact Info object should contain `contact` object.\n 1 1 warning info-description OpenAPI object info `description` must be present and non-empty string.\n 1 1 warning oas3-api-servers OpenAPI `servers` must be present and non-empty array.\n 1 1 error oas3-schema Object should have required property `info`.\n 1 1 warning openapi-tags OpenAPI object should have non-empty `tags` array.\n\n 5 problems (1 error, 4 warnings, 0 infos, 0 hints)\n
|
||||||
...
|
...
|
||||||
not ok 2 - openapi_bad_2.json
|
not ok 2 - openapi_bad_2.json
|
||||||
---
|
---
|
||||||
message: OpenAPI 3.x detected\n\n/tmp/lint/.automation/test/openapi/openapi_bad_2.json\n 1 1 warning info-contact Info object should contain `contact` object.\n 1 1 warning info-description OpenAPI object info `description` must be present and non-empty string.\n 1 1 warning oas3-api-servers OpenAPI `servers` must be present and non-empty array.\n 1 1 error oas3-schema Object should have required property `info`.\n 1 1 warning openapi-tags OpenAPI object should have non-empty `tags` array.\n\n✖ 5 problems (1 error, 4 warnings, 0 infos, 0 hints)\n
|
message: OpenAPI 3.x detected\n\n/tmp/lint/.automation/test/openapi/openapi_bad_2.json\n 1 1 warning info-contact Info object should contain `contact` object.\n 1 1 warning info-description OpenAPI object info `description` must be present and non-empty string.\n 1 1 warning oas3-api-servers OpenAPI `servers` must be present and non-empty array.\n 1 1 error oas3-schema Object should have required property `info`.\n 1 1 warning openapi-tags OpenAPI object should have non-empty `tags` array.\n\n 5 problems (1 error, 4 warnings, 0 infos, 0 hints)\n
|
||||||
...
|
...
|
||||||
ok 3 - openapi_good_1.yml
|
ok 3 - openapi_good_1.yml
|
||||||
ok 4 - openapi_good_2.json
|
ok 4 - openapi_good_2.json
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - python_bad_1.py
|
not ok 1 - python_bad_1.py
|
||||||
---
|
---
|
||||||
message: error cannot format /tmp/lint/.automation/test/python_black/python_bad_1.py Cannot parse 15 23 if github_token is None\nOh no! 💥 💔 💥\n1 file would fail to reformat.\n
|
message: error cannot format /tmp/lint/.automation/test/python_black/python_bad_1.py Cannot parse 15 23 if github_token is None\nOh no! \n1 file would fail to reformat.\n
|
||||||
...
|
...
|
||||||
ok 2 - python_good_1.py
|
ok 2 - python_good_1.py
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - raku_bad_1.raku
|
not ok 1 - raku_bad_1.raku
|
||||||
---
|
---
|
||||||
message: ===SORRY!=== Error while compiling /tmp/lint/.automation/test/raku/raku_bad_1.raku\nVariable '$foo' is not declared. Did you mean '@foo'?\nat /tmp/lint/.automation/test/raku/raku_bad_1.raku 4\n------> <BOL>⏏$foo[1] = 42\n
|
message: ===SORRY!=== Error while compiling /tmp/lint/.automation/test/raku/raku_bad_1.raku\nVariable '$foo' is not declared. Did you mean '@foo'?\nat /tmp/lint/.automation/test/raku/raku_bad_1.raku 4\n------> <BOL>$foo[1] = 42\n
|
||||||
...
|
...
|
||||||
ok 2 - raku_good_1.raku
|
ok 2 - raku_good_1.raku
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - snakemake_bad_1.smk
|
not ok 1 - snakemake_bad_1.smk
|
||||||
---
|
---
|
||||||
message: =====> Diff for /tmp/lint/.automation/test/snakemake_snakefmt/snakemake_bad_1.smk <=====\n\n--- original\n+++ new\n@@ -1,10 +1,11 @@\n rule all \n input \n- file1='result.txt',\n+ file1="result.txt",\n+\n \n rule simulation \n output \n- file1="result.txt"\n+ file1="result.txt",\n shell \n """\n touch {output}\n\n[INFO] 1 file(s) would be changed 😬\n
|
message: =====> Diff for /tmp/lint/.automation/test/snakemake_snakefmt/snakemake_bad_1.smk <=====\n\n--- original\n+++ new\n@@ -1,10 +1,11 @@\n rule all \n input \n- file1='result.txt',\n+ file1="result.txt",\n+\n \n rule simulation \n output \n- file1="result.txt"\n+ file1="result.txt",\n shell \n """\n touch {output}\n\n[INFO] 1 file(s) would be changed \n
|
||||||
...
|
...
|
||||||
ok 2 - snakemake_good_1.smk
|
ok 2 - snakemake_good_1.smk
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - states_bad_1.json
|
not ok 1 - states_bad_1.json
|
||||||
---
|
---
|
||||||
message: ✕ State machine definition is invalid \n \ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should have required property 'Type'\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should match exactly one schema in oneOf\n
|
message: State machine definition is invalid \n \ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should have required property 'Type'\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should NOT have additional properties\ndata.States['Hello World'] should match exactly one schema in oneOf\n
|
||||||
...
|
...
|
||||||
ok 2 - states_good_1.json
|
ok 2 - states_good_1.json
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - tsx_bad_1.tsx
|
not ok 1 - tsx_bad_1.tsx
|
||||||
---
|
---
|
||||||
message: \n/tmp/lint/.automation/test/tsx/tsx_bad_1.tsx\n 1 16 error Parsing error Type expected\n\n✖ 1 problem (1 error, 0 warnings)\n
|
message: \n/tmp/lint/.automation/test/tsx/tsx_bad_1.tsx\n 1 16 error Parsing error Type expected\n\n 1 problem (1 error, 0 warnings)\n
|
||||||
...
|
...
|
||||||
ok 2 - tsx_good_1.tsx
|
ok 2 - tsx_good_1.tsx
|
||||||
|
|
|
@ -2,6 +2,6 @@ TAP version 13
|
||||||
1..2
|
1..2
|
||||||
not ok 1 - typescript_bad_1.ts
|
not ok 1 - typescript_bad_1.ts
|
||||||
---
|
---
|
||||||
message: \n/tmp/lint/.automation/test/typescript_es/typescript_bad_1.ts\n 5 39 error Parsing error Unterminated regular expression literal\n\n✖ 1 problem (1 error, 0 warnings)\n
|
message: \n/tmp/lint/.automation/test/typescript_es/typescript_bad_1.ts\n 5 39 error Parsing error Unterminated regular expression literal\n\n 1 problem (1 error, 0 warnings)\n
|
||||||
...
|
...
|
||||||
ok 2 - typescript_good_1.ts
|
ok 2 - typescript_good_1.ts
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#########################################
|
#########################################
|
||||||
# Get dependency images as build stages #
|
# Get dependency images as build stages #
|
||||||
#########################################
|
#########################################
|
||||||
FROM cljkondo/clj-kondo:2021.01.20-alpine as clj-kondo
|
FROM cljkondo/clj-kondo:2021.02.13-alpine as clj-kondo
|
||||||
FROM dotenvlinter/dotenv-linter:3.0.0 as dotenv-linter
|
FROM dotenvlinter/dotenv-linter:3.0.0 as dotenv-linter
|
||||||
FROM mstruebing/editorconfig-checker:2.3.3 as editorconfig-checker
|
FROM mstruebing/editorconfig-checker:2.3.3 as editorconfig-checker
|
||||||
FROM yoheimuta/protolint:v0.28.2 as protolint
|
FROM yoheimuta/protolint:v0.28.2 as protolint
|
||||||
|
|
769
dependencies/package-lock.json
generated
vendored
769
dependencies/package-lock.json
generated
vendored
File diff suppressed because it is too large
Load diff
2
dependencies/package.json
vendored
2
dependencies/package.json
vendored
|
@ -23,7 +23,7 @@
|
||||||
"lodash": "^4.17.19",
|
"lodash": "^4.17.19",
|
||||||
"markdownlint-cli": "^0.26.0",
|
"markdownlint-cli": "^0.26.0",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"npm-groovy-lint": "^4.14.0",
|
"npm-groovy-lint": "^8.1.0",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"prettyjson": "^1.2.1",
|
"prettyjson": "^1.2.1",
|
||||||
"sql-lint": "0.0.15",
|
"sql-lint": "0.0.15",
|
||||||
|
|
|
@ -101,6 +101,9 @@ function AddDetailedMessageIfEnabled() {
|
||||||
DETAILED_MSG=$(TransformTAPDetails "${LINT_CMD}")
|
DETAILED_MSG=$(TransformTAPDetails "${LINT_CMD}")
|
||||||
if [ -n "${DETAILED_MSG}" ]; then
|
if [ -n "${DETAILED_MSG}" ]; then
|
||||||
printf " ---\n message: %s\n ...\n" "${DETAILED_MSG}" >>"${TEMP_FILE}"
|
printf " ---\n message: %s\n ...\n" "${DETAILED_MSG}" >>"${TEMP_FILE}"
|
||||||
|
|
||||||
|
# Need to update the temp file and remove any non ascii characters
|
||||||
|
cp "${TEMP_FILE}" "${TEMP_FILE}.tmp" && LC_ALL=C tr -dc '\0-\177' <"${TEMP_FILE}.tmp" >"${TEMP_FILE}" && rm "${TEMP_FILE}.tmp"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in a new issue