Skip to content

Commit

Permalink
chore: tweak lint doc
Browse files Browse the repository at this point in the history
  • Loading branch information
togami2864 committed Mar 23, 2024
1 parent 95a23f5 commit 58e5093
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ use biome_css_syntax::CssDeclarationOrRuleBlock;
use biome_rowan::AstNode;

declare_rule! {
/// Succinct description of the rule.
/// **[WIP] This rule hasn't been implemented yet.**
///
/// Put context and details about the rule.
/// As a starting point, you can take the description of the corresponding _ESLint_ rule (if any).
///
/// Try to stay consistent with the descriptions of implemented rules.
///
/// Add a link to the corresponding stylelint rule (if any):
/// This is sample rule
///
/// ## Examples
///
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_service/src/configuration/linter/rules.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@biomejs/backend-jsonrpc/src/workspace.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@biomejs/biome/configuration_schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/src/content/docs/linter/rules/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Rules that belong to this group <strong>are not subject to semantic version</str
| Rule name | Description | Properties | Language |
| --- | --- | --- | --- |
| [noBarrelFile](/linter/rules/no-barrel-file) | Disallow the use of barrel file. | | <img alt="JavaScript logo" src="/src/assets/svg/js-icon.svg" /> |
| [noColorInvalidHex](/linter/rules/no-color-invalid-hex) | Succinct description of the rule. | | <img alt="JavaScript logo" src="/src/assets/svg/css-icon.svg" /> |
| [noColorInvalidHex](/linter/rules/no-color-invalid-hex) | <strong>[WIP] This rule hasn't been implemented yet.</strong> | | <img alt="JavaScript logo" src="/src/assets/svg/css-icon.svg" /> |
| [noConsole](/linter/rules/no-console) | Disallow the use of <code>console</code>. | <span aria-label="The rule has an unsafe fix" role="img" title="The rule has an unsafe fix">⚠️ </span> | <img alt="JavaScript logo" src="/src/assets/svg/js-icon.svg" /> |
| [noDoneCallback](/linter/rules/no-done-callback) | Disallow using a callback in asynchronous tests and hooks. | | <img alt="JavaScript logo" src="/src/assets/svg/js-icon.svg" /> |
| [noDuplicateElseIf](/linter/rules/no-duplicate-else-if) | Disallow duplicate conditions in if-else-if chains | | <img alt="JavaScript logo" src="/src/assets/svg/js-icon.svg" /> |
Expand Down
9 changes: 2 additions & 7 deletions website/src/content/docs/linter/rules/no-color-invalid-hex.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@ This rule hasn't been released yet.
This rule is part of the [nursery](/linter/rules/#nursery) group.
:::

Succinct description of the rule.
**[WIP] This rule hasn't been implemented yet.**

Put context and details about the rule.
As a starting point, you can take the description of the corresponding _ESLint_ rule (if any).

Try to stay consistent with the descriptions of implemented rules.

Add a link to the corresponding stylelint rule (if any):
This is sample rule

## Examples

Expand Down

0 comments on commit 58e5093

Please sign in to comment.