diff --git a/.automation/test/ansible/reports/expected-ANSIBLE.tap b/.automation/test/ansible/reports/expected-ANSIBLE.tap index 68e5b092..c1ad061e 100644 --- a/.automation/test/ansible/reports/expected-ANSIBLE.tap +++ b/.automation/test/ansible/reports/expected-ANSIBLE.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/coffeescript/reports/expected-COFFEESCRIPT.tap b/.automation/test/coffeescript/reports/expected-COFFEESCRIPT.tap index 4ce33752..919b96c5 100644 --- a/.automation/test/coffeescript/reports/expected-COFFEESCRIPT.tap +++ b/.automation/test/coffeescript/reports/expected-COFFEESCRIPT.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/css/reports/expected-CSS.tap b/.automation/test/css/reports/expected-CSS.tap index 98d94702..ac9f72da 100644 --- a/.automation/test/css/reports/expected-CSS.tap +++ b/.automation/test/css/reports/expected-CSS.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/dart/reports/expected-DART.tap b/.automation/test/dart/reports/expected-DART.tap index 6ca0aa21..3d442750 100644 --- a/.automation/test/dart/reports/expected-DART.tap +++ b/.automation/test/dart/reports/expected-DART.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/groovy/reports/expected-GROOVY.tap b/.automation/test/groovy/reports/expected-GROOVY.tap index 243839cc..419dfc99 100644 --- a/.automation/test/groovy/reports/expected-GROOVY.tap +++ b/.automation/test/groovy/reports/expected-GROOVY.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/javascript_es/reports/expected-JAVASCRIPT_ES.tap b/.automation/test/javascript_es/reports/expected-JAVASCRIPT_ES.tap index 849afd34..b9c253b7 100644 --- a/.automation/test/javascript_es/reports/expected-JAVASCRIPT_ES.tap +++ b/.automation/test/javascript_es/reports/expected-JAVASCRIPT_ES.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/jscpd/reports/expected-JSCPD.tap b/.automation/test/jscpd/reports/expected-JSCPD.tap index a2481181..40f2b667 100644 --- a/.automation/test/jscpd/reports/expected-JSCPD.tap +++ b/.automation/test/jscpd/reports/expected-JSCPD.tap @@ -14,7 +14,7 @@ ok 11 - html_good_01.html ok 12 - java_good_1.java 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 ()\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 ()\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 15 - kotlint_good_1.kt @@ -27,7 +27,7 @@ ok 21 - powershell_good_1.ps1 ok 22 - protobuf_good_1.proto 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 ()\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 ()\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 25 - expected-JSCPD.tap diff --git a/.automation/test/jsx/reports/expected-JSX.tap b/.automation/test/jsx/reports/expected-JSX.tap index a5bb88c2..7cc365ed 100644 --- a/.automation/test/jsx/reports/expected-JSX.tap +++ b/.automation/test/jsx/reports/expected-JSX.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/latex/reports/expected-LATEX.tap b/.automation/test/latex/reports/expected-LATEX.tap index 28243b22..6ef37511 100644 --- a/.automation/test/latex/reports/expected-LATEX.tap +++ b/.automation/test/latex/reports/expected-LATEX.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 not ok 1 - latex_bad_1.tex --- - message: Warning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 12 Command terminated with space.\n\foo This is an error. \n\nWarning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 13 Command terminated with space.\nSo is this \foo \n\nWarning 47 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 18 `section' expected, found `text' (ConTeXt).\n\stoptext \n\nWarning 2 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 22 Non-breaking space (`~') should have been used.\nThis is a faulty reference to \ref{foo} \n\nWarning 3 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 27 You should enclose the previous parenthesis with `{}'.\n$[(ab)^{-1}]^{-2}$ is not beautiful \n\nWarning 3 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 27 You should enclose the previous parenthesis with `{}'.\n$[(ab)^{-1}]^{-2}$ is not beautiful \n\nWarning 6 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 No italic correction (`\/') found.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 You should remove spaces in front of `\/'\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 Italic correction (`\/') found in non-italic buffer.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 28 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 Don't use \/ in front of small punctuation.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 You should remove spaces in front of `\/'\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 5 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 Italic correction (`\/') found more than once.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 You should remove spaces in front of `\/'\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 You should remove spaces in front of `\/'\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 38 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic\/} in this \textit{sentence}, as \textem{you see}. \n\nWarning 7 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 42 Accent command `\'' needs use of `\i'.\nThis \'is a test of $\hat{j}$ accents. \n\nWarning 7 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 42 Accent command `\hat' needs use of `\jmath'.\nThis \'is a test of $\hat{j}$ accents. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 47 Wrong length of dash may have been used.\nIt wasn't anything - just a 2---3 star--shots. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 47 Wrong length of dash may have been used.\nIt wasn't anything - just a 2---3 star--shots. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 47 Wrong length of dash may have been used.\nIt wasn't anything - just a 2---3 star--shots. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 57 Wrong length of dash may have been used.\nThe Birch--Swinnerton--Dyer conjecture is not correct. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 57 Wrong length of dash may have been used.\nThe Birch--Swinnerton--Dyer conjecture is not correct. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 You should avoid spaces in front of parenthesis.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 9 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 `}' expected, found `)'.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `]' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `]' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `]' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 9 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 69 `baz' expected, found `quux'.\n\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo} \n\nWarning 9 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 69 `quux' expected, found `baz'.\n\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo} \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 69 Solo `asoi' found.\n\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo} \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \ldots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \ldots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \cdots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \ldots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \cdots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 13 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 85 Intersentence spacing (`\@') should perhaps be used.\nLook at THIS! It's an error. \n\nWarning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 90 Command terminated with space.\n\hat \n\nError 14 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 90 Could not find argument for command.\n\hat \n\nWarning 18 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 95 Use either `` or '' as an alternative to `"'.\nIs this an "example", or is it an �example�. \n\nWarning 18 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 95 Use either `` or '' as an alternative to `"'.\nIs this an "example", or is it an �example�. \n\nWarning 20 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 100 User-specified pattern found \unknown.\nThat bug is \unknown\ to me. \n\nWarning 23 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 110 Either `\,`` or ``\,` will look better.\n```Hello', I heard him said'', she remembered. \n\nWarning 24 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 115 Delete this space to maintain correct pagereferences.\nIndexing text \index{text} is fun! \n\nWarning 24 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 120 Delete this space to maintain correct pagereferences.\n \index{text} is fun! \n\nWarning 25 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 124 You might wish to put this between a pair of `{}'\n$5\cdot10^10$ \n\nWarning 26 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 129 You ought to remove spaces in front of punctuation.\nDo you understand ? \n\nWarning 29 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 133 $\times$ may look prettier here.\nThe program opens a screen sized 640x200 pixels \n\nWarning 31 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 144 This text may be ignored.\n\end{verbatim} foo bar \n\nWarning 32 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ` to begin quotation, not '.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 33 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ' to end quotation, not `.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 32 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ` to begin quotation, not '.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 33 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ' to end quotation, not `.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 34 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Don't mix quotes.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 34 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Don't mix quotes.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 153 You should perhaps use `\sin' instead.\n$sin^2 + cos^2 = 1$ \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 153 You should perhaps use `\cos' instead.\n$sin^2 + cos^2 = 1$ \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 38 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 162 You should not use punctuation in front of quotes.\n``An example,'' he said, ``would be great.'' \n\nWarning 38 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 162 You should not use punctuation in front of quotes.\n``An example,'' he said, ``would be great.'' \n\nWarning 39 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 167 Double space found.\nFor output codes, see table ~\ref{tab fmtout}. \n\nWarning 40 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 171 You should put punctuation outside inner math mode.\n$\this,$ and $$this$$. \n\nWarning 45 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 171 Use \[ ... \] instead of $$ ... $$.\n$\this,$ and $$this$$. \n\nWarning 40 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 171 You should put punctuation inside display math mode.\n$\this,$ and $$this$$. \n\nWarning 45 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 172 Use \[ ... \] instead of $$ ... $$.\n$\this$, and $$this.$$ \n\nWarning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 175 Command terminated with space.\nfoo \above qux \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 179 You should remove spaces in front of `\footnote'\nThis is a footnote \footnote{foo}. \n\nWarning 43 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 183 `\left' is normally not followed by `{'.\nHere is a mistake $\left{x\right}$. \n\nWarning 43 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 183 `\right' is normally not followed by `}'.\nHere is a mistake $\left{x\right}$. \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 192 User Regex Always use \nmid.\nFor every $p\not|n$ you have an ugly prime which doesn't divide $n$. \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 196 You should perhaps use `\sin' instead.\n\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}} \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 196 You should perhaps use `\sin' instead.\n\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}} \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 197 You should put a space in front of parenthesis.\nAlso, $x(3)\text{ is not x(3) but it is $x(3)$}$ \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 201 You should put a space in front of parenthesis.\nBut this is not a \% comment, so we should find this error(right)? \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 204 You should put a space in front of parenthesis.\nHere(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36 \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 204 You should put a space after parenthesis.\nHere(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36 \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 206 User Regex 1 Capitalize before references.\nIn section~\ref{sec 3} we have a warning. \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 210 User Regex -2 Vertical rules in tables are ugly.\n\begin{tabular*}{1.0\linewidth}[h]{|c|cc|} \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 212 User Regex -2 Use \toprule, midrule, or \bottomrule from booktabs.\n \hline \n\nError 14 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 219 Could not find argument for command.\n\verb# \n\nWarning 31 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 223 This text may be ignored.\n\end{verbatim} FOO \n\nWarning 45 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 227 Use \[ ... \] instead of $$ ... $$.\n$$( \n\nWarning 16 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Mathmode still on at end of LaTeX file.\n\n\nWarning 17 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Number of `(' doesn't match the number of `)'!\n\n\nWarning 17 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Number of `[' doesn't match the number of `]'!\n\n\nWarning 17 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Number of `{' doesn't match the number of `}'!\n\n + message: Warning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 12 Command terminated with space.\n\foo This is an error. \n\nWarning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 13 Command terminated with space.\nSo is this \foo \n\nWarning 47 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 18 `section' expected, found `text' (ConTeXt).\n\stoptext \n\nWarning 2 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 22 Non-breaking space (`~') should have been used.\nThis is a faulty reference to \ref{foo} \n\nWarning 3 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 27 You should enclose the previous parenthesis with `{}'.\n$[(ab)^{-1}]^{-2}$ is not beautiful \n\nWarning 3 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 27 You should enclose the previous parenthesis with `{}'.\n$[(ab)^{-1}]^{-2}$ is not beautiful \n\nWarning 6 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 No italic correction (`\/') found.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 You should remove spaces in front of `\/'\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 Italic correction (`\/') found in non-italic buffer.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 28 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 Don't use \/ in front of small punctuation.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 You should remove spaces in front of `\/'\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 5 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 32 Italic correction (`\/') found more than once.\nTesting {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 You should remove spaces in front of `\/'\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 You should remove spaces in front of `\/'\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 37 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}. \n\nWarning 4 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 38 Italic correction (`\/') found in non-italic buffer.\nTesting \textem{italic\/} in this \textit{sentence}, as \textem{you see}. \n\nWarning 7 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 42 Accent command `\'' needs use of `\i'.\nThis \'is a test of $\hat{j}$ accents. \n\nWarning 7 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 42 Accent command `\hat' needs use of `\jmath'.\nThis \'is a test of $\hat{j}$ accents. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 47 Wrong length of dash may have been used.\nIt wasn't anything - just a 2---3 star--shots. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 47 Wrong length of dash may have been used.\nIt wasn't anything - just a 2---3 star--shots. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 47 Wrong length of dash may have been used.\nIt wasn't anything - just a 2---3 star--shots. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 57 Wrong length of dash may have been used.\nThe Birch--Swinnerton--Dyer conjecture is not correct. \n\nWarning 8 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 57 Wrong length of dash may have been used.\nThe Birch--Swinnerton--Dyer conjecture is not correct. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 You should avoid spaces in front of parenthesis.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 9 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 `}' expected, found `)'.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `}' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `]' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `]' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `]' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 64 Solo `)' found.\n)}{[])} }}}]]]))) \n\nWarning 9 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 69 `baz' expected, found `quux'.\n\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo} \n\nWarning 9 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 69 `quux' expected, found `baz'.\n\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo} \n\nWarning 10 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 69 Solo `asoi' found.\n\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo} \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \ldots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \ldots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \cdots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \ldots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 11 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 75 You should use \cdots to achieve an ellipsis.\nFoo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$. \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 12 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 80 Interword spacing (`\ ') should perhaps be used.\n1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob. joe.! frank.? james.. george \n\nWarning 13 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 85 Intersentence spacing (`\@') should perhaps be used.\nLook at THIS! It's an error. \n\nWarning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 90 Command terminated with space.\n\hat \n\nError 14 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 90 Could not find argument for command.\n\hat \n\nWarning 18 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 95 Use either `` or '' as an alternative to `"'.\nIs this an "example", or is it an example. \n\nWarning 18 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 95 Use either `` or '' as an alternative to `"'.\nIs this an "example", or is it an example. \n\nWarning 20 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 100 User-specified pattern found \unknown.\nThat bug is \unknown\ to me. \n\nWarning 23 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 110 Either `\,`` or ``\,` will look better.\n```Hello', I heard him said'', she remembered. \n\nWarning 24 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 115 Delete this space to maintain correct pagereferences.\nIndexing text \index{text} is fun! \n\nWarning 24 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 120 Delete this space to maintain correct pagereferences.\n \index{text} is fun! \n\nWarning 25 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 124 You might wish to put this between a pair of `{}'\n$5\cdot10^10$ \n\nWarning 26 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 129 You ought to remove spaces in front of punctuation.\nDo you understand ? \n\nWarning 29 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 133 $\times$ may look prettier here.\nThe program opens a screen sized 640x200 pixels \n\nWarning 31 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 144 This text may be ignored.\n\end{verbatim} foo bar \n\nWarning 32 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ` to begin quotation, not '.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 33 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ' to end quotation, not `.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 32 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ` to begin quotation, not '.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 33 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Use ' to end quotation, not `.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 34 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Don't mix quotes.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 34 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 148 Don't mix quotes.\nThis is either an 'example`, an ''example`` or an `"`example'`'. \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 153 You should perhaps use `\sin' instead.\n$sin^2 + cos^2 = 1$ \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 153 You should perhaps use `\cos' instead.\n$sin^2 + cos^2 = 1$ \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 37 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should avoid spaces in front of parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 158 You should put a space after parenthesis.\nThis( an example( Nuff said )), illustrates( ``my'' )point. \n\nWarning 38 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 162 You should not use punctuation in front of quotes.\n``An example,'' he said, ``would be great.'' \n\nWarning 38 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 162 You should not use punctuation in front of quotes.\n``An example,'' he said, ``would be great.'' \n\nWarning 39 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 167 Double space found.\nFor output codes, see table ~\ref{tab fmtout}. \n\nWarning 40 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 171 You should put punctuation outside inner math mode.\n$\this,$ and $$this$$. \n\nWarning 45 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 171 Use \[ ... \] instead of $$ ... $$.\n$\this,$ and $$this$$. \n\nWarning 40 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 171 You should put punctuation inside display math mode.\n$\this,$ and $$this$$. \n\nWarning 45 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 172 Use \[ ... \] instead of $$ ... $$.\n$\this$, and $$this.$$ \n\nWarning 1 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 175 Command terminated with space.\nfoo \above qux \n\nWarning 42 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 179 You should remove spaces in front of `\footnote'\nThis is a footnote \footnote{foo}. \n\nWarning 43 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 183 `\left' is normally not followed by `{'.\nHere is a mistake $\left{x\right}$. \n\nWarning 43 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 183 `\right' is normally not followed by `}'.\nHere is a mistake $\left{x\right}$. \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 192 User Regex Always use \nmid.\nFor every $p\not|n$ you have an ugly prime which doesn't divide $n$. \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 196 You should perhaps use `\sin' instead.\n\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}} \n\nWarning 35 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 196 You should perhaps use `\sin' instead.\n\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}} \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 197 You should put a space in front of parenthesis.\nAlso, $x(3)\text{ is not x(3) but it is $x(3)$}$ \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 201 You should put a space in front of parenthesis.\nBut this is not a \% comment, so we should find this error(right)? \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 204 You should put a space in front of parenthesis.\nHere(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36 \n\nWarning 36 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 204 You should put a space after parenthesis.\nHere(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36 \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 206 User Regex 1 Capitalize before references.\nIn section~\ref{sec 3} we have a warning. \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 210 User Regex -2 Vertical rules in tables are ugly.\n\begin{tabular*}{1.0\linewidth}[h]{|c|cc|} \n\nWarning 44 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 212 User Regex -2 Use \toprule, midrule, or \bottomrule from booktabs.\n \hline \n\nError 14 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 219 Could not find argument for command.\n\verb# \n\nWarning 31 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 223 This text may be ignored.\n\end{verbatim} FOO \n\nWarning 45 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 227 Use \[ ... \] instead of $$ ... $$.\n$$( \n\nWarning 16 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Mathmode still on at end of LaTeX file.\n\n\nWarning 17 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Number of `(' doesn't match the number of `)'!\n\n\nWarning 17 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Number of `[' doesn't match the number of `]'!\n\n\nWarning 17 in /tmp/lint/.automation/test/latex/latex_bad_1.tex line 232 Number of `{' doesn't match the number of `}'!\n\n ... ok 2 - latex_good_1.tex diff --git a/.automation/test/openapi/reports/expected-OPENAPI.tap b/.automation/test/openapi/reports/expected-OPENAPI.tap index 68c5e127..06da68ad 100644 --- a/.automation/test/openapi/reports/expected-OPENAPI.tap +++ b/.automation/test/openapi/reports/expected-OPENAPI.tap @@ -2,11 +2,11 @@ TAP version 13 1..4 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 --- - 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 4 - openapi_good_2.json diff --git a/.automation/test/python_black/reports/expected-PYTHON_BLACK.tap b/.automation/test/python_black/reports/expected-PYTHON_BLACK.tap index 2b8f0e2d..28281345 100644 --- a/.automation/test/python_black/reports/expected-PYTHON_BLACK.tap +++ b/.automation/test/python_black/reports/expected-PYTHON_BLACK.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/raku/reports/expected-RAKU.tap b/.automation/test/raku/reports/expected-RAKU.tap index 13ce7ff5..ca0c6548 100644 --- a/.automation/test/raku/reports/expected-RAKU.tap +++ b/.automation/test/raku/reports/expected-RAKU.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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------> ⏏$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------> $foo[1] = 42\n ... ok 2 - raku_good_1.raku diff --git a/.automation/test/snakemake_snakefmt/reports/expected-SNAKEMAKE_SNAKEFMT.tap b/.automation/test/snakemake_snakefmt/reports/expected-SNAKEMAKE_SNAKEFMT.tap index dd12cb76..c2bfeacb 100644 --- a/.automation/test/snakemake_snakefmt/reports/expected-SNAKEMAKE_SNAKEFMT.tap +++ b/.automation/test/snakemake_snakefmt/reports/expected-SNAKEMAKE_SNAKEFMT.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/states/reports/expected-STATES.tap b/.automation/test/states/reports/expected-STATES.tap index 320390e2..f4fc403b 100644 --- a/.automation/test/states/reports/expected-STATES.tap +++ b/.automation/test/states/reports/expected-STATES.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/tsx/reports/expected-TSX.tap b/.automation/test/tsx/reports/expected-TSX.tap index 50dd9a79..38bc4f05 100644 --- a/.automation/test/tsx/reports/expected-TSX.tap +++ b/.automation/test/tsx/reports/expected-TSX.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/.automation/test/typescript_es/reports/expected-TYPESCRIPT_ES.tap b/.automation/test/typescript_es/reports/expected-TYPESCRIPT_ES.tap index 12592d38..5b0830ab 100644 --- a/.automation/test/typescript_es/reports/expected-TYPESCRIPT_ES.tap +++ b/.automation/test/typescript_es/reports/expected-TYPESCRIPT_ES.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/Dockerfile b/Dockerfile index 9150b220..880e1baf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ######################################### # 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 mstruebing/editorconfig-checker:2.3.3 as editorconfig-checker FROM yoheimuta/protolint:v0.28.2 as protolint diff --git a/dependencies/package-lock.json b/dependencies/package-lock.json index 0a2b3839..9b2b1cef 100644 --- a/dependencies/package-lock.json +++ b/dependencies/package-lock.json @@ -28,7 +28,7 @@ "lodash": "^4.17.19", "markdownlint-cli": "^0.26.0", "node-fetch": "^2.6.1", - "npm-groovy-lint": "^4.14.0", + "npm-groovy-lint": "^8.1.0", "prettier": "^2.2.1", "prettyjson": "^1.2.1", "sql-lint": "0.0.15", @@ -41,27 +41,6 @@ "typescript": "^4.1.5" } }, - "node_modules/@analytics/cookie-utils": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@analytics/cookie-utils/-/cookie-utils-0.2.3.tgz", - "integrity": "sha512-RiMAVpSluRbWb2hlT9wMJ0r2l+MUZzScYjY+w2iWRzjOr9Zzzs4tYzJT6Sd94PDz3LzCuf4aGOwS6pkKXTEBLw==" - }, - "node_modules/@analytics/segment": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@analytics/segment/-/segment-0.4.3.tgz", - "integrity": "sha512-YmxjDL3cdMepqikxc9m/EowdW9So4x05isdZDg74ILXFv7CQdUKkVOjbDq+J/+3uEz/7ikh+9/c1fWuZ50cjug==", - "dependencies": { - "analytics-node": "^3.3.0" - } - }, - "node_modules/@analytics/storage-utils": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@analytics/storage-utils/-/storage-utils-0.2.4.tgz", - "integrity": "sha512-VHRggJbRY8vHIADWVwbq9cZux0L9LdmlN31XA3daVAI4gMkKdQEocxB7KqGDt6SfIJ3NYi/qh1nRJGooYmTBiA==", - "dependencies": { - "@analytics/cookie-utils": "^0.2.3" - } - }, "node_modules/@babel/code-frame": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", @@ -1020,15 +999,6 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, - "node_modules/@segment/loosely-validate-event": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz", - "integrity": "sha512-ZMCSfztDBqwotkl848ODgVcAmN4OItEWDCkshcKz0/W6gGSQayuuCtWV/MlodFivAZD793d6UgANd6wCXUfrIw==", - "dependencies": { - "component-type": "^1.2.1", - "join-component": "^1.1.0" - } - }, "node_modules/@stoplight/better-ajv-errors": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-0.0.3.tgz", @@ -1644,39 +1614,15 @@ "node": ">=0.10.0" } }, - "node_modules/analytics": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/analytics/-/analytics-0.3.5.tgz", - "integrity": "sha512-ydKT6ukiuoruA3iUWW5x0fzKjjiP2F+YS/T6V4bf/ct6hEK8vv/RrLB98h3uafZRpvU4MmtMv94H+au8ohY5/Q==", + "node_modules/amplitude": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/amplitude/-/amplitude-5.1.4.tgz", + "integrity": "sha512-YwNrbPlY2DJDTYTL5AeAv+4NDw/e2Z+H/24iLN2ZpAsV3rI458T3IGJxfNDKuBAP6jjXjfDuktHh8HvX0Y2BOA==", "dependencies": { - "analytics-utils": "^0.2.1" - } - }, - "node_modules/analytics-node": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/analytics-node/-/analytics-node-3.5.0.tgz", - "integrity": "sha512-XgQq6ejZHCehUSnZS4V7QJPLIP7S9OAWwQDYl4WTLtsRvc5fCxIwzK/yihzmIW51v9PnyBmrl9dMcqvwfOE8WA==", - "dependencies": { - "@segment/loosely-validate-event": "^2.0.0", - "axios": "^0.21.1", - "axios-retry": "^3.0.2", - "lodash.isstring": "^4.0.1", - "md5": "^2.2.1", - "ms": "^2.0.0", - "remove-trailing-slash": "^0.1.0", - "uuid": "^3.2.1" + "axios": "^0.21.0" }, "engines": { - "node": ">=4" - } - }, - "node_modules/analytics-utils": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/analytics-utils/-/analytics-utils-0.2.2.tgz", - "integrity": "sha512-fdbc+MeoNrkwCAbGD/qgedyvRbPnImmWiInAgZ51KpINmKITpdtWV+6riHVA1YBSrb8IyYlfxn98IeWyN9a0+Q==", - "dependencies": { - "@analytics/storage-utils": "^0.2.4", - "dlv": "^1.1.3" + "node": ">=8.10.0" } }, "node_modules/ansi-colors": { @@ -2057,14 +2003,6 @@ "follow-redirects": "^1.10.0" } }, - "node_modules/axios-retry": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.1.9.tgz", - "integrity": "sha512-NFCoNIHq8lYkJa6ku4m+V1837TP6lCa7n79Iuf8/AqATAHYB0ISaAS1eyIenDOfHOLtym34W65Sjke2xjg2fsA==", - "dependencies": { - "is-retry-allowed": "^1.1.0" - } - }, "node_modules/babel-eslint": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", @@ -2213,6 +2151,14 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "engines": { + "node": "*" + } + }, "node_modules/buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -2351,14 +2297,6 @@ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" }, - "node_modules/charenc": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", - "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=", - "engines": { - "node": "*" - } - }, "node_modules/chokidar": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", @@ -2380,6 +2318,11 @@ "fsevents": "~2.1.2" } }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + }, "node_modules/clean-css": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", @@ -2506,6 +2449,14 @@ "node": ">= 0.8" } }, + "node_modules/command-exists-promise": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/command-exists-promise/-/command-exists-promise-2.0.2.tgz", + "integrity": "sha512-T6PB6vdFrwnHXg/I0kivM3DqaCGZLjjYSOe0a5WgFKcz1sOnmOeIjnhQPXVXX3QjVbLyTJ85lJkX6lUpukTzaA==", + "engines": { + "node": ">=6" + } + }, "node_modules/commander": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", @@ -2514,11 +2465,6 @@ "node": ">= 6" } }, - "node_modules/component-type": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/component-type/-/component-type-1.2.1.tgz", - "integrity": "sha1-ikeQFwAjjk/DIml3EjAibyS0Fak=" - }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -2609,14 +2555,6 @@ "node": ">= 8" } }, - "node_modules/crypt": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", - "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=", - "engines": { - "node": "*" - } - }, "node_modules/cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -2774,11 +2712,6 @@ "resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz", "integrity": "sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=" }, - "node_modules/dlv": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" - }, "node_modules/dockerfilelint": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/dockerfilelint/-/dockerfilelint-1.8.0.tgz", @@ -4247,6 +4180,14 @@ "reusify": "^1.0.4" } }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dependencies": { + "pend": "~1.2.0" + } + }, "node_modules/file-entry-cache": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", @@ -4368,6 +4309,14 @@ "node": ">=6 <7 || >=8" } }, + "node_modules/fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "dependencies": { + "minipass": "^2.6.0" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -5066,14 +5015,6 @@ "node": ">= 0.4" } }, - "node_modules/interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", - "engines": { - "node": ">= 0.10" - } - }, "node_modules/ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", @@ -5254,14 +5195,6 @@ "node": ">=6" } }, - "node_modules/is-retry-allowed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", @@ -5309,10 +5242,52 @@ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, - "node_modules/join-component": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz", - "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU=" + "node_modules/java-caller": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/java-caller/-/java-caller-2.2.4.tgz", + "integrity": "sha512-c6pG483U+KKkP0Qz8BN6Lj+EPShFHHYHZhfnnTYG1JaSpMCguZd2xUSjOx552Z95JFrKZD9Q1ODul7OF4/W/RQ==", + "dependencies": { + "debug": "^4.1.1", + "fs-extra": "^9.0.1", + "njre": "^0.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/java-caller/node_modules/fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/java-caller/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dependencies": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/java-caller/node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "engines": { + "node": ">= 10.0.0" + } }, "node_modules/js-stringify": { "version": "1.0.2", @@ -5685,11 +5660,6 @@ "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, "node_modules/lodash.set": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", @@ -5872,21 +5842,6 @@ "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==" }, - "node_modules/md5": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", - "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", - "dependencies": { - "charenc": "0.0.2", - "crypt": "0.0.2", - "is-buffer": "~1.1.6" - } - }, - "node_modules/md5/node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, "node_modules/mdast-util-from-markdown": { "version": "0.8.4", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.4.tgz", @@ -6107,6 +6062,23 @@ "node": ">=0.10.0" } }, + "node_modules/minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "node_modules/minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "dependencies": { + "minipass": "^2.9.0" + } + }, "node_modules/mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", @@ -6203,6 +6175,20 @@ "node": ">=10" } }, + "node_modules/njre": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/njre/-/njre-0.2.0.tgz", + "integrity": "sha512-+Wq8R6VmjK+jI8a9NdzfU6Vh50r3tjsdvl5KJE1OyHeH8I/nx5Ptm12qpO3qNUbstXuZfBDgDL0qQZw9JyjhMw==", + "dependencies": { + "command-exists-promise": "^2.0.2", + "node-fetch": "^2.5.0", + "tar": "^4.4.8", + "yauzl": "^2.10.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/no-case": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.3.tgz", @@ -6312,13 +6298,13 @@ "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=" }, "node_modules/npm-groovy-lint": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/npm-groovy-lint/-/npm-groovy-lint-4.14.0.tgz", - "integrity": "sha512-09XWq1pRh/yDdKEjevs5zuqldEmXYx2gAHqhrnhCgKdWsTWo8OPAwA89HxY4hbpnQUW/1uGeQ0yzKP87016EmA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/npm-groovy-lint/-/npm-groovy-lint-8.1.0.tgz", + "integrity": "sha512-VPBv0tZlv2pnfbOB+IBsPuZCKDpT1TnJYcl7nnJ1/LCy1xjld9twWyd3XePQcMhjQ6naz3MEW/ZGzqUj8ZlGLg==", "dependencies": { - "@analytics/segment": "^0.4.0", - "analytics": "^0.3.5", + "amplitude": "^5.1.2", "ansi-colors": "^4.1.1", + "axios": "^0.19.2", "cli-progress": "^3.6.0", "debug": "^4.1.1", "decode-html": "^2.0.0", @@ -6328,21 +6314,60 @@ "glob": "^7.1.6", "import-fresh": "^3.2.1", "ip": "^1.1.5", + "java-caller": "^2.2.4", "optionator": "^0.8.3", - "request": "^2.88.2", - "request-promise-native": "^1.0.8", "semver": "^7.1.3", - "shelljs": "^0.7.5", "strip-json-comments": "^3.0.1", - "xml2js": "^0.4.23" + "uuid": "^8.2.0" }, "bin": { - "npm-groovy-lint": "jdeploy-bundle/jdeploy.js" + "npm-groovy-lint": "lib/index.js" }, "engines": { "node": ">=12.0.0" } }, + "node_modules/npm-groovy-lint/node_modules/axios": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", + "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "deprecated": "Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410", + "dependencies": { + "follow-redirects": "1.5.10" + } + }, + "node_modules/npm-groovy-lint/node_modules/follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "dependencies": { + "debug": "=3.1.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/npm-groovy-lint/node_modules/follow-redirects/node_modules/debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/npm-groovy-lint/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/npm-groovy-lint/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -6667,6 +6692,11 @@ "node": ">=8" } }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, "node_modules/performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -7560,17 +7590,6 @@ "node": ">=8.10.0" } }, - "node_modules/rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", - "dependencies": { - "resolve": "^1.1.6" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/redent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", @@ -7634,11 +7653,6 @@ "mdast-util-to-markdown": "^0.6.0" } }, - "node_modules/remove-trailing-slash": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/remove-trailing-slash/-/remove-trailing-slash-0.1.1.tgz", - "integrity": "sha512-o4S4Qh6L2jpnCy83ysZDau+VORNvnFw07CKSAymkd6ICNVEPisMyzlc00KlvvicsxKck94SEwhDnMNdICzO+tA==" - }, "node_modules/repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", @@ -7682,37 +7696,6 @@ "node": ">= 6" } }, - "node_modules/request-promise-core": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", - "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", - "dependencies": { - "lodash": "^4.17.19" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "request": "^2.34" - } - }, - "node_modules/request-promise-native": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", - "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", - "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", - "dependencies": { - "request-promise-core": "1.1.4", - "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" - }, - "engines": { - "node": ">=0.12.0" - }, - "peerDependencies": { - "request": "^2.34" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -7854,23 +7837,6 @@ "node": ">=8" } }, - "node_modules/shelljs": { - "version": "0.7.8", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.8.tgz", - "integrity": "sha1-3svPh0sNHl+3LhSxZKloMEjprLM=", - "dependencies": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - }, - "bin": { - "shjs": "bin/shjs" - }, - "engines": { - "iojs": "*", - "node": ">=0.11.0" - } - }, "node_modules/side-channel": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.3.tgz", @@ -8382,14 +8348,6 @@ "node": ">= 0.6" } }, - "node_modules/stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/string_decoder": { "version": "0.10.31", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", @@ -8815,6 +8773,23 @@ "node": ">=6" } }, + "node_modules/tar": { + "version": "4.4.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "dependencies": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + }, + "engines": { + "node": ">=4.5" + } + }, "node_modules/tekton-lint": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/tekton-lint/-/tekton-lint-0.5.2.tgz", @@ -9462,6 +9437,15 @@ "node": ">=10" } }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "node_modules/zwitch": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", @@ -9469,27 +9453,6 @@ } }, "dependencies": { - "@analytics/cookie-utils": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@analytics/cookie-utils/-/cookie-utils-0.2.3.tgz", - "integrity": "sha512-RiMAVpSluRbWb2hlT9wMJ0r2l+MUZzScYjY+w2iWRzjOr9Zzzs4tYzJT6Sd94PDz3LzCuf4aGOwS6pkKXTEBLw==" - }, - "@analytics/segment": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@analytics/segment/-/segment-0.4.3.tgz", - "integrity": "sha512-YmxjDL3cdMepqikxc9m/EowdW9So4x05isdZDg74ILXFv7CQdUKkVOjbDq+J/+3uEz/7ikh+9/c1fWuZ50cjug==", - "requires": { - "analytics-node": "^3.3.0" - } - }, - "@analytics/storage-utils": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@analytics/storage-utils/-/storage-utils-0.2.4.tgz", - "integrity": "sha512-VHRggJbRY8vHIADWVwbq9cZux0L9LdmlN31XA3daVAI4gMkKdQEocxB7KqGDt6SfIJ3NYi/qh1nRJGooYmTBiA==", - "requires": { - "@analytics/cookie-utils": "^0.2.3" - } - }, "@babel/code-frame": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", @@ -10387,15 +10350,6 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, - "@segment/loosely-validate-event": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz", - "integrity": "sha512-ZMCSfztDBqwotkl848ODgVcAmN4OItEWDCkshcKz0/W6gGSQayuuCtWV/MlodFivAZD793d6UgANd6wCXUfrIw==", - "requires": { - "component-type": "^1.2.1", - "join-component": "^1.1.0" - } - }, "@stoplight/better-ajv-errors": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-0.0.3.tgz", @@ -10920,36 +10874,12 @@ } } }, - "analytics": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/analytics/-/analytics-0.3.5.tgz", - "integrity": "sha512-ydKT6ukiuoruA3iUWW5x0fzKjjiP2F+YS/T6V4bf/ct6hEK8vv/RrLB98h3uafZRpvU4MmtMv94H+au8ohY5/Q==", + "amplitude": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/amplitude/-/amplitude-5.1.4.tgz", + "integrity": "sha512-YwNrbPlY2DJDTYTL5AeAv+4NDw/e2Z+H/24iLN2ZpAsV3rI458T3IGJxfNDKuBAP6jjXjfDuktHh8HvX0Y2BOA==", "requires": { - "analytics-utils": "^0.2.1" - } - }, - "analytics-node": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/analytics-node/-/analytics-node-3.5.0.tgz", - "integrity": "sha512-XgQq6ejZHCehUSnZS4V7QJPLIP7S9OAWwQDYl4WTLtsRvc5fCxIwzK/yihzmIW51v9PnyBmrl9dMcqvwfOE8WA==", - "requires": { - "@segment/loosely-validate-event": "^2.0.0", - "axios": "^0.21.1", - "axios-retry": "^3.0.2", - "lodash.isstring": "^4.0.1", - "md5": "^2.2.1", - "ms": "^2.0.0", - "remove-trailing-slash": "^0.1.0", - "uuid": "^3.2.1" - } - }, - "analytics-utils": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/analytics-utils/-/analytics-utils-0.2.2.tgz", - "integrity": "sha512-fdbc+MeoNrkwCAbGD/qgedyvRbPnImmWiInAgZ51KpINmKITpdtWV+6riHVA1YBSrb8IyYlfxn98IeWyN9a0+Q==", - "requires": { - "@analytics/storage-utils": "^0.2.4", - "dlv": "^1.1.3" + "axios": "^0.21.0" } }, "ansi-colors": { @@ -11263,14 +11193,6 @@ "follow-redirects": "^1.10.0" } }, - "axios-retry": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.1.9.tgz", - "integrity": "sha512-NFCoNIHq8lYkJa6ku4m+V1837TP6lCa7n79Iuf8/AqATAHYB0ISaAS1eyIenDOfHOLtym34W65Sjke2xjg2fsA==", - "requires": { - "is-retry-allowed": "^1.1.0" - } - }, "babel-eslint": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", @@ -11395,6 +11317,11 @@ "node-releases": "^1.1.69" } }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -11505,11 +11432,6 @@ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" }, - "charenc": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", - "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" - }, "chokidar": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", @@ -11525,6 +11447,11 @@ "readdirp": "~3.5.0" } }, + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + }, "clean-css": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", @@ -11616,16 +11543,16 @@ "delayed-stream": "~1.0.0" } }, + "command-exists-promise": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/command-exists-promise/-/command-exists-promise-2.0.2.tgz", + "integrity": "sha512-T6PB6vdFrwnHXg/I0kivM3DqaCGZLjjYSOe0a5WgFKcz1sOnmOeIjnhQPXVXX3QjVbLyTJ85lJkX6lUpukTzaA==" + }, "commander": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" }, - "component-type": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/component-type/-/component-type-1.2.1.tgz", - "integrity": "sha1-ikeQFwAjjk/DIml3EjAibyS0Fak=" - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -11705,11 +11632,6 @@ "which": "^2.0.1" } }, - "crypt": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", - "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" - }, "cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -11833,11 +11755,6 @@ "resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz", "integrity": "sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=" }, - "dlv": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" - }, "dockerfilelint": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/dockerfilelint/-/dockerfilelint-1.8.0.tgz", @@ -13041,6 +12958,14 @@ "reusify": "^1.0.4" } }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "requires": { + "pend": "~1.2.0" + } + }, "file-entry-cache": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", @@ -13137,6 +13062,14 @@ "universalify": "^0.1.0" } }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "requires": { + "minipass": "^2.6.0" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -13702,11 +13635,6 @@ "side-channel": "^1.0.2" } }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" - }, "ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", @@ -13844,11 +13772,6 @@ "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-2.1.0.tgz", "integrity": "sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==" }, - "is-retry-allowed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==" - }, "is-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", @@ -13887,10 +13810,42 @@ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, - "join-component": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz", - "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU=" + "java-caller": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/java-caller/-/java-caller-2.2.4.tgz", + "integrity": "sha512-c6pG483U+KKkP0Qz8BN6Lj+EPShFHHYHZhfnnTYG1JaSpMCguZd2xUSjOx552Z95JFrKZD9Q1ODul7OF4/W/RQ==", + "requires": { + "debug": "^4.1.1", + "fs-extra": "^9.0.1", + "njre": "^0.2.0" + }, + "dependencies": { + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + } + } }, "js-stringify": { "version": "1.0.2", @@ -14190,11 +14145,6 @@ "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, "lodash.set": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", @@ -14344,23 +14294,6 @@ "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==" }, - "md5": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", - "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", - "requires": { - "charenc": "0.0.2", - "crypt": "0.0.2", - "is-buffer": "~1.1.6" - }, - "dependencies": { - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - } - } - }, "mdast-util-from-markdown": { "version": "0.8.4", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.4.tgz", @@ -14540,6 +14473,23 @@ } } }, + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "requires": { + "minipass": "^2.9.0" + } + }, "mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", @@ -14617,6 +14567,17 @@ "jsep": "^0.3.4" } }, + "njre": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/njre/-/njre-0.2.0.tgz", + "integrity": "sha512-+Wq8R6VmjK+jI8a9NdzfU6Vh50r3tjsdvl5KJE1OyHeH8I/nx5Ptm12qpO3qNUbstXuZfBDgDL0qQZw9JyjhMw==", + "requires": { + "command-exists-promise": "^2.0.2", + "node-fetch": "^2.5.0", + "tar": "^4.4.8", + "yauzl": "^2.10.0" + } + }, "no-case": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.3.tgz", @@ -14706,13 +14667,13 @@ "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=" }, "npm-groovy-lint": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/npm-groovy-lint/-/npm-groovy-lint-4.14.0.tgz", - "integrity": "sha512-09XWq1pRh/yDdKEjevs5zuqldEmXYx2gAHqhrnhCgKdWsTWo8OPAwA89HxY4hbpnQUW/1uGeQ0yzKP87016EmA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/npm-groovy-lint/-/npm-groovy-lint-8.1.0.tgz", + "integrity": "sha512-VPBv0tZlv2pnfbOB+IBsPuZCKDpT1TnJYcl7nnJ1/LCy1xjld9twWyd3XePQcMhjQ6naz3MEW/ZGzqUj8ZlGLg==", "requires": { - "@analytics/segment": "^0.4.0", - "analytics": "^0.3.5", + "amplitude": "^5.1.2", "ansi-colors": "^4.1.1", + "axios": "^0.19.2", "cli-progress": "^3.6.0", "debug": "^4.1.1", "decode-html": "^2.0.0", @@ -14722,13 +14683,49 @@ "glob": "^7.1.6", "import-fresh": "^3.2.1", "ip": "^1.1.5", + "java-caller": "^2.2.4", "optionator": "^0.8.3", - "request": "^2.88.2", - "request-promise-native": "^1.0.8", "semver": "^7.1.3", - "shelljs": "^0.7.5", "strip-json-comments": "^3.0.1", - "xml2js": "^0.4.23" + "uuid": "^8.2.0" + }, + "dependencies": { + "axios": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", + "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "requires": { + "follow-redirects": "1.5.10" + } + }, + "follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "requires": { + "debug": "=3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + } + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + } } }, "npm-run-path": { @@ -14988,6 +14985,11 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -15729,14 +15731,6 @@ "picomatch": "^2.2.1" } }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", - "requires": { - "resolve": "^1.1.6" - } - }, "redent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", @@ -15791,11 +15785,6 @@ "mdast-util-to-markdown": "^0.6.0" } }, - "remove-trailing-slash": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/remove-trailing-slash/-/remove-trailing-slash-0.1.1.tgz", - "integrity": "sha512-o4S4Qh6L2jpnCy83ysZDau+VORNvnFw07CKSAymkd6ICNVEPisMyzlc00KlvvicsxKck94SEwhDnMNdICzO+tA==" - }, "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", @@ -15833,24 +15822,6 @@ "uuid": "^3.3.2" } }, - "request-promise-core": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", - "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", - "requires": { - "lodash": "^4.17.19" - } - }, - "request-promise-native": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", - "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", - "requires": { - "request-promise-core": "1.1.4", - "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -15958,16 +15929,6 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, - "shelljs": { - "version": "0.7.8", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.8.tgz", - "integrity": "sha1-3svPh0sNHl+3LhSxZKloMEjprLM=", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, "side-channel": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.3.tgz", @@ -16386,11 +16347,6 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" }, - "stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=" - }, "string_decoder": { "version": "0.10.31", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", @@ -16739,6 +16695,20 @@ } } }, + "tar": { + "version": "4.4.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + } + }, "tekton-lint": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/tekton-lint/-/tekton-lint-0.5.2.tgz", @@ -17261,6 +17231,15 @@ "decamelize": "^1.2.0" } }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "zwitch": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", diff --git a/dependencies/package.json b/dependencies/package.json index 0c3e117b..52591555 100644 --- a/dependencies/package.json +++ b/dependencies/package.json @@ -23,7 +23,7 @@ "lodash": "^4.17.19", "markdownlint-cli": "^0.26.0", "node-fetch": "^2.6.1", - "npm-groovy-lint": "^4.14.0", + "npm-groovy-lint": "^8.1.0", "prettier": "^2.2.1", "prettyjson": "^1.2.1", "sql-lint": "0.0.15", diff --git a/lib/functions/tapLibrary.sh b/lib/functions/tapLibrary.sh index 56845e63..7fb70115 100755 --- a/lib/functions/tapLibrary.sh +++ b/lib/functions/tapLibrary.sh @@ -101,6 +101,9 @@ function AddDetailedMessageIfEnabled() { DETAILED_MSG=$(TransformTAPDetails "${LINT_CMD}") if [ -n "${DETAILED_MSG}" ]; then 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 } ################################################################################