Rules: new-lines: Force `type` to be in ('unix', 'dos')

pull/4/head
Adrien Vergé 9 years ago
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…
Cancel
Save