Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8a4d02b

Browse files
maoberlehnermichalsnik
authored andcommitted
Fix max-attributes-per-line example json configuration (#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‎

Lines changed: 3 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /