Rules: new-lines: Force type to be in ('unix', 'dos')
This commit is contained in:
@@ -19,7 +19,7 @@ from yamllint.errors import LintProblem
|
|||||||
|
|
||||||
ID = 'new-lines'
|
ID = 'new-lines'
|
||||||
TYPE = 'line'
|
TYPE = 'line'
|
||||||
CONF = {'type': str}
|
CONF = {'type': ('unix', 'dos')}
|
||||||
|
|
||||||
|
|
||||||
def check(conf, line):
|
def check(conf, line):
|
||||||
|
|||||||
Reference in New Issue
Block a user