Skip to content

Commit 9332fdb

Browse files
committedOct 10, 2024·
Small fixes
1 parent 40e1c71 commit 9332fdb

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
 

‎README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
# CSSTree Validator
66

7-
# CSSTree Validator
8-
97
CSS Validator built on [CSSTree](https://github.com/csstree/csstree).
108

119
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.
@@ -110,8 +108,8 @@ Available helper functions:
110108

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

113-
- **console** – Human-readable text suitable for console output.
114-
- **json** – Converts errors into a unified JSON array of objects:
111+
- `console` – Human-readable text suitable for console output.
112+
- `json` – Converts errors into a unified JSON array of objects:
115113

116114
```ts
117115
type ErrorEntry = {
@@ -126,7 +124,7 @@ CSSTree Validator provides several built-in reporters to convert validation resu
126124
}
127125
```
128126
129-
- **checkstyle** – [Checkstyle](https://checkstyle.sourceforge.io/) XML report format:
127+
- `checkstyle` – [Checkstyle](https://checkstyle.sourceforge.io/) XML report format:
130128
131129
```xml
132130
<?xml version="1.0" encoding="utf-8"?>
@@ -137,7 +135,7 @@ CSSTree Validator provides several built-in reporters to convert validation resu
137135
</checkstyle>
138136
```
139137
140-
- **gnu** – GNU error log format:
138+
- `gnu` – GNU error log format:
141139
142140
```
143141
"FILENAME":LINE.COLUMN: error: MESSAGE

0 commit comments

Comments
 (0)
Please sign in to comment.