Skip to content

Commit

Permalink
docs(website): remove unwanted code
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Oct 17, 2023
1 parent addc71f commit 9c869b9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions website/src/content/docs/linter/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: How to use the Biome linter.

import NumberOfRules from "@src/components/generated/NumberOfRules.astro";
import RecommendedRules from "@src/components/generated/RecommendedRules.astro";
import RecommendedRulesMd from "@src/components/generated/RecommendedRules.md";

Biome's linter statically analyzes your code to catch common errors and to help writing idiomatic code.

Expand Down Expand Up @@ -36,8 +35,7 @@ Lint rules may provide automatic code fixes. Biome distinguishes between two typ

### Safe fixes

Safe fixes are guaranteed to not change the semantic of your code.
They can be applied without explicit review.
Safe fixes are guaranteed to not change the semantic of your code. They can be applied without explicit review.

To apply _safe fixes_, use `--apply`:

Expand All @@ -47,8 +45,7 @@ biome check --apply ./src

### Unsafe fixes

Unsafe fixes may change the semantic of your program.
Therefore, it's advised to manually review the changes.
Unsafe fixes may change the semantic of your program. Therefore, it's advised to manually review the changes.

To apply _unsafe fixes_, use `--apply-unsafe`:

Expand All @@ -60,7 +57,7 @@ biome check --apply-unsafe ./src
## Recommended rules

When the linter is enabled, it recommends a number of rules. Recommended rules will emit error diagnostics. Below the list of recommended rules:
<RecommendedRulesMd />

<RecommendedRules />


Expand Down

0 comments on commit 9c869b9

Please sign in to comment.