Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Oct 10, 2024
1 parent 40e1c71 commit 9332fdb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

# CSSTree Validator

# CSSTree Validator

CSS Validator built on [CSSTree](https://github.com/csstree/csstree).

Technically, the package utilizes the capabilities of CSSTree to match CSS syntaxes to various parts of your code and generates a list of errors, if any.
Expand Down Expand Up @@ -110,8 +108,8 @@ Available helper functions:

CSSTree Validator provides several built-in reporters to convert validation results into different formats:

- **console** – Human-readable text suitable for console output.
- **json** – Converts errors into a unified JSON array of objects:
- `console` – Human-readable text suitable for console output.
- `json` – Converts errors into a unified JSON array of objects:

```ts
type ErrorEntry = {
Expand All @@ -126,7 +124,7 @@ CSSTree Validator provides several built-in reporters to convert validation resu
}
```
- **checkstyle** – [Checkstyle](https://checkstyle.sourceforge.io/) XML report format:
- `checkstyle` – [Checkstyle](https://checkstyle.sourceforge.io/) XML report format:
```xml
<?xml version="1.0" encoding="utf-8"?>
Expand All @@ -137,7 +135,7 @@ CSSTree Validator provides several built-in reporters to convert validation resu
</checkstyle>
```
- **gnu** – GNU error log format:
- `gnu` – GNU error log format:
```
"FILENAME":LINE.COLUMN: error: MESSAGE
Expand Down

0 comments on commit 9332fdb

Please # to comment.