diff --git a/cli/tools/lint/rules/no_sloppy_imports.md b/cli/tools/lint/rules/no_sloppy_imports.md deleted file mode 100644 index 08547c9da3..0000000000 --- a/cli/tools/lint/rules/no_sloppy_imports.md +++ /dev/null @@ -1,20 +0,0 @@ -Enforces specifying explicit references to paths in module specifiers. - -Non-explicit specifiers are ambiguous and require probing for the correct file -path on every run, which has a performance overhead. - -Note: This lint rule is only active when using `--unstable-sloppy-imports`. - -### Invalid: - -```typescript -import { add } from "./math/add"; -import { ConsoleLogger } from "./loggers"; -``` - -### Valid: - -```typescript -import { add } from "./math/add.ts"; -import { ConsoleLogger } from "./loggers/index.ts"; -``` diff --git a/cli/tools/lint/rules/no_sloppy_imports.rs b/cli/tools/lint/rules/no_sloppy_imports.rs index 48b0e5015f..ada083c43c 100644 --- a/cli/tools/lint/rules/no_sloppy_imports.rs +++ b/cli/tools/lint/rules/no_sloppy_imports.rs @@ -160,11 +160,6 @@ impl LintRule for NoSloppyImportsRule { CODE } - // TODO(bartlomieju): this document needs to be exposed to `https://lint.deno.land`. - // fn docs(&self) -> &'static str { - // include_str!("no_sloppy_imports.md") - // } - fn tags(&self) -> tags::Tags { &[tags::RECOMMENDED] } diff --git a/cli/tools/lint/rules/no_slow_types.md b/cli/tools/lint/rules/no_slow_types.md deleted file mode 100644 index d0764d8659..0000000000 --- a/cli/tools/lint/rules/no_slow_types.md +++ /dev/null @@ -1,3 +0,0 @@ -Enforces using types that are explicit or can be simply inferred. - -Read more: https://jsr.io/docs/about-slow-types diff --git a/cli/tools/lint/rules/no_slow_types.rs b/cli/tools/lint/rules/no_slow_types.rs index 668bc37689..c7b4cf96db 100644 --- a/cli/tools/lint/rules/no_slow_types.rs +++ b/cli/tools/lint/rules/no_slow_types.rs @@ -27,11 +27,6 @@ impl PackageLintRule for NoSlowTypesRule { &[tags::JSR] } - // TODO(bartlomieju): these docs need to be hosted somewhere. - // fn docs(&self) -> &'static str { - // include_str!("no_slow_types.md") - // } - fn help_docs_url(&self) -> Cow<'static, str> { Cow::Borrowed("https://jsr.io/docs/about-slow-types") }