You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-6
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@
4
4
5
5
# CSSTree Validator
6
6
7
-
# CSSTree Validator
8
-
9
7
CSS Validator built on [CSSTree](https://github.com/csstree/csstree).
10
8
11
9
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:
110
108
111
109
CSSTree Validator provides several built-in reporters to convert validation results into different formats:
112
110
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:
115
113
116
114
```ts
117
115
typeErrorEntry= {
@@ -126,7 +124,7 @@ CSSTree Validator provides several built-in reporters to convert validation resu
126
124
}
127
125
```
128
126
129
-
- **checkstyle** – [Checkstyle](https://checkstyle.sourceforge.io/) XML report format:
127
+
- `checkstyle` – [Checkstyle](https://checkstyle.sourceforge.io/) XML report format:
130
128
131
129
```xml
132
130
<?xmlversion="1.0"encoding="utf-8"?>
@@ -137,7 +135,7 @@ CSSTree Validator provides several built-in reporters to convert validation resu
0 commit comments