简中文档

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"]
    }
  }
}

强制使用明确或可以简单推断的类型。

阅读更多:https://jsr.io/docs/about-slow-types

你找到了你需要的东西吗?

编辑此页面
隐私政策