Skip to content

Commit f6d3007

Browse files
committed
Document validProperties
1 parent 778fabf commit f6d3007

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,20 @@ You can also configure how errors are reported using linter settings.
216216

217217
The following lint options are supported:
218218

219+
#### validProperties
220+
```
221+
["property1", "property2", ....]
222+
```
223+
224+
List of properties that are treated as valid.
225+
226+
#### unknownProperties
227+
```
228+
"ignore" | "warning" | "error"
229+
```
230+
231+
Should unknown properties show an error or warning? Default is `"warning"`.
232+
219233
#### compatibleVendorPrefixes
220234
```
221235
"ignore" | "warning" | "error"
@@ -293,13 +307,6 @@ Hex colors must consist of three or six hex numbers. Default is `"error"`.
293307

294308
Invalid number of parameters. Default is `"error"`.
295309

296-
#### unknownProperties
297-
```
298-
"ignore" | "warning" | "error"
299-
```
300-
301-
Unknown property. Default is `"warning"`.
302-
303310
#### ieHack
304311
```
305312
"ignore" | "warning" | "error"

0 commit comments

Comments
 (0)