Pattern: Malformed use of ...
Issue: -
This rule requires or forbids the use of document end marker (...
).
- Set
present
totrue
when the document end marker is required, or tofalse
when it is forbidden.
-
With
document-end: {present: true}
the following code snippet would PASS:
--- this: is: [a, document] ... --- - this - is: another one ...
the following code snippet would FAIL:
--- this: is: [a, document] --- - this - is: another one ...
-
With
document-end: {present: false}
the following code snippet would PASS:
--- this: is: [a, document] --- - this - is: another one
the following code snippet would FAIL:
--- this: is: [a, document] ... --- - this - is: another one