`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 8,
+ column: 27,
+ endLine: 8,
+ endColumn: 27
+ }
]
},
{
@@ -607,8 +740,22 @@ content
`,
options: [{ allowEmptyLines: true }],
errors: [
- 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
- 'Expected 1 line break before closing tag (`
`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 9,
+ column: 16,
+ endLine: 9,
+ endColumn: 16
+ },
+ {
+ message:
+ 'Expected 1 line break before closing tag (`
`), but no line breaks found.',
+ line: 10,
+ column: 20,
+ endLine: 10,
+ endColumn: 20
+ }
]
},
// mustache
@@ -628,8 +775,22 @@ content
`,
errors: [
- 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
- 'Expected 1 line break before closing tag (`
`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 3,
+ column: 16,
+ endLine: 3,
+ endColumn: 16
+ },
+ {
+ message:
+ 'Expected 1 line break before closing tag (`
`), but no line breaks found.',
+ line: 4,
+ column: 23,
+ endLine: 4,
+ endColumn: 23
+ }
]
},
// mix
@@ -651,8 +812,22 @@ content
`,
errors: [
- 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
- 'Expected 1 line break before closing tag (`
`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 3,
+ column: 16,
+ endLine: 3,
+ endColumn: 16
+ },
+ {
+ message:
+ 'Expected 1 line break before closing tag (`
`), but no line breaks found.',
+ line: 5,
+ column: 27,
+ endLine: 5,
+ endColumn: 27
+ }
]
},
// start tag
@@ -672,8 +847,22 @@ content
`,
errors: [
- 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
- 'Expected 1 line break before closing tag (`
`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 4,
+ column: 14,
+ endLine: 4,
+ endColumn: 14
+ },
+ {
+ message:
+ 'Expected 1 line break before closing tag (`
`), but no line breaks found.',
+ line: 4,
+ column: 21,
+ endLine: 4,
+ endColumn: 21
+ }
]
},
{
@@ -692,8 +881,22 @@ content
`,
errors: [
- 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
- 'Expected 1 line break before closing tag (`
`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 4,
+ column: 18,
+ endLine: 4,
+ endColumn: 18
+ },
+ {
+ message:
+ 'Expected 1 line break before closing tag (`
`), but no line breaks found.',
+ line: 4,
+ column: 25,
+ endLine: 4,
+ endColumn: 25
+ }
]
},
{
@@ -712,7 +915,14 @@ content
`,
options: [{ ignoreWhenEmpty: false }],
errors: [
- 'Expected 1 line break after opening tag (`
`), but no line breaks found.'
+ {
+ message:
+ 'Expected 1 line break after opening tag (`
`), but no line breaks found.',
+ line: 4,
+ column: 14,
+ endLine: 4,
+ endColumn: 14
+ }
]
}
]