Skip to content

Commit c61fcd5

Browse files
Add links between lint pages (#1421)
1 parent 9448652 commit c61fcd5

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

lint/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ export default function LintRulesIndex(
3939
return (
4040
<div>
4141
<div class="flex flex-col gap-4 mb-8">
42+
<p>
43+
These lint rules are provided by the{" "}
44+
<a href="/runtime/reference/cli/lint/">
45+
<code>deno lint</code>
46+
</a>{" "}
47+
command.
48+
</p>
4249
<input
4350
type="text"
4451
id="lint-rule-search"

runtime/fundamentals/linting_and_formatting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ The linter can be configured in a
4343
[`deno.json`](/runtime/fundamentals/configuration/) file. You can specify custom
4444
rules, plugins, and settings to tailor the linting process to your needs.
4545

46-
You can view and search the list of available rules and their usage on
46+
### Linting rules
47+
48+
You can view and search the list of available rules and their usage on the
4749
[List of rules](/lint/) documentation page.
4850

4951
## Formatting

runtime/reference/cli/lint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ command: lint
1010

1111
## Available rules
1212

13-
For a complete list of supported rules, visit
14-
[List of rules](https://docs.deno.com/lint/) documentation page.
13+
For a complete list of supported rules, visit [List of rules](/lint/)
14+
documentation page.
1515

1616
## Ignore directives
1717

0 commit comments

Comments
 (0)