Skip to content

Commit 3369cce

Browse files
authored
chore: replace lint.deno.land with /lint/ page (#1289)
1 parent 5a7ed1d commit 3369cce

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

lint/rules/ban-unknown-rule-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ tags: [recommended]
55
Warns the usage of unknown rule codes in ignore directives.
66

77
We sometimes have to suppress and ignore lint errors for some reasons. We can do
8-
so using [ignore directives](https://lint.deno.land/ignoring-rules) with rule
9-
names that should be ignored like so:
8+
so using [ignore directives](/go/lint-ignore/) with rule names that should be
9+
ignored like so:
1010

1111
```typescript
1212
// deno-lint-ignore no-explicit-any no-unused-vars

lint/rules/ban-unused-ignore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tags: [recommended]
55
Warns unused ignore directives.
66

77
We sometimes have to suppress and ignore lint errors for some reasons and we can
8-
do so using [ignore directives](https://lint.deno.land/ignoring-rules).
8+
do so using [ignore directives](/go/lint-ignore/).
99

1010
In some cases, however, like after refactoring, we may end up having ignore
1111
directives that are no longer necessary. Such superfluous ignore directives are

lint/rules/prefer-const.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ write buggy code. So this lint rule checks if there are [`let`] variables that
1717
could potentially be declared with [`const`] instead.
1818

1919
Note that this rule does not check for [`var`] variables. Instead,
20-
[the `no-var` rule](https://lint.deno.land/rules/no-var) is responsible for
21-
detecting and warning [`var`] variables.
20+
[the `no-var` rule](/lint/rules/no-var) is responsible for detecting and warning
21+
[`var`] variables.
2222

2323
[`let`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2424
[`const`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const

runtime/fundamentals/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ This configuration will:
201201
- removes the `no-unused-vars` rule excluded.
202202

203203
You can find a full list of available linting rules in the
204-
[Deno lint documentation](https://lint.deno.land/).
204+
[List of rules](/lint/) documentation page.
205205

206206
Read more about [linting with Deno](/runtime/reference/cli/linter/).
207207

runtime/fundamentals/linting_and_formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The linter can be configured in a
4444
rules, plugins, and settings to tailor the linting process to your needs.
4545

4646
You can view and search the list of available rules and their usage on
47-
[Deno lint rules](https://lint.deno.land/).
47+
[List of rules](/lint/) documentation page.
4848

4949
## Formatting
5050

runtime/fundamentals/node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ error[no-process-globals]: NodeJS process global is discouraged in Deno
511511
| ^^^^^^^
512512
= hint: Add `import process from "node:process";`
513513
514-
docs: https://lint.deno.land/rules/no-process-globals
514+
docs: https://docs.deno.com/lint/rules/no-process-globals
515515
516516
517517
Found 1 problem (1 fixable via --fix)
@@ -674,7 +674,7 @@ error[no-constant-condition]: Use of a constant expressions as conditions is not
674674
| ^^^^
675675
= hint: Remove the constant expression
676676
677-
docs: https://lint.deno.land/rules/no-constant-condition
677+
docs: https://docs.deno.com/lint/rules/no-constant-condition
678678
679679
680680
Found 1 problem
@@ -688,8 +688,8 @@ deno lint --fix
688688
```
689689
690690
A full list of all supported linting rules can be found on
691-
[https://lint.deno.land/](https://lint.deno.land/). To learn more about how to
692-
configure the linter, check out the
691+
[https://docs.deno.com/lint/](https://docs.deno.com/lint/). To learn more about
692+
how to configure the linter, check out the
693693
[`deno lint` subcommand](/runtime/reference/cli/linter/).
694694
695695
**Formatting**

runtime/reference/cli/lint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ command: lint
1111
## Available rules
1212

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

1616
## Ignore directives
1717

runtime/reference/deno_namespace_apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ A couple notes on this example:
827827
828828
- `addEventListener` and `onload`/`onunload` are prefixed with `globalThis`, but
829829
you could also use `self` or no prefix at all.
830-
[It is not recommended to use `window` as a prefix](https://lint.deno.land/#no-window-prefix).
830+
[It is not recommended to use `window` as a prefix](https://docs.deno.com/lint/rules/no-window-prefix).
831831
- You can use `addEventListener` and/or `onload`/`onunload` to define handlers
832832
for events. There is a major difference between them, let's run the example:
833833

0 commit comments

Comments
 (0)