mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
commas: Fix example in documentation
Error in the example snippet, it would NOT pass otherwise actually: ``` $ cat test.yml strange var: [10, 20,30, {x: 1, y: 2}] $ yamllint -d "{extends: default, rules: {commas: {min-spaces-after: 1, max-spaces-after: 1}}}" test.yml test.yml 1:1 warning missing document start "---" (document-start) 2:11 error too few spaces after comma (commas) ```
This commit is contained in:
parent
b65769c9d2
commit
8da98f2122
@ -76,7 +76,7 @@ Use this rule to control the number of spaces before and after commas (``,``).
|
||||
::
|
||||
|
||||
strange var:
|
||||
[10, 20,30, {x: 1, y: 2}]
|
||||
[10, 20, 30, {x: 1, y: 2}]
|
||||
|
||||
the following code snippet would **FAIL**:
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user