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 481bb39
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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `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)
---

**Rule path: `lint/style/noImplicitBoolean`**

Disallow implicit `true` values on JSX boolean attributes

Expand Down
Loading

0 comments on commit 481bb39

Please sign in to comment.