Skip to content

Commit 8a4d02b

Browse files
maoberlehnermichalsnik
authored andcommitted
Fix max-attributes-per-line example json configuration (vuejs#200)
The first value of the array is expected to be the severity. Keys must be in double quotes.
1 parent 92a1ae1 commit 8a4d02b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/rules/max-attributes-per-line.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ There is a configurable number of attributes that are acceptable in one-line cas
4545

4646
```
4747
{
48-
"vue/max-attributes-per-line": [{
48+
"vue/max-attributes-per-line": [2, {
4949
"singleline": 3,
5050
"multiline": {
51-
max: 1,
52-
allowFirstLine: false
51+
"max": 1,
52+
"allowFirstLine": false
5353
}
5454
}]
5555
}

0 commit comments

Comments
 (0)