You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yamllint/yamllint
Kirill Deyko 8da98f2122
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)
```
4 years ago
..
conf fix(default.yaml): disable `empty-values` & `octal-values` by default 5 years ago
rules commas: Fix example in documentation 4 years ago
__init__.py yamllint version 1.24.2 5 years ago
__main__.py Add __main__ 8 years ago
cli.py Add global "locale" config option and make key-ordering rule locale-aware 5 years ago
config.py Add global "locale" config option and make key-ordering rule locale-aware 5 years ago
linter.py Use 'syntax' as rule name upon syntax errors 5 years ago
parser.py fix(parser): Correctly handle DOS new lines in 'line' rules 6 years ago