no-slow-types
NOTE: this rule is part of the
jsr rule set.Enable full set in
deno.json:{
"lint": {
"rules": {
"tags": ["jsr"]
}
}
}Enable full set using the Deno CLI:
deno lint --rules-tags=jsr
This rule can be explictly included to or excluded from the rules present in the current tag by adding it to the
include or exclude array in deno.json:{
"lint": {
"rules": {
"include": ["no-slow-types"],
"exclude": ["no-slow-types"]
}
}
}Enforces using types that are explicit or can be simply inferred.
Read more: https://jsr.io/docs/about-slow-types