Skip to content

Commit

Permalink
docs(website): include rule path in rule pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivalldi committed Sep 18, 2023
1 parent 276ffe3 commit 0b8ee1c
Show file tree
Hide file tree
Showing 159 changed files with 161 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-access-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noAccessKey (since v1.0.0)
---

**Diagnostic Category: `lint/a11y/noAccessKey`**

Enforce that the `accessKey` attribute is not used on any HTML element.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noAccumulatingSpread (since v1.0.0)
---

**Diagnostic Category: `lint/nursery/noAccumulatingSpread`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noArguments (since v1.0.0)
---

**Diagnostic Category: `lint/style/noArguments`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noAriaUnsupportedElements (since v1.0.0)
---

**Diagnostic Category: `lint/a11y/noAriaUnsupportedElements`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noArrayIndexKey (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noArrayIndexKey`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noAssignInExpressions (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noAssignInExpressions`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noAsyncPromiseExecutor (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noAsyncPromiseExecutor`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-autofocus.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noAutofocus (since v1.0.0)
---

**Diagnostic Category: `lint/a11y/noAutofocus`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-banned-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noBannedTypes (since v1.0.0)
---

**Diagnostic Category: `lint/complexity/noBannedTypes`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-blank-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noBlankTarget (since v1.0.0)
---

**Diagnostic Category: `lint/a11y/noBlankTarget`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-catch-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noCatchAssign (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noCatchAssign`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-children-prop.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noChildrenProp (since v1.0.0)
---

**Diagnostic Category: `lint/correctness/noChildrenProp`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-class-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noClassAssign (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noClassAssign`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-comma-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noCommaOperator (since v1.0.0)
---

**Diagnostic Category: `lint/style/noCommaOperator`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-comment-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noCommentText (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noCommentText`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noCompareNegZero (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noCompareNegZero`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConfusingLabels (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noConfusingLabels`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConfusingVoidType (since v1.2.0)
---

**Diagnostic Category: `lint/nursery/noConfusingVoidType`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-console-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConsoleLog (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noConsoleLog`**

Disallow the use of `console.log`

Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-const-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConstAssign (since v1.0.0)
---

**Diagnostic Category: `lint/correctness/noConstAssign`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-const-enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConstEnum (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noConstEnum`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConstantCondition (since v1.0.0)
---

**Diagnostic Category: `lint/correctness/noConstantCondition`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noConstructorReturn (since v1.0.0)
---

**Diagnostic Category: `lint/correctness/noConstructorReturn`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noControlCharactersInRegex (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noControlCharactersInRegex`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDangerouslySetInnerHtmlWithChildren (since v1.0.0)
---

**Diagnostic Category: `lint/security/noDangerouslySetInnerHtmlWithChildren`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDangerouslySetInnerHtml (since v1.0.0)
---

**Diagnostic Category: `lint/security/noDangerouslySetInnerHtml`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-debugger.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDebugger (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDebugger`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDelete (since v1.0.0)
---

**Diagnostic Category: `lint/performance/noDelete`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDistractingElements (since v1.0.0)
---

**Diagnostic Category: `lint/a11y/noDistractingElements`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-double-equals.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDoubleEquals (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDoubleEquals`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-duplicate-case.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDuplicateCase (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDuplicateCase`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDuplicateClassMembers (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDuplicateClassMembers`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDuplicateJsonKeys (since v1.0.0)
---

**Diagnostic Category: `lint/nursery/noDuplicateJsonKeys`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDuplicateJsxProps (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDuplicateJsxProps`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDuplicateObjectKeys (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDuplicateObjectKeys`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noDuplicateParameters (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noDuplicateParameters`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noEmptyInterface (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noEmptyInterface`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-empty-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noEmptyPattern (since v1.0.0)
---

**Diagnostic Category: `lint/correctness/noEmptyPattern`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noExcessiveComplexity (since v1.0.0)
---

**Diagnostic Category: `lint/nursery/noExcessiveComplexity`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-explicit-any.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noExplicitAny (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noExplicitAny`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noExtraBooleanCast (since v1.0.0)
---

**Diagnostic Category: `lint/complexity/noExtraBooleanCast`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noExtraNonNullAssertion (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noExtraNonNullAssertion`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noFallthroughSwitchClause (since v1.0.0)
---

**Diagnostic Category: `lint/nursery/noFallthroughSwitchClause`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-for-each.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noForEach (since v1.0.0)
---

**Diagnostic Category: `lint/complexity/noForEach`**

Prefer `for...of` statement instead of `Array.forEach`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noFunctionAssign (since v1.0.0)
---

**Diagnostic Category: `lint/suspicious/noFunctionAssign`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noGlobalIsFinite (since v1.0.0)
---

**Diagnostic Category: `lint/nursery/noGlobalIsFinite`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-global-is-nan.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noGlobalIsNan (since v1.0.0)
---

**Diagnostic Category: `lint/nursery/noGlobalIsNan`**

:::caution
This rule is part of the [nursery](/linter/rules/#nursery) group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noGlobalObjectCalls (since v1.0.0)
---

**Diagnostic Category: `lint/correctness/noGlobalObjectCalls`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
1 change: 1 addition & 0 deletions website/src/content/docs/linter/rules/no-header-scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noHeaderScope (since v1.0.0)
---

**Diagnostic Category: `lint/a11y/noHeaderScope`**

:::note
This rule is recommended by Biome. A diagnostic error will appear when linting your code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: noImplicitBoolean (since v1.0.0)
---

**Diagnostic Category: `lint/style/noImplicitBoolean`**

Disallow implicit `true` values on JSX boolean attributes

Expand Down
Loading

0 comments on commit 0b8ee1c

Please sign in to comment.