0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-07 23:06:50 -05:00

fix(lint): update jsx/react related rules and names (#27836)

This PR updates `deno_lint` which contains a couple of bug fixes for
JSX/React related rules. The react rules now have all a `react-*` prefix
in the name as well.
This commit is contained in:
Marvin Hagemeister 2025-01-27 17:54:35 +01:00 committed by GitHub
parent 48e86c7025
commit 21e8260cc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 78 additions and 78 deletions

4
Cargo.lock generated
View file

@ -1945,9 +1945,9 @@ dependencies = [
[[package]]
name = "deno_lint"
version = "0.69.0"
version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "802583d3ca6c7063e14cafa02ddc206fb34e804e095d52032baf375c56a99515"
checksum = "ac94db8d8597b96c92d30a68b11d4bec6822dcbb3e8675ab1e0136816a301a34"
dependencies = [
"anyhow",
"deno_ast",

View file

@ -74,7 +74,7 @@ deno_doc = { version = "=0.164.0", features = ["rust", "comrak"] }
deno_error.workspace = true
deno_graph = { version = "=0.87.0" }
deno_lib.workspace = true
deno_lint = { version = "0.69.0" }
deno_lint = { version = "0.70.0" }
deno_lockfile.workspace = true
deno_media_type = { workspace = true, features = ["data_url", "decoding", "module_specifier"] }
deno_npm.workspace = true

View file

@ -8,7 +8,6 @@
"ban-untagged-ignore",
"ban-untagged-todo",
"ban-unused-ignore",
"button-has-type",
"camelcase",
"constructor-super",
"default-param-last",
@ -21,11 +20,11 @@
"getter-return",
"guard-for-in",
"jsx-boolean-value",
"jsx-button-has-type",
"jsx-curly-braces",
"jsx-key",
"jsx-no-children-prop",
"jsx-no-comment-text-nodes",
"jsx-no-danger-with-children",
"jsx-no-duplicate-props",
"jsx-no-unescaped-entities",
"jsx-no-useless-fragment",
@ -44,7 +43,6 @@
"no-const-assign",
"no-constant-condition",
"no-control-regex",
"no-danger",
"no-debugger",
"no-delete-var",
"no-deprecated-deno-api",
@ -115,9 +113,11 @@
"prefer-const",
"prefer-namespace-keyword",
"prefer-primordials",
"react-no-danger",
"react-no-danger-with-children",
"react-rules-of-hooks",
"require-await",
"require-yield",
"rules-of-hooks",
"single-var-declarator",
"triple-slash-reference",
"use-isnan",

View file

@ -5,7 +5,7 @@ error[no-unused-vars]: `t` is never used
| ^
= hint: If this is intentional, prefix it with an underscore like `_t`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 1 problem

View file

@ -5,7 +5,7 @@ error[no-empty]: Empty block statement
| ^^
= hint: Add code or comment to the empty block
docs: https://lint.deno.land/rules/no-empty
docs: https://docs.deno.com/lint/rules/no-empty
Found 1 problem

View file

@ -5,7 +5,7 @@ error[verbatim-module-syntax]: All import identifiers are used in types
| ^^^^^^
= hint: Change `import` to `import type` and optionally add an explicit side effect import
docs: https://lint.deno.land/rules/verbatim-module-syntax
docs: https://docs.deno.com/lint/rules/verbatim-module-syntax
Found 1 problem (1 fixable via --fix)

View file

@ -5,7 +5,7 @@ error[no-unused-vars]: `React` is never used
| ^^^^^
= hint: If this is intentional, prefix it with an underscore like `_React`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 1 problem

View file

@ -5,7 +5,7 @@ error[no-node-globals]: NodeJS globals are not available in Deno
| ^^^^^^^^^^^^
= hint: Add `import { setImmediate } from "node:timers";`
docs: https://lint.deno.land/rules/no-node-globals
docs: https://docs.deno.com/lint/rules/no-node-globals
error[no-node-globals]: NodeJS globals are not available in Deno
@ -15,7 +15,7 @@ error[no-node-globals]: NodeJS globals are not available in Deno
| ^^^^^^^^^^^^
= hint: Add `import { setImmediate } from "node:timers";`
docs: https://lint.deno.land/rules/no-node-globals
docs: https://docs.deno.com/lint/rules/no-node-globals
Found 2 problems (2 fixable via --fix)

View file

@ -6,7 +6,7 @@ error[no-unused-vars]: `a` is never used
| ^
= hint: If this is intentional, prefix it with an underscore like `_a`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `a` is never used
@ -16,7 +16,7 @@ error[no-unused-vars]: `a` is never used
| ^
= hint: If this is intentional, prefix it with an underscore like `_a`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
[UNORDERED_END]

View file

@ -6,7 +6,7 @@ error[no-unused-vars]: `a` is never used
| ^
= hint: If this is intentional, prefix it with an underscore like `_a`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `a` is never used
@ -16,7 +16,7 @@ error[no-unused-vars]: `a` is never used
| ^
= hint: If this is intentional, prefix it with an underscore like `_a`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
[UNORDERED_END]

View file

@ -5,7 +5,7 @@ error[ban-untagged-ignore]: Ignore directive requires lint rule name(s)
| ^^^^^^^^^^^^^^^^^^^
= hint: Add one or more lint rule names. E.g. // deno-lint-ignore adjacent-overload-signatures
docs: https://lint.deno.land/rules/ban-untagged-ignore
docs: https://docs.deno.com/lint/rules/ban-untagged-ignore
error[no-empty]: Empty block statement
@ -15,6 +15,6 @@ error[no-empty]: Empty block statement
| ^^
= hint: Add code or comment to the empty block
docs: https://lint.deno.land/rules/no-empty
docs: https://docs.deno.com/lint/rules/no-empty

View file

@ -5,7 +5,7 @@ error[no-explicit-any]: `any` type is not allowed
| ^^^
= hint: Use a specific type other than `any`
docs: https://lint.deno.land/rules/no-explicit-any
docs: https://docs.deno.com/lint/rules/no-explicit-any
Found 1 problem

View file

@ -9,7 +9,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 1 problem

View file

@ -5,7 +5,7 @@ error[ban-untagged-todo]: TODO should be tagged with (@username) or (#issue)
| ^^^^^^^^^^^^
= hint: Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123)
docs: https://lint.deno.land/rules/ban-untagged-todo
docs: https://docs.deno.com/lint/rules/ban-untagged-todo
error[no-unused-vars]: `add` is never used
@ -15,7 +15,7 @@ error[no-unused-vars]: `add` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_add`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 2 problems

View file

@ -5,7 +5,7 @@ error[ban-untagged-todo]: TODO should be tagged with (@username) or (#issue)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= hint: Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123)
docs: https://lint.deno.land/rules/ban-untagged-todo
docs: https://docs.deno.com/lint/rules/ban-untagged-todo
error[no-unused-vars]: `subtract` is never used
@ -15,7 +15,7 @@ error[no-unused-vars]: `subtract` is never used
| ^^^^^^^^
= hint: If this is intentional, prefix it with an underscore like `_subtract`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 2 problems

View file

@ -5,7 +5,7 @@ error[ban-untagged-todo]: TODO should be tagged with (@username) or (#issue)
| ^^^^^^^^^^^^
= hint: Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123)
docs: https://lint.deno.land/rules/ban-untagged-todo
docs: https://docs.deno.com/lint/rules/ban-untagged-todo
error[no-unused-vars]: `add` is never used
@ -15,7 +15,7 @@ error[no-unused-vars]: `add` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_add`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 2 problems

View file

@ -6,7 +6,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -16,7 +16,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -26,7 +26,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -36,7 +36,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -46,7 +46,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -56,7 +56,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -66,7 +66,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -76,7 +76,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -86,7 +86,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
[UNORDERED_END]

View file

@ -6,7 +6,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -16,7 +16,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -26,7 +26,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -36,7 +36,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -46,7 +46,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -56,7 +56,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -66,7 +66,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -76,7 +76,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -86,7 +86,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
[UNORDERED_END]

View file

@ -6,7 +6,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -16,7 +16,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -26,7 +26,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -36,7 +36,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -46,7 +46,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -56,7 +56,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -66,7 +66,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -76,7 +76,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -86,7 +86,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -96,7 +96,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -106,7 +106,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
[UNORDERED_END]

View file

@ -6,7 +6,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -16,7 +16,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -26,7 +26,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -36,7 +36,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -46,7 +46,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -56,7 +56,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -66,7 +66,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -76,7 +76,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -86,7 +86,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -96,7 +96,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-unused-vars]: `foo` is never used
@ -106,7 +106,7 @@ error[no-unused-vars]: `foo` is never used
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_foo`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
[UNORDERED_END]

View file

@ -5,7 +5,7 @@ error[no-eval]: `eval` call is not allowed
| ^^^^^^^^
= hint: Remove the use of `eval`
docs: https://lint.deno.land/rules/no-eval
docs: https://docs.deno.com/lint/rules/no-eval
error[no-await-in-loop]: Unexpected `await` inside a loop.
@ -15,7 +15,7 @@ error[no-await-in-loop]: Unexpected `await` inside a loop.
| ^^^^^^^^^^^^^^^^^^^^^^^
= hint: Remove `await` in loop body, store all promises generated and then `await Promise.all(storedPromises)` after the loop
docs: https://lint.deno.land/rules/no-await-in-loop
docs: https://docs.deno.com/lint/rules/no-await-in-loop
error[no-explicit-any]: `any` type is not allowed
@ -25,7 +25,7 @@ error[no-explicit-any]: `any` type is not allowed
| ^^^
= hint: Use a specific type other than `any`
docs: https://lint.deno.land/rules/no-explicit-any
docs: https://docs.deno.com/lint/rules/no-explicit-any
Found 3 problems

View file

@ -5,7 +5,7 @@ error[no-eval]: `eval` call is not allowed
| ^^^^^^^^
= hint: Remove the use of `eval`
docs: https://lint.deno.land/rules/no-eval
docs: https://docs.deno.com/lint/rules/no-eval
error[no-unused-vars]: `unused` is never used
@ -15,7 +15,7 @@ error[no-unused-vars]: `unused` is never used
| ^^^^^^
= hint: If this is intentional, prefix it with an underscore like `_unused`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
error[no-explicit-any]: `any` type is not allowed
@ -25,7 +25,7 @@ error[no-explicit-any]: `any` type is not allowed
| ^^^
= hint: Use a specific type other than `any`
docs: https://lint.deno.land/rules/no-explicit-any
docs: https://docs.deno.com/lint/rules/no-explicit-any
error[no-eval]: `eval` call is not allowed
@ -35,7 +35,7 @@ error[no-eval]: `eval` call is not allowed
| ^^^^^^^^
= hint: Remove the use of `eval`
docs: https://lint.deno.land/rules/no-eval
docs: https://docs.deno.com/lint/rules/no-eval
error[no-await-in-loop]: Unexpected `await` inside a loop.
@ -45,7 +45,7 @@ error[no-await-in-loop]: Unexpected `await` inside a loop.
| ^^^^^^^^^^^^^^^^^^^^^^^
= hint: Remove `await` in loop body, store all promises generated and then `await Promise.all(storedPromises)` after the loop
docs: https://lint.deno.land/rules/no-await-in-loop
docs: https://docs.deno.com/lint/rules/no-await-in-loop
error[no-explicit-any]: `any` type is not allowed
@ -55,7 +55,7 @@ error[no-explicit-any]: `any` type is not allowed
| ^^^
= hint: Use a specific type other than `any`
docs: https://lint.deno.land/rules/no-explicit-any
docs: https://docs.deno.com/lint/rules/no-explicit-any
error[no-eval]: `eval` call is not allowed
@ -65,7 +65,7 @@ error[no-eval]: `eval` call is not allowed
| ^^^^^^^^
= hint: Remove the use of `eval`
docs: https://lint.deno.land/rules/no-eval
docs: https://docs.deno.com/lint/rules/no-eval
error[no-unused-vars]: `unused` is never used
@ -75,7 +75,7 @@ error[no-unused-vars]: `unused` is never used
| ^^^^^^
= hint: If this is intentional, prefix it with an underscore like `_unused`
docs: https://lint.deno.land/rules/no-unused-vars
docs: https://docs.deno.com/lint/rules/no-unused-vars
Found 8 problems