mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
Rules: new-lines: Force type
to be in ('unix', 'dos')
This commit is contained in:
parent
7b6f024448
commit
08f99ccc19
@ -19,7 +19,7 @@ from yamllint.errors import LintProblem
|
||||
|
||||
ID = 'new-lines'
|
||||
TYPE = 'line'
|
||||
CONF = {'type': str}
|
||||
CONF = {'type': ('unix', 'dos')}
|
||||
|
||||
|
||||
def check(conf, line):
|
||||
|
Loading…
Reference in New Issue
Block a user