).', line: 2 }
+ {
+ message: 'Require self-closing on HTML elements (
).',
+ line: 2,
+ column: 8,
+ endLine: 2,
+ endColumn: 14
+ }
]
},
{
@@ -149,7 +196,13 @@ tester.run('html-self-closing', rule, {
`,
options: [anyWith({ html: { normal: 'never' } })],
errors: [
- { message: 'Disallow self-closing on HTML elements (
).', line: 3 }
+ {
+ message: 'Disallow self-closing on HTML elements (
).',
+ line: 3,
+ column: 7,
+ endLine: 3,
+ endColumn: 9
+ }
]
},
{
@@ -170,7 +223,10 @@ tester.run('html-self-closing', rule, {
errors: [
{
message: 'Require self-closing on HTML void elements (
![]()
).',
- line: 4
+ line: 4,
+ column: 3,
+ endLine: 4,
+ endColumn: 8
}
]
},
@@ -192,7 +248,10 @@ tester.run('html-self-closing', rule, {
errors: [
{
message: 'Disallow self-closing on HTML void elements (
![]()
).',
- line: 5
+ line: 5,
+ column: 7,
+ endLine: 5,
+ endColumn: 9
}
]
},
@@ -215,7 +274,10 @@ tester.run('html-self-closing', rule, {
{
message:
'Require self-closing on Vue.js custom components (
).',
- line: 6
+ line: 6,
+ column: 11,
+ endLine: 6,
+ endColumn: 20
}
]
},
@@ -238,7 +300,10 @@ tester.run('html-self-closing', rule, {
{
message:
'Disallow self-closing on Vue.js custom components ().',
- line: 7
+ line: 7,
+ column: 10,
+ endLine: 7,
+ endColumn: 12
}
]
},
@@ -258,7 +323,13 @@ tester.run('html-self-closing', rule, {
`,
options: [anyWith({ svg: 'always' })],
errors: [
- { message: 'Require self-closing on SVG elements ().', line: 8 }
+ {
+ message: 'Require self-closing on SVG elements ().',
+ line: 8,
+ column: 14,
+ endLine: 8,
+ endColumn: 21
+ }
]
},
{
@@ -277,7 +348,13 @@ tester.run('html-self-closing', rule, {
`,
options: [anyWith({ svg: 'never' })],
errors: [
- { message: 'Disallow self-closing on SVG elements ().', line: 9 }
+ {
+ message: 'Disallow self-closing on SVG elements ().',
+ line: 9,
+ column: 13,
+ endLine: 9,
+ endColumn: 15
+ }
]
},
{
@@ -298,7 +375,10 @@ tester.run('html-self-closing', rule, {
errors: [
{
message: 'Require self-closing on MathML elements ().',
- line: 10
+ line: 10,
+ column: 17,
+ endLine: 10,
+ endColumn: 26
}
]
},
@@ -320,7 +400,10 @@ tester.run('html-self-closing', rule, {
errors: [
{
message: 'Disallow self-closing on MathML elements ().',
- line: 11
+ line: 11,
+ column: 16,
+ endLine: 11,
+ endColumn: 18
}
]
}