chore: Reduce number of lines of expected files (#8325)

- removes character and pos from the expected output to reduce noise
- adds a test that pos/character are correct
pull/8335/head
Yuichiro Yamashita 2 years ago committed by GitHub
parent 636290af95
commit 5f99ae76ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,13 +33,15 @@ describe('validate', () => {
...options ...options
}); });
assert.deepEqual(warnings.map(w => ({ assert.deepEqual(
code: w.code, warnings.map((w) => ({
message: w.message, code: w.code,
pos: w.pos, message: w.message,
start: w.start, start: { line: w.start.line, column: w.start.column },
end: w.end end: { line: w.end.line, column: w.end.column }
})), expected_warnings); })),
expected_warnings
);
} catch (e) { } catch (e) {
error = e; error = e;
} }
@ -56,13 +58,17 @@ describe('validate', () => {
} }
try { try {
assert.equal(error.code, expected.code); assert.deepEqual(
assert.equal(error.message, expected.message); {
assert.deepEqual(error.start, expected.start); code: error.code,
assert.deepEqual(error.end, expected.end); message: error.message,
assert.equal(error.pos, expected.pos); start: { line: error.start.line, column: error.start.column },
end: { line: error.end.line, column: error.end.column }
},
expected
);
} catch (e) { } catch (e) {
console.error(error); // eslint-disable-line no-console console.error(error);
throw e; throw e;
} }
} }
@ -78,6 +84,51 @@ describe('validate', () => {
}, /options\.name must be a valid identifier/); }, /options\.name must be a valid identifier/);
}); });
it('check warning position', () => {
const { warnings } = svelte.compile('\n <img \n src="foo.jpg">\n', {
generate: false
});
assert.deepEqual(
warnings.map((w) => {
return {
code: w.code,
frame: w.frame,
message: w.message,
start: {
character: w.start.character,
column: w.start.column,
line: w.start.line
},
end: {
character: w.end.character,
column: w.end.column,
line: w.end.line
},
pos: w.pos
};
}),
[
{
code: 'a11y-missing-attribute',
frame: '1: \n2: <img \n ^\n3: src="foo.jpg">\n4: ',
message: 'A11y: <img> element should have an alt attribute',
start: {
character: 3,
column: 2,
line: 2
},
end: {
character: 24,
column: 15,
line: 3
},
pos: 3
}
]
);
});
it('warns if options.name is not capitalised', () => { it('warns if options.name is not capitalised', () => {
const { warnings } = svelte.compile('<div></div>', { const { warnings } = svelte.compile('<div></div>', {
name: 'lowercase', name: 'lowercase',

@ -4,62 +4,47 @@
"message": "A11y: <img> element should have an alt attribute", "message": "A11y: <img> element should have an alt attribute",
"start": { "start": {
"line": 1, "line": 1,
"column": 0, "column": 0
"character": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 19, "column": 19
"character": 19 }
},
"pos": 0
}, },
{ {
"code": "a11y-missing-attribute", "code": "a11y-missing-attribute",
"message": "A11y: <area> element should have an alt, aria-label or aria-labelledby attribute", "message": "A11y: <area> element should have an alt, aria-label or aria-labelledby attribute",
"start": { "start": {
"line": 4, "line": 4,
"column": 1, "column": 1
"character": 28
}, },
"end": { "end": {
"line": 4, "line": 4,
"column": 7, "column": 7
"character": 34 }
},
"pos": 28
}, },
{ {
"code": "a11y-missing-attribute", "code": "a11y-missing-attribute",
"message": "A11y: <object> element should have a title, aria-label or aria-labelledby attribute", "message": "A11y: <object> element should have a title, aria-label or aria-labelledby attribute",
"start": { "start": {
"line": 7, "line": 7,
"column": 0, "column": 0
"character": 43
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 17, "column": 17
"character": 60 }
},
"pos": 43
}, },
{ {
"code": "a11y-missing-attribute", "code": "a11y-missing-attribute",
"message": "A11y: <input type=\"image\"> element should have an alt, aria-label or aria-labelledby attribute", "message": "A11y: <input type=\"image\"> element should have an alt, aria-label or aria-labelledby attribute",
"start": { "start": {
"line": 9, "line": 9,
"column": 0, "column": 0
"character": 62
}, },
"end": { "end": {
"line": 9, "line": 9,
"column": 20, "column": 20
"character": 82 }
},
"pos": 62
} }
] ]

@ -3,13 +3,10 @@
"message": "A11y: <a> element should have child content", "message": "A11y: <a> element should have child content",
"start": { "start": {
"line": 1, "line": 1,
"column": 0, "column": 0
"character": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 19, "column": 19
"character": 19 }
}, }]
"pos": 0
}]

@ -4,44 +4,35 @@
"message": "A11y: <a> element should have an href attribute", "message": "A11y: <a> element should have an href attribute",
"start": { "start": {
"line": 1, "line": 1,
"column": 11, "column": 11
"character": 11
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 37, "column": 37
"character": 37 }
},
"pos": 11
}, },
{ {
"code": "a11y-invalid-attribute", "code": "a11y-invalid-attribute",
"message": "A11y: '' is not a valid xlink:href attribute", "message": "A11y: '' is not a valid xlink:href attribute",
"start": { "start": {
"line": 2, "line": 2,
"column": 14, "column": 14
"character": 65
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 27, "column": 27
"character": 78 }
},
"pos": 65
}, },
{ {
"code": "a11y-invalid-attribute", "code": "a11y-invalid-attribute",
"message": "A11y: '#' is not a valid xlink:href attribute", "message": "A11y: '#' is not a valid xlink:href attribute",
"start": { "start": {
"line": 3, "line": 3,
"column": 14, "column": 14
"character": 130
}, },
"end": { "end": {
"line": 3, "line": 3,
"column": 28, "column": 28
"character": 144 }
},
"pos": 130
} }
] ]

@ -4,89 +4,71 @@
"message": "A11y: <a> element should have an href attribute", "message": "A11y: <a> element should have an href attribute",
"start": { "start": {
"line": 1, "line": 1,
"column": 0, "column": 0
"character": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 26, "column": 26
"character": 26 }
},
"pos": 0
}, },
{ {
"code": "a11y-invalid-attribute", "code": "a11y-invalid-attribute",
"message": "A11y: '' is not a valid href attribute", "message": "A11y: '' is not a valid href attribute",
"start": { "start": {
"line": 2, "line": 2,
"column": 3, "column": 3
"character": 30
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 10, "column": 10
"character": 37 }
},
"pos": 30
}, },
{ {
"code": "a11y-invalid-attribute", "code": "a11y-invalid-attribute",
"message": "A11y: '#' is not a valid href attribute", "message": "A11y: '#' is not a valid href attribute",
"start": { "start": {
"line": 3, "line": 3,
"column": 3, "column": 3
"character": 53
}, },
"end": { "end": {
"line": 3, "line": 3,
"column": 11, "column": 11
"character": 61 }
},
"pos": 53
}, },
{ {
"code": "a11y-invalid-attribute", "code": "a11y-invalid-attribute",
"message": "A11y: 'javascript:void(0)' is not a valid href attribute", "message": "A11y: 'javascript:void(0)' is not a valid href attribute",
"start": { "start": {
"line": 4, "line": 4,
"column": 3, "column": 3
"character": 77
}, },
"end": { "end": {
"line": 4, "line": 4,
"column": 28, "column": 28
"character": 102 }
},
"pos": 77
}, },
{ {
"code": "a11y-missing-attribute", "code": "a11y-missing-attribute",
"message": "A11y: <a> element should have an href attribute", "message": "A11y: <a> element should have an href attribute",
"start": { "start": {
"line": 5, "line": 5,
"column": 0, "column": 0
"character": 115
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 22, "column": 22
"character": 137 }
},
"pos": 115
}, },
{ {
"code": "a11y-missing-attribute", "code": "a11y-missing-attribute",
"message": "A11y: <a> element should have an href attribute", "message": "A11y: <a> element should have an href attribute",
"start": { "start": {
"line": 6, "line": 6,
"column": 0, "column": 0
"character": 138
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 20, "column": 20
"character": 158 }
},
"pos": 138
} }
] ]

@ -2,14 +2,11 @@
{ {
"code": "a11y-aria-activedescendant-has-tabindex", "code": "a11y-aria-activedescendant-has-tabindex",
"end": { "end": {
"character": 568,
"column": 36, "column": 36,
"line": 16 "line": 16
}, },
"message": "A11y: Elements with attribute aria-activedescendant should have tabindex value", "message": "A11y: Elements with attribute aria-activedescendant should have tabindex value",
"pos": 537,
"start": { "start": {
"character": 537,
"column": 5, "column": 5,
"line": 16 "line": 16
} }

@ -4,30 +4,23 @@
"message": "A11y: Unknown aria attribute 'aria-labeledby' (did you mean 'labelledby'?)", "message": "A11y: Unknown aria attribute 'aria-labeledby' (did you mean 'labelledby'?)",
"start": { "start": {
"line": 1, "line": 1,
"column": 20, "column": 20
"character": 20
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 40, "column": 40
"character": 40 }
},
"pos": 20
}, },
{ {
"code": "a11y-missing-attribute", "code": "a11y-missing-attribute",
"message": "A11y: <input type=\"image\"> element should have an alt, aria-label or aria-labelledby attribute", "message": "A11y: <input type=\"image\"> element should have an alt, aria-label or aria-labelledby attribute",
"start": { "start": {
"column": 0, "column": 0,
"line": 1, "line": 1
"character": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 41, "column": 41
"character": 41 }
},
"pos": 0
} }
] ]

@ -4,29 +4,23 @@
"message": "A11y: The value of 'aria-disabled' must be exactly one of true or false", "message": "A11y: The value of 'aria-disabled' must be exactly one of true or false",
"start": { "start": {
"line": 5, "line": 5,
"column": 8, "column": 8
"character": 51
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 27, "column": 27
"character": 70 }
},
"pos": 51
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-disabled' must be exactly one of true or false", "message": "A11y: The value of 'aria-disabled' must be exactly one of true or false",
"start": { "start": {
"line": 6, "line": 6,
"column": 8, "column": 8
"character": 81
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 26, "column": 26
"character": 99 }
},
"pos": 81
} }
] ]

@ -4,44 +4,35 @@
"message": "A11y: The value of 'aria-level' must be of type integer", "message": "A11y: The value of 'aria-level' must be of type integer",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 21, "column": 21
"character": 21 }
},
"pos": 5
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-level' must be of type integer", "message": "A11y: The value of 'aria-level' must be of type integer",
"start": { "start": {
"line": 2, "line": 2,
"column": 5, "column": 5
"character": 30
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 20, "column": 20
"character": 45 }
},
"pos": 30
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-level' must be of type integer", "message": "A11y: The value of 'aria-level' must be of type integer",
"start": { "start": {
"line": 5, "line": 5,
"column": 5, "column": 5
"character": 107
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 15, "column": 15
"character": 117 }
},
"pos": 107
} }
] ]

@ -1,47 +1,38 @@
[ [
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-valuemax' must be of type number", "message": "A11y: The value of 'aria-valuemax' must be of type number",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5 },
}, "end": {
"end": { "line": 1,
"line": 1, "column": 24
"column": 24, }
"character": 24 },
}, {
"pos": 5 "code": "a11y-incorrect-aria-attribute-type",
}, "message": "A11y: The value of 'aria-valuemax' must be of type number",
{ "start": {
"code": "a11y-incorrect-aria-attribute-type", "line": 2,
"message": "A11y: The value of 'aria-valuemax' must be of type number", "column": 5
"start": { },
"line": 2, "end": {
"column": 5, "line": 2,
"character": 33 "column": 23
}, }
"end": { },
"line": 2, {
"column": 23, "code": "a11y-incorrect-aria-attribute-type",
"character": 51 "message": "A11y: The value of 'aria-valuemax' must be of type number",
}, "start": {
"pos": 33 "line": 5,
}, "column": 5
{ },
"code": "a11y-incorrect-aria-attribute-type", "end": {
"message": "A11y: The value of 'aria-valuemax' must be of type number", "line": 5,
"start": { "column": 18
"line": 5, }
"column": 5, }
"character": 119 ]
},
"end": {
"line": 5,
"column": 18,
"character": 132
},
"pos": 119
}
]

@ -1,17 +1,14 @@
[ [
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-label' must be of type string", "message": "A11y: The value of 'aria-label' must be of type string",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5 },
}, "end": {
"end": { "line": 1,
"line": 1, "column": 15
"column": 15, }
"character": 15 }
}, ]
"pos": 5
}
]

@ -4,59 +4,47 @@
"message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other", "message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 17, "column": 17
"character": 17 }
},
"pos": 5
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other", "message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other",
"start": { "start": {
"line": 2, "line": 2,
"column": 5, "column": 5
"character": 26
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 26, "column": 26
"character": 47 }
},
"pos": 26
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other", "message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other",
"start": { "start": {
"line": 3, "line": 3,
"column": 5, "column": 5
"character": 56
}, },
"end": { "end": {
"line": 3, "line": 3,
"column": 14, "column": 14
"character": 65 }
},
"pos": 56
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other", "message": "A11y: The value of 'aria-sort' must be exactly one of ascending, descending, none, other",
"start": { "start": {
"line": 6, "line": 6,
"column": 5, "column": 5
"character": 127
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 37, "column": 37
"character": 159 }
},
"pos": 127
} }
] ]

@ -4,74 +4,59 @@
"message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text", "message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 21, "column": 21
"character": 21 }
},
"pos": 5
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text", "message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text",
"start": { "start": {
"line": 2, "line": 2,
"column": 5, "column": 5
"character": 30
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 27, "column": 27
"character": 52 }
},
"pos": 30
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text", "message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text",
"start": { "start": {
"line": 3, "line": 3,
"column": 5, "column": 5
"character": 61
}, },
"end": { "end": {
"line": 3, "line": 3,
"column": 18, "column": 18
"character": 74 }
},
"pos": 61
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text", "message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text",
"start": { "start": {
"line": 6, "line": 6,
"column": 5, "column": 5
"character": 144
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 40, "column": 40
"character": 179 }
},
"pos": 144
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text", "message": "A11y: The value of 'aria-relevant' must be a space-separated list of one or more of additions, all, removals, text",
"start": { "start": {
"line": 7, "line": 7,
"column": 5, "column": 5
"character": 188
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 41, "column": 41
"character": 224 }
},
"pos": 188
} }
] ]

@ -4,29 +4,23 @@
"message": "A11y: The value of 'aria-checked' must be exactly one of true, false, or mixed", "message": "A11y: The value of 'aria-checked' must be exactly one of true, false, or mixed",
"start": { "start": {
"line": 5, "line": 5,
"column": 5, "column": 5
"character": 48
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 23, "column": 23
"character": 66 }
},
"pos": 48
}, },
{ {
"code": "a11y-incorrect-aria-attribute-type", "code": "a11y-incorrect-aria-attribute-type",
"message": "A11y: The value of 'aria-checked' must be exactly one of true, false, or mixed", "message": "A11y: The value of 'aria-checked' must be exactly one of true, false, or mixed",
"start": { "start": {
"line": 6, "line": 6,
"column": 5, "column": 5
"character": 75
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 22, "column": 22
"character": 92 }
},
"pos": 75
} }
] ]

@ -4,29 +4,23 @@
"message": "A11y: Unknown role 'toooltip' (did you mean 'tooltip'?)", "message": "A11y: Unknown role 'toooltip' (did you mean 'tooltip'?)",
"start": { "start": {
"line": 6, "line": 6,
"column": 5, "column": 5
"character": 101
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 20, "column": 20
"character": 116 }
},
"pos": 101
}, },
{ {
"code": "a11y-unknown-role", "code": "a11y-unknown-role",
"message": "A11y: Unknown role 'toooltip' (did you mean 'tooltip'?)", "message": "A11y: Unknown role 'toooltip' (did you mean 'tooltip'?)",
"start": { "start": {
"line": 7, "line": 7,
"column": 5, "column": 5
"character": 129
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 27, "column": 27
"character": 151 }
},
"pos": 129
} }
] ]

@ -4,30 +4,23 @@
"message": "A11y: <meta> should not have aria-* attributes", "message": "A11y: <meta> should not have aria-* attributes",
"start": { "start": {
"line": 1, "line": 1,
"column": 6, "column": 6
"character": 6
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 25, "column": 25
"character": 25 }
},
"pos": 6
}, },
{ {
"code": "a11y-misplaced-role", "code": "a11y-misplaced-role",
"message": "A11y: <meta> should not have role attribute", "message": "A11y: <meta> should not have role attribute",
"start": { "start": {
"line": 2, "line": 2,
"column": 6, "column": 6
"character": 33
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 20, "column": 20
"character": 47 }
},
"pos": 33
} }
] ]

@ -4,104 +4,83 @@
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 12, "line": 12,
"column": 0, "column": 0
"character": 190
}, },
"end": { "end": {
"line": 12, "line": 12,
"column": 23, "column": 23
"character": 213 }
},
"pos": 190
}, },
{ {
"code": "a11y-click-events-have-key-events", "code": "a11y-click-events-have-key-events",
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 13, "line": 13,
"column": 0, "column": 0
"character": 214
}, },
"end": { "end": {
"line": 13, "line": 13,
"column": 43, "column": 43
"character": 257 }
},
"pos": 214
}, },
{ {
"code": "a11y-click-events-have-key-events", "code": "a11y-click-events-have-key-events",
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 15, "line": 15,
"column": 0, "column": 0
"character": 259
}, },
"end": { "end": {
"line": 15, "line": 15,
"column": 27, "column": 27
"character": 286 }
},
"pos": 259
}, },
{ {
"code": "a11y-click-events-have-key-events", "code": "a11y-click-events-have-key-events",
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 16, "line": 16,
"column": 0, "column": 0
"character": 287
}, },
"end": { "end": {
"line": 16, "line": 16,
"column": 24, "column": 24
"character": 311 }
},
"pos": 287
}, },
{ {
"code": "a11y-click-events-have-key-events", "code": "a11y-click-events-have-key-events",
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 17, "line": 17,
"column": 0, "column": 0
"character": 312
}, },
"end": { "end": {
"line": 17, "line": 17,
"column": 27, "column": 27
"character": 339 }
},
"pos": 312
}, },
{ {
"code": "a11y-click-events-have-key-events", "code": "a11y-click-events-have-key-events",
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 18, "line": 18,
"column": 0, "column": 0
"character": 340
}, },
"end": { "end": {
"line": 18, "line": 18,
"column": 26, "column": 26
"character": 366 }
},
"pos": 340
}, },
{ {
"code": "a11y-click-events-have-key-events", "code": "a11y-click-events-have-key-events",
"message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.", "message": "A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
"start": { "start": {
"line": 19, "line": 19,
"column": 0, "column": 0
"character": 367
}, },
"end": { "end": {
"line": 19, "line": 19,
"column": 26, "column": 26
"character": 393 }
},
"pos": 367
} }
] ]

@ -4,14 +4,11 @@
"message": "'contenteditable' attribute is required for textContent and innerHTML two-way bindings", "message": "'contenteditable' attribute is required for textContent and innerHTML two-way bindings",
"start": { "start": {
"line": 6, "line": 6,
"column": 3, "column": 3
"character": 157
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 24, "column": 24
"character": 178 }
},
"pos": 157
} }
] ]

@ -4,29 +4,23 @@
"message": "A11y: <figcaption> must be first or last child of <figure>", "message": "A11y: <figcaption> must be first or last child of <figure>",
"start": { "start": {
"line": 4, "line": 4,
"column": 1, "column": 1
"character": 44
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 14, "column": 14
"character": 102 }
},
"pos": 44
}, },
{ {
"code": "a11y-structure", "code": "a11y-structure",
"message": "A11y: <figcaption> must be an immediate child of <figure>", "message": "A11y: <figcaption> must be an immediate child of <figure>",
"start": { "start": {
"line": 15, "line": 15,
"column": 2, "column": 2
"character": 226
}, },
"end": { "end": {
"line": 17, "line": 17,
"column": 15, "column": 15
"character": 302 }
},
"pos": 226
} }
] ]

@ -4,30 +4,23 @@
"message": "A11y: <h1> element should have child content", "message": "A11y: <h1> element should have child content",
"start": { "start": {
"line": 1, "line": 1,
"column": 0, "column": 0
"character": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 9, "column": 9
"character": 9 }
},
"pos": 0
}, },
{ {
"code": "a11y-hidden", "code": "a11y-hidden",
"message": "A11y: <h2> element should not be hidden", "message": "A11y: <h2> element should not be hidden",
"start": { "start": {
"line": 2, "line": 2,
"column": 4, "column": 4
"character": 14
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 15, "column": 15
"character": 25 }
},
"pos": 14
} }
] ]

@ -4,14 +4,11 @@
"message": "A11y: <html> element should have a lang attribute", "message": "A11y: <html> element should have a lang attribute",
"start": { "start": {
"column": 0, "column": 0,
"line": 9, "line": 9
"character": 124
}, },
"end": { "end": {
"line": 9, "line": 9,
"column": 13, "column": 13
"character": 137 }
},
"pos": 124
} }
] ]

@ -4,14 +4,11 @@
"message": "A11y: <iframe> element should have a title attribute", "message": "A11y: <iframe> element should have a title attribute",
"start": { "start": {
"line": 5, "line": 5,
"column": 0, "column": 0
"character": 37
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 27, "column": 27
"character": 64 }
},
"pos": 37
} }
] ]

@ -3,45 +3,36 @@
"code": "a11y-img-redundant-alt", "code": "a11y-img-redundant-alt",
"message": "A11y: Screenreaders already announce <img> elements as an image.", "message": "A11y: Screenreaders already announce <img> elements as an image.",
"end": { "end": {
"character": 173,
"column": 49, "column": 49,
"line": 3 "line": 3
}, },
"start": { "start": {
"character": 124,
"column": 0, "column": 0,
"line": 3 "line": 3
}, }
"pos": 124
}, },
{ {
"code": "a11y-img-redundant-alt", "code": "a11y-img-redundant-alt",
"message": "A11y: Screenreaders already announce <img> elements as an image.", "message": "A11y: Screenreaders already announce <img> elements as an image.",
"end": { "end": {
"character": 219,
"column": 45, "column": 45,
"line": 4 "line": 4
}, },
"start": { "start": {
"character": 174,
"column": 0, "column": 0,
"line": 4 "line": 4
}, }
"pos": 174
}, },
{ {
"code": "a11y-img-redundant-alt", "code": "a11y-img-redundant-alt",
"message": "A11y: Screenreaders already announce <img> elements as an image.", "message": "A11y: Screenreaders already announce <img> elements as an image.",
"end": { "end": {
"character": 272,
"column": 52, "column": 52,
"line": 5 "line": 5
}, },
"start": { "start": {
"character": 220,
"column": 0, "column": 0,
"line": 5 "line": 5
}, }
"pos": 220
} }
] ]

@ -2,14 +2,11 @@
{ {
"code": "a11y-label-has-associated-control", "code": "a11y-label-has-associated-control",
"end": { "end": {
"character": 82,
"column": 16, "column": 16,
"line": 5 "line": 5
}, },
"message": "A11y: A form label must be associated with a control.", "message": "A11y: A form label must be associated with a control.",
"pos": 66,
"start": { "start": {
"character": 66,
"column": 0, "column": 0,
"line": 5 "line": 5
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-label-has-associated-control", "code": "a11y-label-has-associated-control",
"end": { "end": {
"character": 215,
"column": 30, "column": 30,
"line": 10 "line": 10
}, },
"message": "A11y: A form label must be associated with a control.", "message": "A11y: A form label must be associated with a control.",
"pos": 185,
"start": { "start": {
"character": 185,
"column": 0, "column": 0,
"line": 10 "line": 10
} }

@ -2,14 +2,11 @@
{ {
"code": "a11y-media-has-caption", "code": "a11y-media-has-caption",
"end": { "end": {
"character": 55,
"column": 15, "column": 15,
"line": 2 "line": 2
}, },
"message": "A11y: <video> elements must have a <track kind=\"captions\">", "message": "A11y: <video> elements must have a <track kind=\"captions\">",
"pos": 40,
"start": { "start": {
"character": 40,
"column": 0, "column": 0,
"line": 2 "line": 2
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-media-has-caption", "code": "a11y-media-has-caption",
"end": { "end": {
"character": 80,
"column": 24, "column": 24,
"line": 3 "line": 3
}, },
"message": "A11y: <video> elements must have a <track kind=\"captions\">", "message": "A11y: <video> elements must have a <track kind=\"captions\">",
"pos": 56,
"start": { "start": {
"character": 56,
"column": 0, "column": 0,
"line": 3 "line": 3
} }
@ -32,14 +26,11 @@
{ {
"code": "a11y-media-has-caption", "code": "a11y-media-has-caption",
"end": { "end": {
"character": 124,
"column": 27, "column": 27,
"line": 5 "line": 5
}, },
"message": "A11y: <video> elements must have a <track kind=\"captions\">", "message": "A11y: <video> elements must have a <track kind=\"captions\">",
"pos": 97,
"start": { "start": {
"character": 97,
"column": 0, "column": 0,
"line": 5 "line": 5
} }
@ -47,14 +38,11 @@
{ {
"code": "a11y-media-has-caption", "code": "a11y-media-has-caption",
"end": { "end": {
"character": 160,
"column": 35, "column": 35,
"line": 6 "line": 6
}, },
"message": "A11y: <video> elements must have a <track kind=\"captions\">", "message": "A11y: <video> elements must have a <track kind=\"captions\">",
"pos": 125,
"start": { "start": {
"character": 125,
"column": 0, "column": 0,
"line": 6 "line": 6
} }

@ -3,7 +3,7 @@
// Props should be passed down explicitly for rule to pass. // Props should be passed down explicitly for rule to pass.
const otherProps = { const otherProps = {
onBlur: () => void 0, onBlur: () => void 0,
onFocus: () => void 0, onFocus: () => void 0
}; };
</script> </script>

@ -2,14 +2,11 @@
{ {
"code": "a11y-mouse-events-have-key-events", "code": "a11y-mouse-events-have-key-events",
"end": { "end": {
"character": 272,
"column": 35, "column": 35,
"line": 10 "line": 10
}, },
"message": "A11y: on:mouseover must be accompanied by on:focus", "message": "A11y: on:mouseover must be accompanied by on:focus",
"pos": 237,
"start": { "start": {
"character": 237,
"column": 0, "column": 0,
"line": 10 "line": 10
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-mouse-events-have-key-events", "code": "a11y-mouse-events-have-key-events",
"end": { "end": {
"character": 384,
"column": 51, "column": 51,
"line": 12 "line": 12
}, },
"message": "A11y: on:mouseover must be accompanied by on:focus", "message": "A11y: on:mouseover must be accompanied by on:focus",
"pos": 333,
"start": { "start": {
"character": 333,
"column": 0, "column": 0,
"line": 12 "line": 12
} }
@ -32,14 +26,11 @@
{ {
"code": "a11y-mouse-events-have-key-events", "code": "a11y-mouse-events-have-key-events",
"end": { "end": {
"character": 419,
"column": 34, "column": 34,
"line": 13 "line": 13
}, },
"message": "A11y: on:mouseout must be accompanied by on:blur", "message": "A11y: on:mouseout must be accompanied by on:blur",
"pos": 385,
"start": { "start": {
"character": 385,
"column": 0, "column": 0,
"line": 13 "line": 13
} }
@ -47,16 +38,13 @@
{ {
"code": "a11y-mouse-events-have-key-events", "code": "a11y-mouse-events-have-key-events",
"end": { "end": {
"character": 528,
"column": 50, "column": 50,
"line": 15 "line": 15
}, },
"message": "A11y: on:mouseout must be accompanied by on:blur", "message": "A11y: on:mouseout must be accompanied by on:blur",
"pos": 478,
"start": { "start": {
"character": 478,
"column": 0, "column": 0,
"line": 15 "line": 15
} }
} }
] ]

@ -2,14 +2,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 19,
"column": 19, "column": 19,
"line": 1 "line": 1
}, },
"message": "A11y: Abstract role 'command' is forbidden", "message": "A11y: Abstract role 'command' is forbidden",
"pos": 5,
"start": { "start": {
"character": 5,
"column": 5, "column": 5,
"line": 1 "line": 1
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 43,
"column": 21, "column": 21,
"line": 2 "line": 2
}, },
"message": "A11y: Abstract role 'composite' is forbidden", "message": "A11y: Abstract role 'composite' is forbidden",
"pos": 27,
"start": { "start": {
"character": 27,
"column": 5, "column": 5,
"line": 2 "line": 2
} }
@ -32,14 +26,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 63,
"column": 17, "column": 17,
"line": 3 "line": 3
}, },
"message": "A11y: Abstract role 'input' is forbidden", "message": "A11y: Abstract role 'input' is forbidden",
"pos": 51,
"start": { "start": {
"character": 51,
"column": 5, "column": 5,
"line": 3 "line": 3
} }
@ -47,14 +38,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 86,
"column": 20, "column": 20,
"line": 4 "line": 4
}, },
"message": "A11y: Abstract role 'landmark' is forbidden", "message": "A11y: Abstract role 'landmark' is forbidden",
"pos": 71,
"start": { "start": {
"character": 71,
"column": 5, "column": 5,
"line": 4 "line": 4
} }
@ -62,14 +50,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 106,
"column": 17, "column": 17,
"line": 5 "line": 5
}, },
"message": "A11y: Abstract role 'range' is forbidden", "message": "A11y: Abstract role 'range' is forbidden",
"pos": 94,
"start": { "start": {
"character": 94,
"column": 5, "column": 5,
"line": 5 "line": 5
} }
@ -77,14 +62,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 129,
"column": 20, "column": 20,
"line": 6 "line": 6
}, },
"message": "A11y: Abstract role 'roletype' is forbidden", "message": "A11y: Abstract role 'roletype' is forbidden",
"pos": 114,
"start": { "start": {
"character": 114,
"column": 5, "column": 5,
"line": 6 "line": 6
} }
@ -92,14 +74,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 151,
"column": 19, "column": 19,
"line": 7 "line": 7
}, },
"message": "A11y: Abstract role 'section' is forbidden", "message": "A11y: Abstract role 'section' is forbidden",
"pos": 137,
"start": { "start": {
"character": 137,
"column": 5, "column": 5,
"line": 7 "line": 7
} }
@ -107,14 +86,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 177,
"column": 23, "column": 23,
"line": 8 "line": 8
}, },
"message": "A11y: Abstract role 'sectionhead' is forbidden", "message": "A11y: Abstract role 'sectionhead' is forbidden",
"pos": 159,
"start": { "start": {
"character": 159,
"column": 5, "column": 5,
"line": 8 "line": 8
} }
@ -122,14 +98,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 198,
"column": 18, "column": 18,
"line": 9 "line": 9
}, },
"message": "A11y: Abstract role 'select' is forbidden", "message": "A11y: Abstract role 'select' is forbidden",
"pos": 185,
"start": { "start": {
"character": 185,
"column": 5, "column": 5,
"line": 9 "line": 9
} }
@ -137,14 +110,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 222,
"column": 21, "column": 21,
"line": 10 "line": 10
}, },
"message": "A11y: Abstract role 'structure' is forbidden", "message": "A11y: Abstract role 'structure' is forbidden",
"pos": 206,
"start": { "start": {
"character": 206,
"column": 5, "column": 5,
"line": 10 "line": 10
} }
@ -152,14 +122,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 243,
"column": 18, "column": 18,
"line": 11 "line": 11
}, },
"message": "A11y: Abstract role 'widget' is forbidden", "message": "A11y: Abstract role 'widget' is forbidden",
"pos": 230,
"start": { "start": {
"character": 230,
"column": 5, "column": 5,
"line": 11 "line": 11
} }
@ -167,14 +134,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 264,
"column": 18, "column": 18,
"line": 12 "line": 12
}, },
"message": "A11y: Abstract role 'window' is forbidden", "message": "A11y: Abstract role 'window' is forbidden",
"pos": 251,
"start": { "start": {
"character": 251,
"column": 5, "column": 5,
"line": 12 "line": 12
} }

@ -3,13 +3,10 @@
"message": "A11y: Avoid using accesskey", "message": "A11y: Avoid using accesskey",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 18, "column": 18
"character": 18 }
}, }]
"pos": 5
}]

@ -3,13 +3,10 @@
"message": "A11y: Avoid using autofocus", "message": "A11y: Avoid using autofocus",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 14, "column": 14
"character": 14 }
}, }]
"pos": 5
}]

@ -4,30 +4,23 @@
"message": "A11y: Avoid <marquee> elements", "message": "A11y: Avoid <marquee> elements",
"start": { "start": {
"line": 1, "line": 1,
"column": 0, "column": 0
"character": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 10, "column": 10
"character": 10 }
},
"pos": 0
}, },
{ {
"code": "a11y-distracting-elements", "code": "a11y-distracting-elements",
"message": "A11y: Avoid <blink> elements", "message": "A11y: Avoid <blink> elements",
"start": { "start": {
"line": 2, "line": 2,
"column": 0, "column": 0
"character": 11
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 8, "column": 8
"character": 19 }
},
"pos": 11
} }
] ]

@ -2,14 +2,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 49,
"column": 38, "column": 38,
"line": 2 "line": 2
}, },
"message": "A11y: <a> cannot have role 'article'", "message": "A11y: <a> cannot have role 'article'",
"pos": 11,
"start": { "start": {
"character": 11,
"column": 0, "column": 0,
"line": 2 "line": 2
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 87,
"column": 37, "column": 37,
"line": 3 "line": 3
}, },
"message": "A11y: <a> cannot have role 'banner'", "message": "A11y: <a> cannot have role 'banner'",
"pos": 50,
"start": { "start": {
"character": 50,
"column": 0, "column": 0,
"line": 3 "line": 3
} }
@ -32,14 +26,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 132,
"column": 44, "column": 44,
"line": 4 "line": 4
}, },
"message": "A11y: <a> cannot have role 'complementary'", "message": "A11y: <a> cannot have role 'complementary'",
"pos": 88,
"start": { "start": {
"character": 88,
"column": 0, "column": 0,
"line": 4 "line": 4
} }
@ -47,14 +38,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 167,
"column": 34, "column": 34,
"line": 5 "line": 5
}, },
"message": "A11y: <a> cannot have role 'img'", "message": "A11y: <a> cannot have role 'img'",
"pos": 133,
"start": { "start": {
"character": 133,
"column": 0, "column": 0,
"line": 5 "line": 5
} }
@ -62,14 +50,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 207,
"column": 39, "column": 39,
"line": 6 "line": 6
}, },
"message": "A11y: <a> cannot have role 'listitem'", "message": "A11y: <a> cannot have role 'listitem'",
"pos": 168,
"start": { "start": {
"character": 168,
"column": 0, "column": 0,
"line": 6 "line": 6
} }
@ -77,14 +62,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 243,
"column": 35, "column": 35,
"line": 7 "line": 7
}, },
"message": "A11y: <a> cannot have role 'main'", "message": "A11y: <a> cannot have role 'main'",
"pos": 208,
"start": { "start": {
"character": 208,
"column": 0, "column": 0,
"line": 7 "line": 7
} }
@ -92,14 +74,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 281,
"column": 37, "column": 37,
"line": 8 "line": 8
}, },
"message": "A11y: <a> cannot have role 'region'", "message": "A11y: <a> cannot have role 'region'",
"pos": 244,
"start": { "start": {
"character": 244,
"column": 0, "column": 0,
"line": 8 "line": 8
} }
@ -107,14 +86,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 320,
"column": 38, "column": 38,
"line": 9 "line": 9
}, },
"message": "A11y: <a> cannot have role 'tooltip'", "message": "A11y: <a> cannot have role 'tooltip'",
"pos": 282,
"start": { "start": {
"character": 282,
"column": 0, "column": 0,
"line": 9 "line": 9
} }
@ -122,14 +98,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 414,
"column": 38, "column": 38,
"line": 13 "line": 13
}, },
"message": "A11y: <button> cannot have role 'article'", "message": "A11y: <button> cannot have role 'article'",
"pos": 376,
"start": { "start": {
"character": 376,
"column": 0, "column": 0,
"line": 13 "line": 13
} }
@ -137,14 +110,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 452,
"column": 37, "column": 37,
"line": 14 "line": 14
}, },
"message": "A11y: <button> cannot have role 'banner'", "message": "A11y: <button> cannot have role 'banner'",
"pos": 415,
"start": { "start": {
"character": 415,
"column": 0, "column": 0,
"line": 14 "line": 14
} }
@ -152,14 +122,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 497,
"column": 44, "column": 44,
"line": 15 "line": 15
}, },
"message": "A11y: <button> cannot have role 'complementary'", "message": "A11y: <button> cannot have role 'complementary'",
"pos": 453,
"start": { "start": {
"character": 453,
"column": 0, "column": 0,
"line": 15 "line": 15
} }
@ -167,14 +134,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 532,
"column": 34, "column": 34,
"line": 16 "line": 16
}, },
"message": "A11y: <button> cannot have role 'img'", "message": "A11y: <button> cannot have role 'img'",
"pos": 498,
"start": { "start": {
"character": 498,
"column": 0, "column": 0,
"line": 16 "line": 16
} }
@ -182,14 +146,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 572,
"column": 39, "column": 39,
"line": 17 "line": 17
}, },
"message": "A11y: <button> cannot have role 'listitem'", "message": "A11y: <button> cannot have role 'listitem'",
"pos": 533,
"start": { "start": {
"character": 533,
"column": 0, "column": 0,
"line": 17 "line": 17
} }
@ -197,14 +158,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 608,
"column": 35, "column": 35,
"line": 18 "line": 18
}, },
"message": "A11y: <button> cannot have role 'main'", "message": "A11y: <button> cannot have role 'main'",
"pos": 573,
"start": { "start": {
"character": 573,
"column": 0, "column": 0,
"line": 18 "line": 18
} }
@ -212,14 +170,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 646,
"column": 37, "column": 37,
"line": 19 "line": 19
}, },
"message": "A11y: <button> cannot have role 'region'", "message": "A11y: <button> cannot have role 'region'",
"pos": 609,
"start": { "start": {
"character": 609,
"column": 0, "column": 0,
"line": 19 "line": 19
} }
@ -227,14 +182,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 685,
"column": 38, "column": 38,
"line": 20 "line": 20
}, },
"message": "A11y: <button> cannot have role 'tooltip'", "message": "A11y: <button> cannot have role 'tooltip'",
"pos": 647,
"start": { "start": {
"character": 647,
"column": 0, "column": 0,
"line": 20 "line": 20
} }
@ -242,14 +194,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 707,
"column": 21, "column": 21,
"line": 21 "line": 21
}, },
"message": "A11y: Redundant role 'button'", "message": "A11y: Redundant role 'button'",
"pos": 694,
"start": { "start": {
"character": 694,
"column": 8, "column": 8,
"line": 21 "line": 21
} }
@ -257,14 +206,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 763,
"column": 23, "column": 23,
"line": 24 "line": 24
}, },
"message": "A11y: <input> cannot have role 'article'", "message": "A11y: <input> cannot have role 'article'",
"pos": 740,
"start": { "start": {
"character": 740,
"column": 0, "column": 0,
"line": 24 "line": 24
} }
@ -272,14 +218,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 786,
"column": 22, "column": 22,
"line": 25 "line": 25
}, },
"message": "A11y: <input> cannot have role 'banner'", "message": "A11y: <input> cannot have role 'banner'",
"pos": 764,
"start": { "start": {
"character": 764,
"column": 0, "column": 0,
"line": 25 "line": 25
} }
@ -287,14 +230,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 816,
"column": 29, "column": 29,
"line": 26 "line": 26
}, },
"message": "A11y: <input> cannot have role 'complementary'", "message": "A11y: <input> cannot have role 'complementary'",
"pos": 787,
"start": { "start": {
"character": 787,
"column": 0, "column": 0,
"line": 26 "line": 26
} }
@ -302,14 +242,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 836,
"column": 19, "column": 19,
"line": 27 "line": 27
}, },
"message": "A11y: <input> cannot have role 'img'", "message": "A11y: <input> cannot have role 'img'",
"pos": 817,
"start": { "start": {
"character": 817,
"column": 0, "column": 0,
"line": 27 "line": 27
} }
@ -317,14 +254,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 861,
"column": 24, "column": 24,
"line": 28 "line": 28
}, },
"message": "A11y: <input> cannot have role 'listitem'", "message": "A11y: <input> cannot have role 'listitem'",
"pos": 837,
"start": { "start": {
"character": 837,
"column": 0, "column": 0,
"line": 28 "line": 28
} }
@ -332,14 +266,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 882,
"column": 20, "column": 20,
"line": 29 "line": 29
}, },
"message": "A11y: <input> cannot have role 'main'", "message": "A11y: <input> cannot have role 'main'",
"pos": 862,
"start": { "start": {
"character": 862,
"column": 0, "column": 0,
"line": 29 "line": 29
} }
@ -347,14 +278,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 905,
"column": 22, "column": 22,
"line": 30 "line": 30
}, },
"message": "A11y: <input> cannot have role 'region'", "message": "A11y: <input> cannot have role 'region'",
"pos": 883,
"start": { "start": {
"character": 883,
"column": 0, "column": 0,
"line": 30 "line": 30
} }
@ -362,14 +290,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 929,
"column": 23, "column": 23,
"line": 31 "line": 31
}, },
"message": "A11y: <input> cannot have role 'tooltip'", "message": "A11y: <input> cannot have role 'tooltip'",
"pos": 906,
"start": { "start": {
"character": 906,
"column": 0, "column": 0,
"line": 31 "line": 31
} }
@ -377,14 +302,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 994,
"column": 24, "column": 24,
"line": 35 "line": 35
}, },
"message": "A11y: <select> cannot have role 'article'", "message": "A11y: <select> cannot have role 'article'",
"pos": 970,
"start": { "start": {
"character": 970,
"column": 0, "column": 0,
"line": 35 "line": 35
} }
@ -392,14 +314,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1018,
"column": 23, "column": 23,
"line": 36 "line": 36
}, },
"message": "A11y: <select> cannot have role 'banner'", "message": "A11y: <select> cannot have role 'banner'",
"pos": 995,
"start": { "start": {
"character": 995,
"column": 0, "column": 0,
"line": 36 "line": 36
} }
@ -407,14 +326,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1049,
"column": 30, "column": 30,
"line": 37 "line": 37
}, },
"message": "A11y: <select> cannot have role 'complementary'", "message": "A11y: <select> cannot have role 'complementary'",
"pos": 1019,
"start": { "start": {
"character": 1019,
"column": 0, "column": 0,
"line": 37 "line": 37
} }
@ -422,14 +338,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1070,
"column": 20, "column": 20,
"line": 38 "line": 38
}, },
"message": "A11y: <select> cannot have role 'img'", "message": "A11y: <select> cannot have role 'img'",
"pos": 1050,
"start": { "start": {
"character": 1050,
"column": 0, "column": 0,
"line": 38 "line": 38
} }
@ -437,14 +350,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1096,
"column": 25, "column": 25,
"line": 39 "line": 39
}, },
"message": "A11y: <select> cannot have role 'listitem'", "message": "A11y: <select> cannot have role 'listitem'",
"pos": 1071,
"start": { "start": {
"character": 1071,
"column": 0, "column": 0,
"line": 39 "line": 39
} }
@ -452,14 +362,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1118,
"column": 21, "column": 21,
"line": 40 "line": 40
}, },
"message": "A11y: <select> cannot have role 'main'", "message": "A11y: <select> cannot have role 'main'",
"pos": 1097,
"start": { "start": {
"character": 1097,
"column": 0, "column": 0,
"line": 40 "line": 40
} }
@ -467,14 +374,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1142,
"column": 23, "column": 23,
"line": 41 "line": 41
}, },
"message": "A11y: <select> cannot have role 'region'", "message": "A11y: <select> cannot have role 'region'",
"pos": 1119,
"start": { "start": {
"character": 1119,
"column": 0, "column": 0,
"line": 41 "line": 41
} }
@ -482,14 +386,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1167,
"column": 24, "column": 24,
"line": 42 "line": 42
}, },
"message": "A11y: <select> cannot have role 'tooltip'", "message": "A11y: <select> cannot have role 'tooltip'",
"pos": 1143,
"start": { "start": {
"character": 1143,
"column": 0, "column": 0,
"line": 42 "line": 42
} }
@ -497,14 +398,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1237,
"column": 26, "column": 26,
"line": 46 "line": 46
}, },
"message": "A11y: <textarea> cannot have role 'article'", "message": "A11y: <textarea> cannot have role 'article'",
"pos": 1211,
"start": { "start": {
"character": 1211,
"column": 0, "column": 0,
"line": 46 "line": 46
} }
@ -512,14 +410,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1263,
"column": 25, "column": 25,
"line": 47 "line": 47
}, },
"message": "A11y: <textarea> cannot have role 'banner'", "message": "A11y: <textarea> cannot have role 'banner'",
"pos": 1238,
"start": { "start": {
"character": 1238,
"column": 0, "column": 0,
"line": 47 "line": 47
} }
@ -527,14 +422,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1296,
"column": 32, "column": 32,
"line": 48 "line": 48
}, },
"message": "A11y: <textarea> cannot have role 'complementary'", "message": "A11y: <textarea> cannot have role 'complementary'",
"pos": 1264,
"start": { "start": {
"character": 1264,
"column": 0, "column": 0,
"line": 48 "line": 48
} }
@ -542,14 +434,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1319,
"column": 22, "column": 22,
"line": 49 "line": 49
}, },
"message": "A11y: <textarea> cannot have role 'img'", "message": "A11y: <textarea> cannot have role 'img'",
"pos": 1297,
"start": { "start": {
"character": 1297,
"column": 0, "column": 0,
"line": 49 "line": 49
} }
@ -557,14 +446,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1347,
"column": 27, "column": 27,
"line": 50 "line": 50
}, },
"message": "A11y: <textarea> cannot have role 'listitem'", "message": "A11y: <textarea> cannot have role 'listitem'",
"pos": 1320,
"start": { "start": {
"character": 1320,
"column": 0, "column": 0,
"line": 50 "line": 50
} }
@ -572,14 +458,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1371,
"column": 23, "column": 23,
"line": 51 "line": 51
}, },
"message": "A11y: <textarea> cannot have role 'main'", "message": "A11y: <textarea> cannot have role 'main'",
"pos": 1348,
"start": { "start": {
"character": 1348,
"column": 0, "column": 0,
"line": 51 "line": 51
} }
@ -587,14 +470,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1397,
"column": 25, "column": 25,
"line": 52 "line": 52
}, },
"message": "A11y: <textarea> cannot have role 'region'", "message": "A11y: <textarea> cannot have role 'region'",
"pos": 1372,
"start": { "start": {
"character": 1372,
"column": 0, "column": 0,
"line": 52 "line": 52
} }
@ -602,14 +482,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 1424,
"column": 26, "column": 26,
"line": 53 "line": 53
}, },
"message": "A11y: <textarea> cannot have role 'tooltip'", "message": "A11y: <textarea> cannot have role 'tooltip'",
"pos": 1398,
"start": { "start": {
"character": 1398,
"column": 0, "column": 0,
"line": 53 "line": 53
} }
@ -617,14 +494,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1527,
"column": 19, "column": 19,
"line": 57 "line": 57
}, },
"message": "A11y: Abstract role 'command' is forbidden", "message": "A11y: Abstract role 'command' is forbidden",
"pos": 1513,
"start": { "start": {
"character": 1513,
"column": 5, "column": 5,
"line": 57 "line": 57
} }
@ -632,14 +506,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1552,
"column": 21, "column": 21,
"line": 58 "line": 58
}, },
"message": "A11y: Abstract role 'composite' is forbidden", "message": "A11y: Abstract role 'composite' is forbidden",
"pos": 1536,
"start": { "start": {
"character": 1536,
"column": 5, "column": 5,
"line": 58 "line": 58
} }
@ -647,14 +518,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1573,
"column": 17, "column": 17,
"line": 59 "line": 59
}, },
"message": "A11y: Abstract role 'input' is forbidden", "message": "A11y: Abstract role 'input' is forbidden",
"pos": 1561,
"start": { "start": {
"character": 1561,
"column": 5, "column": 5,
"line": 59 "line": 59
} }
@ -662,14 +530,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1597,
"column": 20, "column": 20,
"line": 60 "line": 60
}, },
"message": "A11y: Abstract role 'landmark' is forbidden", "message": "A11y: Abstract role 'landmark' is forbidden",
"pos": 1582,
"start": { "start": {
"character": 1582,
"column": 5, "column": 5,
"line": 60 "line": 60
} }
@ -677,14 +542,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1618,
"column": 17, "column": 17,
"line": 61 "line": 61
}, },
"message": "A11y: Abstract role 'range' is forbidden", "message": "A11y: Abstract role 'range' is forbidden",
"pos": 1606,
"start": { "start": {
"character": 1606,
"column": 5, "column": 5,
"line": 61 "line": 61
} }
@ -692,14 +554,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1642,
"column": 20, "column": 20,
"line": 62 "line": 62
}, },
"message": "A11y: Abstract role 'roletype' is forbidden", "message": "A11y: Abstract role 'roletype' is forbidden",
"pos": 1627,
"start": { "start": {
"character": 1627,
"column": 5, "column": 5,
"line": 62 "line": 62
} }
@ -707,14 +566,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1665,
"column": 19, "column": 19,
"line": 63 "line": 63
}, },
"message": "A11y: Abstract role 'section' is forbidden", "message": "A11y: Abstract role 'section' is forbidden",
"pos": 1651,
"start": { "start": {
"character": 1651,
"column": 5, "column": 5,
"line": 63 "line": 63
} }
@ -722,14 +578,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1692,
"column": 23, "column": 23,
"line": 64 "line": 64
}, },
"message": "A11y: Abstract role 'sectionhead' is forbidden", "message": "A11y: Abstract role 'sectionhead' is forbidden",
"pos": 1674,
"start": { "start": {
"character": 1674,
"column": 5, "column": 5,
"line": 64 "line": 64
} }
@ -737,14 +590,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1714,
"column": 18, "column": 18,
"line": 65 "line": 65
}, },
"message": "A11y: Abstract role 'select' is forbidden", "message": "A11y: Abstract role 'select' is forbidden",
"pos": 1701,
"start": { "start": {
"character": 1701,
"column": 5, "column": 5,
"line": 65 "line": 65
} }
@ -752,14 +602,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1739,
"column": 21, "column": 21,
"line": 66 "line": 66
}, },
"message": "A11y: Abstract role 'structure' is forbidden", "message": "A11y: Abstract role 'structure' is forbidden",
"pos": 1723,
"start": { "start": {
"character": 1723,
"column": 5, "column": 5,
"line": 66 "line": 66
} }
@ -767,14 +614,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1851,
"column": 18, "column": 18,
"line": 71 "line": 71
}, },
"message": "A11y: Abstract role 'widget' is forbidden", "message": "A11y: Abstract role 'widget' is forbidden",
"pos": 1838,
"start": { "start": {
"character": 1838,
"column": 5, "column": 5,
"line": 71 "line": 71
} }
@ -782,14 +626,11 @@
{ {
"code": "a11y-no-abstract-role", "code": "a11y-no-abstract-role",
"end": { "end": {
"character": 1873,
"column": 18, "column": 18,
"line": 72 "line": 72
}, },
"message": "A11y: Abstract role 'window' is forbidden", "message": "A11y: Abstract role 'window' is forbidden",
"pos": 1860,
"start": { "start": {
"character": 1860,
"column": 5, "column": 5,
"line": 72 "line": 72
} }
@ -797,14 +638,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 3695,
"column": 28, "column": 28,
"line": 145 "line": 145
}, },
"message": "A11y: <menuitem> cannot have role 'listitem'", "message": "A11y: <menuitem> cannot have role 'listitem'",
"pos": 3667,
"start": { "start": {
"character": 3667,
"column": 0, "column": 0,
"line": 145 "line": 145
} }
@ -812,14 +650,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 3734,
"column": 38, "column": 38,
"line": 146 "line": 146
}, },
"message": "A11y: <option> cannot have role 'listitem'", "message": "A11y: <option> cannot have role 'listitem'",
"pos": 3696,
"start": { "start": {
"character": 3696,
"column": 0, "column": 0,
"line": 146 "line": 146
} }
@ -827,14 +662,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 3773,
"column": 38, "column": 38,
"line": 147 "line": 147
}, },
"message": "A11y: <select> cannot have role 'listitem'", "message": "A11y: <select> cannot have role 'listitem'",
"pos": 3735,
"start": { "start": {
"character": 3735,
"column": 0, "column": 0,
"line": 147 "line": 147
} }
@ -842,14 +674,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 3801,
"column": 27, "column": 27,
"line": 148 "line": 148
}, },
"message": "A11y: <summary> cannot have role 'listitem'", "message": "A11y: <summary> cannot have role 'listitem'",
"pos": 3774,
"start": { "start": {
"character": 3774,
"column": 0, "column": 0,
"line": 148 "line": 148
} }
@ -857,14 +686,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 3842,
"column": 40, "column": 40,
"line": 149 "line": 149
}, },
"message": "A11y: <textarea> cannot have role 'listitem'", "message": "A11y: <textarea> cannot have role 'listitem'",
"pos": 3802,
"start": { "start": {
"character": 3802,
"column": 0, "column": 0,
"line": 149 "line": 149
} }
@ -872,14 +698,11 @@
{ {
"code": "a11y-no-interactive-element-to-noninteractive-role", "code": "a11y-no-interactive-element-to-noninteractive-role",
"end": { "end": {
"character": 3865,
"column": 22, "column": 22,
"line": 150 "line": 150
}, },
"message": "A11y: <tr> cannot have role 'listitem'", "message": "A11y: <tr> cannot have role 'listitem'",
"pos": 3843,
"start": { "start": {
"character": 3843,
"column": 0, "column": 0,
"line": 150 "line": 150
} }

@ -2,14 +2,11 @@
{ {
"code": "a11y-no-noninteractive-tabindex", "code": "a11y-no-noninteractive-tabindex",
"end": { "end": {
"character": 278,
"column": 20, "column": 20,
"line": 12 "line": 12
}, },
"message": "A11y: noninteractive element cannot have nonnegative tabIndex value", "message": "A11y: noninteractive element cannot have nonnegative tabIndex value",
"pos": 258,
"start": { "start": {
"character": 258,
"column": 0, "column": 0,
"line": 12 "line": 12
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-no-noninteractive-tabindex", "code": "a11y-no-noninteractive-tabindex",
"end": { "end": {
"character": 314,
"column": 35, "column": 35,
"line": 13 "line": 13
}, },
"message": "A11y: noninteractive element cannot have nonnegative tabIndex value", "message": "A11y: noninteractive element cannot have nonnegative tabIndex value",
"pos": 279,
"start": { "start": {
"character": 279,
"column": 0, "column": 0,
"line": 13 "line": 13
} }
@ -32,14 +26,11 @@
{ {
"code": "a11y-no-noninteractive-tabindex", "code": "a11y-no-noninteractive-tabindex",
"end": { "end": {
"character": 339,
"column": 24, "column": 24,
"line": 14 "line": 14
}, },
"message": "A11y: noninteractive element cannot have nonnegative tabIndex value", "message": "A11y: noninteractive element cannot have nonnegative tabIndex value",
"pos": 315,
"start": { "start": {
"character": 315,
"column": 0, "column": 0,
"line": 14 "line": 14
} }
@ -47,14 +38,11 @@
{ {
"code": "a11y-no-noninteractive-tabindex", "code": "a11y-no-noninteractive-tabindex",
"end": { "end": {
"character": 366,
"column": 26, "column": 26,
"line": 15 "line": 15
}, },
"message": "A11y: noninteractive element cannot have nonnegative tabIndex value", "message": "A11y: noninteractive element cannot have nonnegative tabIndex value",
"pos": 340,
"start": { "start": {
"character": 340,
"column": 0, "column": 0,
"line": 15 "line": 15
} }

@ -2,14 +2,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 23,
"column": 23, "column": 23,
"line": 1 "line": 1
}, },
"message": "A11y: Redundant role 'link'", "message": "A11y: Redundant role 'link'",
"pos": 12,
"start": { "start": {
"character": 12,
"column": 12, "column": 12,
"line": 1 "line": 1
} }
@ -17,14 +14,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 58,
"column": 23, "column": 23,
"line": 2 "line": 2
}, },
"message": "A11y: Redundant role 'article'", "message": "A11y: Redundant role 'article'",
"pos": 44,
"start": { "start": {
"character": 44,
"column": 9, "column": 9,
"line": 2 "line": 2
} }
@ -32,14 +26,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 89,
"column": 27, "column": 27,
"line": 3 "line": 3
}, },
"message": "A11y: Redundant role 'complementary'", "message": "A11y: Redundant role 'complementary'",
"pos": 69,
"start": { "start": {
"character": 69,
"column": 7, "column": 7,
"line": 3 "line": 3
} }
@ -47,14 +38,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 114,
"column": 21, "column": 21,
"line": 4 "line": 4
}, },
"message": "A11y: Redundant role 'document'", "message": "A11y: Redundant role 'document'",
"pos": 99,
"start": { "start": {
"character": 99,
"column": 6, "column": 6,
"line": 4 "line": 4
} }
@ -62,14 +50,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 139,
"column": 21, "column": 21,
"line": 5 "line": 5
}, },
"message": "A11y: Redundant role 'button'", "message": "A11y: Redundant role 'button'",
"pos": 126,
"start": { "start": {
"character": 126,
"column": 8, "column": 8,
"line": 5 "line": 5
} }
@ -77,14 +62,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 167,
"column": 24, "column": 24,
"line": 6 "line": 6
}, },
"message": "A11y: Redundant role 'listbox'", "message": "A11y: Redundant role 'listbox'",
"pos": 153,
"start": { "start": {
"character": 153,
"column": 10, "column": 10,
"line": 6 "line": 6
} }
@ -92,14 +74,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 192,
"column": 21, "column": 21,
"line": 7 "line": 7
}, },
"message": "A11y: Redundant role 'definition'", "message": "A11y: Redundant role 'definition'",
"pos": 175,
"start": { "start": {
"character": 175,
"column": 4, "column": 4,
"line": 7 "line": 7
} }
@ -107,14 +86,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 212,
"column": 16, "column": 16,
"line": 8 "line": 8
}, },
"message": "A11y: Redundant role 'term'", "message": "A11y: Redundant role 'term'",
"pos": 201,
"start": { "start": {
"character": 201,
"column": 5, "column": 5,
"line": 8 "line": 8
} }
@ -122,14 +98,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 237,
"column": 21, "column": 21,
"line": 9 "line": 9
}, },
"message": "A11y: Redundant role 'group'", "message": "A11y: Redundant role 'group'",
"pos": 225,
"start": { "start": {
"character": 225,
"column": 9, "column": 9,
"line": 9 "line": 9
} }
@ -137,14 +110,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 262,
"column": 21, "column": 21,
"line": 10 "line": 10
}, },
"message": "A11y: Redundant role 'dialog'", "message": "A11y: Redundant role 'dialog'",
"pos": 249,
"start": { "start": {
"character": 249,
"column": 8, "column": 8,
"line": 10 "line": 10
} }
@ -152,14 +122,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 281,
"column": 15, "column": 15,
"line": 11 "line": 11
}, },
"message": "A11y: Redundant role 'term'", "message": "A11y: Redundant role 'term'",
"pos": 270,
"start": { "start": {
"character": 270,
"column": 4, "column": 4,
"line": 11 "line": 11
} }
@ -167,14 +134,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 307,
"column": 22, "column": 22,
"line": 12 "line": 12
}, },
"message": "A11y: Redundant role 'group'", "message": "A11y: Redundant role 'group'",
"pos": 295,
"start": { "start": {
"character": 295,
"column": 10, "column": 10,
"line": 12 "line": 12
} }
@ -182,14 +146,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 332,
"column": 21, "column": 21,
"line": 13 "line": 13
}, },
"message": "A11y: Redundant role 'figure'", "message": "A11y: Redundant role 'figure'",
"pos": 319,
"start": { "start": {
"character": 319,
"column": 8, "column": 8,
"line": 13 "line": 13
} }
@ -197,14 +158,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 353,
"column": 17, "column": 17,
"line": 14 "line": 14
}, },
"message": "A11y: Redundant role 'form'", "message": "A11y: Redundant role 'form'",
"pos": 342,
"start": { "start": {
"character": 342,
"column": 6, "column": 6,
"line": 14 "line": 14
} }
@ -212,14 +170,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 383,
"column": 18, "column": 18,
"line": 15 "line": 15
}, },
"message": "A11y: Redundant role 'heading'", "message": "A11y: Redundant role 'heading'",
"pos": 369,
"start": { "start": {
"character": 369,
"column": 4, "column": 4,
"line": 15 "line": 15
} }
@ -227,14 +182,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 415,
"column": 18, "column": 18,
"line": 16 "line": 16
}, },
"message": "A11y: Redundant role 'heading'", "message": "A11y: Redundant role 'heading'",
"pos": 401,
"start": { "start": {
"character": 401,
"column": 4, "column": 4,
"line": 16 "line": 16
} }
@ -242,14 +194,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 447,
"column": 18, "column": 18,
"line": 17 "line": 17
}, },
"message": "A11y: Redundant role 'heading'", "message": "A11y: Redundant role 'heading'",
"pos": 433,
"start": { "start": {
"character": 433,
"column": 4, "column": 4,
"line": 17 "line": 17
} }
@ -257,14 +206,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 479,
"column": 18, "column": 18,
"line": 18 "line": 18
}, },
"message": "A11y: Redundant role 'heading'", "message": "A11y: Redundant role 'heading'",
"pos": 465,
"start": { "start": {
"character": 465,
"column": 4, "column": 4,
"line": 18 "line": 18
} }
@ -272,14 +218,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 511,
"column": 18, "column": 18,
"line": 19 "line": 19
}, },
"message": "A11y: Redundant role 'heading'", "message": "A11y: Redundant role 'heading'",
"pos": 497,
"start": { "start": {
"character": 497,
"column": 4, "column": 4,
"line": 19 "line": 19
} }
@ -287,14 +230,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 543,
"column": 18, "column": 18,
"line": 20 "line": 20
}, },
"message": "A11y: Redundant role 'heading'", "message": "A11y: Redundant role 'heading'",
"pos": 529,
"start": { "start": {
"character": 529,
"column": 4, "column": 4,
"line": 20 "line": 20
} }
@ -302,14 +242,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 577,
"column": 20, "column": 20,
"line": 21 "line": 21
}, },
"message": "A11y: Redundant role 'separator'", "message": "A11y: Redundant role 'separator'",
"pos": 561,
"start": { "start": {
"character": 561,
"column": 4, "column": 4,
"line": 21 "line": 21
} }
@ -317,14 +254,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 600,
"column": 19, "column": 19,
"line": 22 "line": 22
}, },
"message": "A11y: Redundant role 'listitem'", "message": "A11y: Redundant role 'listitem'",
"pos": 585,
"start": { "start": {
"character": 585,
"column": 4, "column": 4,
"line": 22 "line": 22
} }
@ -332,14 +266,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 621,
"column": 17, "column": 17,
"line": 23 "line": 23
}, },
"message": "A11y: Redundant role 'link'", "message": "A11y: Redundant role 'link'",
"pos": 610,
"start": { "start": {
"character": 610,
"column": 6, "column": 6,
"line": 23 "line": 23
} }
@ -347,14 +278,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 642,
"column": 17, "column": 17,
"line": 24 "line": 24
}, },
"message": "A11y: Redundant role 'main'", "message": "A11y: Redundant role 'main'",
"pos": 631,
"start": { "start": {
"character": 631,
"column": 6, "column": 6,
"line": 24 "line": 24
} }
@ -362,14 +290,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 668,
"column": 17, "column": 17,
"line": 25 "line": 25
}, },
"message": "A11y: Redundant role 'list'", "message": "A11y: Redundant role 'list'",
"pos": 657,
"start": { "start": {
"character": 657,
"column": 6, "column": 6,
"line": 25 "line": 25
} }
@ -377,14 +302,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 694,
"column": 22, "column": 22,
"line": 26 "line": 26
}, },
"message": "A11y: Redundant role 'navigation'", "message": "A11y: Redundant role 'navigation'",
"pos": 677,
"start": { "start": {
"character": 677,
"column": 5, "column": 5,
"line": 26 "line": 26
} }
@ -392,14 +314,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 713,
"column": 15, "column": 15,
"line": 27 "line": 27
}, },
"message": "A11y: Redundant role 'list'", "message": "A11y: Redundant role 'list'",
"pos": 702,
"start": { "start": {
"character": 702,
"column": 4, "column": 4,
"line": 27 "line": 27
} }
@ -407,14 +326,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 739,
"column": 22, "column": 22,
"line": 28 "line": 28
}, },
"message": "A11y: Redundant role 'group'", "message": "A11y: Redundant role 'group'",
"pos": 727,
"start": { "start": {
"character": 727,
"column": 10, "column": 10,
"line": 28 "line": 28
} }
@ -422,14 +338,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 764,
"column": 21, "column": 21,
"line": 29 "line": 29
}, },
"message": "A11y: Redundant role 'option'", "message": "A11y: Redundant role 'option'",
"pos": 751,
"start": { "start": {
"character": 751,
"column": 8, "column": 8,
"line": 29 "line": 29
} }
@ -437,14 +350,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 789,
"column": 21, "column": 21,
"line": 30 "line": 30
}, },
"message": "A11y: Redundant role 'status'", "message": "A11y: Redundant role 'status'",
"pos": 776,
"start": { "start": {
"character": 776,
"column": 8, "column": 8,
"line": 30 "line": 30
} }
@ -452,14 +362,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 821,
"column": 28, "column": 28,
"line": 31 "line": 31
}, },
"message": "A11y: Redundant role 'progressbar'", "message": "A11y: Redundant role 'progressbar'",
"pos": 803,
"start": { "start": {
"character": 803,
"column": 10, "column": 10,
"line": 31 "line": 31
} }
@ -467,14 +374,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 847,
"column": 22, "column": 22,
"line": 32 "line": 32
}, },
"message": "A11y: Redundant role 'region'", "message": "A11y: Redundant role 'region'",
"pos": 834,
"start": { "start": {
"character": 834,
"column": 9, "column": 9,
"line": 32 "line": 32
} }
@ -482,14 +386,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 873,
"column": 22, "column": 22,
"line": 33 "line": 33
}, },
"message": "A11y: Redundant role 'button'", "message": "A11y: Redundant role 'button'",
"pos": 860,
"start": { "start": {
"character": 860,
"column": 9, "column": 9,
"line": 33 "line": 33
} }
@ -497,14 +398,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 896,
"column": 19, "column": 19,
"line": 34 "line": 34
}, },
"message": "A11y: Redundant role 'table'", "message": "A11y: Redundant role 'table'",
"pos": 884,
"start": { "start": {
"character": 884,
"column": 7, "column": 7,
"line": 34 "line": 34
} }
@ -512,14 +410,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 922,
"column": 22, "column": 22,
"line": 35 "line": 35
}, },
"message": "A11y: Redundant role 'rowgroup'", "message": "A11y: Redundant role 'rowgroup'",
"pos": 907,
"start": { "start": {
"character": 907,
"column": 7, "column": 7,
"line": 35 "line": 35
} }
@ -527,14 +422,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 950,
"column": 24, "column": 24,
"line": 36 "line": 36
}, },
"message": "A11y: Redundant role 'textbox'", "message": "A11y: Redundant role 'textbox'",
"pos": 936,
"start": { "start": {
"character": 936,
"column": 10, "column": 10,
"line": 36 "line": 36
} }
@ -542,14 +434,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 976,
"column": 22, "column": 22,
"line": 37 "line": 37
}, },
"message": "A11y: Redundant role 'rowgroup'", "message": "A11y: Redundant role 'rowgroup'",
"pos": 961,
"start": { "start": {
"character": 961,
"column": 7, "column": 7,
"line": 37 "line": 37
} }
@ -557,14 +446,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 1002,
"column": 22, "column": 22,
"line": 38 "line": 38
}, },
"message": "A11y: Redundant role 'rowgroup'", "message": "A11y: Redundant role 'rowgroup'",
"pos": 987,
"start": { "start": {
"character": 987,
"column": 7, "column": 7,
"line": 38 "line": 38
} }
@ -572,14 +458,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 1020,
"column": 14, "column": 14,
"line": 39 "line": 39
}, },
"message": "A11y: Redundant role 'row'", "message": "A11y: Redundant role 'row'",
"pos": 1010,
"start": { "start": {
"character": 1010,
"column": 4, "column": 4,
"line": 39 "line": 39
} }
@ -587,14 +470,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 1039,
"column": 15, "column": 15,
"line": 40 "line": 40
}, },
"message": "A11y: Redundant role 'list'", "message": "A11y: Redundant role 'list'",
"pos": 1028,
"start": { "start": {
"character": 1028,
"column": 4, "column": 4,
"line": 40 "line": 40
} }
@ -602,14 +482,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 1125,
"column": 21, "column": 21,
"line": 43 "line": 43
}, },
"message": "A11y: Redundant role 'banner'", "message": "A11y: Redundant role 'banner'",
"pos": 1112,
"start": { "start": {
"character": 1112,
"column": 8, "column": 8,
"line": 43 "line": 43
} }
@ -617,14 +494,11 @@
{ {
"code": "a11y-no-redundant-roles", "code": "a11y-no-redundant-roles",
"end": { "end": {
"character": 1162,
"column": 26, "column": 26,
"line": 44 "line": 44
}, },
"message": "A11y: Redundant role 'contentinfo'", "message": "A11y: Redundant role 'contentinfo'",
"pos": 1144,
"start": { "start": {
"character": 1144,
"column": 8, "column": 8,
"line": 44 "line": 44
} }

@ -4,14 +4,11 @@
"message": "A11y: Avoid using autofocus", "message": "A11y: Avoid using autofocus",
"start": { "start": {
"column": 8, "column": 8,
"line": 6, "line": 6
"character": 88
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 17, "column": 17
"character": 97 }
},
"pos": 88
} }
] ]

@ -4,59 +4,47 @@
"message": "A11y: Elements with the ARIA role \"heading\" must have the following attributes defined: \"aria-level\"", "message": "A11y: Elements with the ARIA role \"heading\" must have the following attributes defined: \"aria-level\"",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 19, "column": 19
"character": 19 }
},
"pos": 5
}, },
{ {
"code": "a11y-role-has-required-aria-props", "code": "a11y-role-has-required-aria-props",
"message": "A11y: Elements with the ARIA role \"checkbox\" must have the following attributes defined: \"aria-checked\"", "message": "A11y: Elements with the ARIA role \"checkbox\" must have the following attributes defined: \"aria-checked\"",
"start": { "start": {
"line": 2, "line": 2,
"column": 6, "column": 6
"character": 33
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 21, "column": 21
"character": 48 }
},
"pos": 33
}, },
{ {
"code": "a11y-role-has-required-aria-props", "code": "a11y-role-has-required-aria-props",
"message": "A11y: Elements with the ARIA role \"meter\" must have the following attributes defined: \"aria-valuenow\"", "message": "A11y: Elements with the ARIA role \"meter\" must have the following attributes defined: \"aria-valuenow\"",
"start": { "start": {
"line": 3, "line": 3,
"column": 5, "column": 5
"character": 62
}, },
"end": { "end": {
"line": 3, "line": 3,
"column": 17, "column": 17
"character": 74 }
},
"pos": 62
}, },
{ {
"code": "a11y-role-has-required-aria-props", "code": "a11y-role-has-required-aria-props",
"message": "A11y: Elements with the ARIA role \"scrollbar\" must have the following attributes defined: \"aria-controls\", \"aria-valuenow\"", "message": "A11y: Elements with the ARIA role \"scrollbar\" must have the following attributes defined: \"aria-controls\", \"aria-valuenow\"",
"start": { "start": {
"character": 87,
"column": 5, "column": 5,
"line": 4 "line": 4
}, },
"end": { "end": {
"character": 103,
"column": 21, "column": 21,
"line": 4 "line": 4
}, }
"pos": 87
} }
] ]

@ -4,14 +4,11 @@
"message": "A11y: The scope attribute should only be used with <th> elements", "message": "A11y: The scope attribute should only be used with <th> elements",
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 10, "column": 10
"character": 10 }
},
"pos": 5
} }
] ]

@ -4,14 +4,11 @@
"message": "A11y: avoid tabindex values above zero", "message": "A11y: avoid tabindex values above zero",
"start": { "start": {
"line": 7, "line": 7,
"column": 8, "column": 8
"character": 85
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 20, "column": 20
"character": 97 }
},
"pos": 85
} }
] ]

@ -1,15 +1,12 @@
[{ [{
"code": "missing-declaration", "code": "missing-declaration",
"message": "'whatever' is not defined. Consider adding a <script> block with 'export let whatever' to declare a prop", "message": "'whatever' is not defined. Consider adding a <script> block with 'export let whatever' to declare a prop",
"pos": 5,
"start": { "start": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 17, "column": 17
"character": 17
} }
}] }]

@ -3,9 +3,9 @@
foo : "bar", foo : "bar",
action(element, { leet }) { action(element, { leet }) {
element.foo = this.foo + leet; element.foo = this.foo + leet;
}, }
} }
</script> </script>
<button use:obj.action={{ leet: 1337 }}>action</button> <button use:obj.action={{ leet: 1337 }}>action</button>
<button use:foo.action={{ leet: 1337 }}>action</button> <button use:foo.action={{ leet: 1337 }}>action</button>

@ -2,14 +2,11 @@
{ {
"code": "missing-declaration", "code": "missing-declaration",
"end": { "end": {
"character": 217,
"column": 39, "column": 39,
"line": 11 "line": 11
}, },
"message": "'foo' is not defined", "message": "'foo' is not defined",
"pos": 186,
"start": { "start": {
"character": 186,
"column": 8, "column": 8,
"line": 11 "line": 11
} }

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-action", "code": "invalid-action",
"message": "Actions can only be applied to DOM elements, not components", "message": "Actions can only be applied to DOM elements, not components",
"pos": 86,
"start": { "start": {
"line": 7, "line": 7,
"column": 8, "column": 8
"character": 86
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 15, "column": 15
"character": 93
} }
}] }]

@ -3,13 +3,10 @@
"message": "An element can only have one 'animate' directive", "message": "An element can only have one 'animate' directive",
"start": { "start": {
"line": 7, "line": 7,
"column": 18, "column": 18
"character": 108
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 29, "column": 29
"character": 119 }
}, }]
"pos": 108
}]

@ -3,13 +3,10 @@
"message": "'foo' is not defined", "message": "'foo' is not defined",
"start": { "start": {
"line": 6, "line": 6,
"column": 6, "column": 6
"character": 71
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 17, "column": 17
"character": 82 }
}, }]
"pos": 71
}]

@ -3,13 +3,10 @@
"message": "An element that uses the animate directive must be the immediate child of a keyed each block", "message": "An element that uses the animate directive must be the immediate child of a keyed each block",
"start": { "start": {
"line": 5, "line": 5,
"column": 5, "column": 5
"character": 44
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 16, "column": 16
"character": 55 }
},
"pos": 44
}] }]

@ -3,13 +3,10 @@
"message": "An element that uses the animate directive must be used inside a keyed each block. Did you forget to add a key to your each block?", "message": "An element that uses the animate directive must be used inside a keyed each block. Did you forget to add a key to your each block?",
"start": { "start": {
"line": 6, "line": 6,
"column": 6, "column": 6
"character": 69
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 17, "column": 17
"character": 80 }
},
"pos": 69
}] }]

@ -3,13 +3,10 @@
"message": "An element that uses the animate directive must be the sole child of a keyed each block", "message": "An element that uses the animate directive must be the sole child of a keyed each block",
"start": { "start": {
"line": 6, "line": 6,
"column": 6, "column": 6
"character": 77
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 17, "column": 17
"character": 88 }
},
"pos": 77
}] }]

@ -4,14 +4,11 @@
"message": "You are assigning to a const", "message": "You are assigning to a const",
"start": { "start": {
"line": 13, "line": 13,
"column": 24, "column": 24
"character": 282
}, },
"end": { "end": {
"line": 13, "line": 13,
"column": 35, "column": 35
"character": 293 }
},
"pos": 282
} }
] ]

@ -4,14 +4,11 @@
"message": "You are assigning to a const", "message": "You are assigning to a const",
"start": { "start": {
"line": 14, "line": 14,
"column": 3, "column": 3
"character": 172
}, },
"end": { "end": {
"line": 14, "line": 14,
"column": 10, "column": 10
"character": 179 }
},
"pos": 172
} }
] ]

@ -4,14 +4,11 @@
"message": "You are assigning to a const", "message": "You are assigning to a const",
"start": { "start": {
"line": 17, "line": 17,
"column": 2, "column": 2
"character": 189
}, },
"end": { "end": {
"line": 17, "line": 17,
"column": 9, "column": 9
"character": 196 }
},
"pos": 189
} }
] ]

@ -4,14 +4,11 @@
"message": "You are assigning to a const", "message": "You are assigning to a const",
"start": { "start": {
"line": 16, "line": 16,
"column": 2, "column": 2
"character": 225
}, },
"end": { "end": {
"line": 16, "line": 16,
"column": 18, "column": 18
"character": 241 }
},
"pos": 225
} }
] ]

@ -3,13 +3,10 @@
"message": "Expected =", "message": "Expected =",
"start": { "start": {
"line": 5, "line": 5,
"column": 9, "column": 9
"character": 50
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 9, "column": 9
"character": 50 }
},
"pos": 50
}] }]

@ -3,13 +3,10 @@
"message": "'3aa' is not a valid attribute name", "message": "'3aa' is not a valid attribute name",
"start": { "start": {
"line": 1, "line": 1,
"column": 3, "column": 3
"character": 3
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 12, "column": 12
"character": 12 }
},
"pos": 3
}] }]

@ -3,13 +3,10 @@
"message": "'a*a' is not a valid attribute name", "message": "'a*a' is not a valid attribute name",
"start": { "start": {
"line": 1, "line": 1,
"column": 3, "column": 3
"character": 3
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 6, "column": 6
"character": 6 }
},
"pos": 3
}] }]

@ -3,13 +3,10 @@
"message": "'-a' is not a valid attribute name", "message": "'-a' is not a valid attribute name",
"start": { "start": {
"line": 1, "line": 1,
"column": 3, "column": 3
"character": 3
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 5, "column": 5
"character": 5 }
},
"pos": 3
}] }]

@ -3,13 +3,10 @@
"message": "'a;' is not a valid attribute name", "message": "'a;' is not a valid attribute name",
"start": { "start": {
"line": 1, "line": 1,
"column": 3, "column": 3
"character": 3
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 11, "column": 11
"character": 11 }
},
"pos": 3
}] }]

@ -3,13 +3,10 @@
"message": "'}' is not a valid attribute name", "message": "'}' is not a valid attribute name",
"start": { "start": {
"line": 1, "line": 1,
"column": 3, "column": 3
"character": 3
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 4, "column": 4
"character": 4 }
},
"pos": 3
}] }]

@ -2,8 +2,7 @@
{ {
"code": "invalid-binding", "code": "invalid-binding",
"message": "Cannot bind to a variable declared with {#await ... then} or {:catch} blocks", "message": "Cannot bind to a variable declared with {#await ... then} or {:catch} blocks",
"pos": 79, "start": { "line": 6, "column": 9 },
"start": { "line": 6, "column": 9, "character": 79 }, "end": { "line": 6, "column": 27 }
"end": { "line": 6, "column": 27, "character": 97 }
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "invalid-binding", "code": "invalid-binding",
"message": "Cannot bind to a variable declared with {#await ... then} or {:catch} blocks", "message": "Cannot bind to a variable declared with {#await ... then} or {:catch} blocks",
"pos": 78, "start": { "line": 6, "column": 9 },
"start": { "line": 6, "column": 9, "character": 78 }, "end": { "line": 6, "column": 19 }
"end": { "line": 6, "column": 19, "character": 88 }
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "invalid-binding", "code": "invalid-binding",
"message": "Cannot bind to a variable declared with {#await ... then} or {:catch} blocks", "message": "Cannot bind to a variable declared with {#await ... then} or {:catch} blocks",
"pos": 75, "start": { "line": 5, "column": 9 },
"start": { "line": 5, "column": 9, "character": 75 }, "end": { "line": 5, "column": 19 }
"end": { "line": 5, "column": 19, "character": 85 }
} }
] ]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "Cannot bind to a variable which is not writable", "message": "Cannot bind to a variable which is not writable",
"pos": 61,
"start": { "start": {
"line": 5, "line": 5,
"column": 19, "column": 19
"character": 61
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 24, "column": 24
"character": 66
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "'offsetWidth' is not a valid binding on SVG elements", "message": "'offsetWidth' is not a valid binding on SVG elements",
"pos": 51,
"start": { "start": {
"line": 6, "line": 6,
"column": 7, "column": 7
"character": 51
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 23, "column": 23
"character": 67
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "'offsetWidth' is not a valid binding on <svg>. Use 'clientWidth' instead", "message": "'offsetWidth' is not a valid binding on <svg>. Use 'clientWidth' instead",
"pos": 43,
"start": { "start": {
"line": 5, "line": 5,
"column": 5, "column": 5
"character": 43
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 21, "column": 21
"character": 59
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "'offsetWidth' is not a valid binding on void elements like <img>. Use a wrapper element instead", "message": "'offsetWidth' is not a valid binding on void elements like <img>. Use a wrapper element instead",
"pos": 60,
"start": { "start": {
"line": 5, "line": 5,
"column": 22, "column": 22
"character": 60
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 38, "column": 38
"character": 76
} }
}] }]

@ -3,13 +3,10 @@
"message": "'checked' binding can only be used with <input type=\"checkbox\">", "message": "'checked' binding can only be used with <input type=\"checkbox\">",
"start": { "start": {
"line": 5, "line": 5,
"column": 7, "column": 7
"character": 37
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 25, "column": 25
"character": 55 }
}, }]
"pos": 37
}]

@ -3,13 +3,10 @@
"message": "'type' attribute must be specified", "message": "'type' attribute must be specified",
"start": { "start": {
"line": 5, "line": 5,
"column": 24, "column": 24
"character": 54
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 28, "column": 28
"character": 58 }
}, }]
"pos": 54
}]

@ -3,13 +3,10 @@
"message": "'type' attribute cannot be dynamic if input uses two-way binding", "message": "'type' attribute cannot be dynamic if input uses two-way binding",
"start": { "start": {
"line": 6, "line": 6,
"column": 24, "column": 24
"character": 70
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 40, "column": 40
"character": 86 }
}, }]
"pos": 70
}]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "'value' is not a valid binding. Foreign elements only support bind:this", "message": "'value' is not a valid binding. Foreign elements only support bind:this",
"pos": 81,
"start": { "start": {
"line": 6, "line": 6,
"column": 7, "column": 7
"character": 81
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 28, "column": 28
"character": 102
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "'value' is not a valid binding on <div> elements", "message": "'value' is not a valid binding on <div> elements",
"pos": 37,
"start": { "start": {
"line": 5, "line": 5,
"column": 5, "column": 5
"character": 37
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 15, "column": 15
"character": 47
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "binding-undeclared", "code": "binding-undeclared",
"message": "foo is not declared", "message": "foo is not declared",
"pos": 58,
"start": { "start": {
"line": 4, "line": 4,
"column": 19, "column": 19
"character": 58
}, },
"end": { "end": {
"line": 4, "line": 4,
"column": 22, "column": 22
"character": 61
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "binding-undeclared", "code": "binding-undeclared",
"message": "foo is not declared", "message": "foo is not declared",
"pos": 37,
"start": { "start": {
"line": 2, "line": 2,
"column": 19, "column": 19
"character": 37
}, },
"end": { "end": {
"line": 2, "line": 2,
"column": 22, "column": 22
"character": 40
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "'whatever' is not a valid binding", "message": "'whatever' is not a valid binding",
"pos": 40,
"start": { "start": {
"line": 5, "line": 5,
"column": 5, "column": 5
"character": 40
}, },
"end": { "end": {
"line": 5, "line": 5,
"column": 18, "column": 18
"character": 53
} }
}] }]

@ -1,15 +1,12 @@
[{ [{
"code": "invalid-binding", "code": "invalid-binding",
"message": "Cannot bind to a variable declared with the let: directive", "message": "Cannot bind to a variable declared with the let: directive",
"pos": 52,
"start": { "start": {
"line": 6, "line": 6,
"column": 8, "column": 8
"character": 52
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 24, "column": 24
"character": 68
} }
}] }]

@ -3,13 +3,10 @@
"message": "'multiple' attribute cannot be dynamic if select uses two-way binding", "message": "'multiple' attribute cannot be dynamic if select uses two-way binding",
"start": { "start": {
"line": 6, "line": 6,
"column": 19, "column": 19
"character": 66
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 29, "column": 29
"character": 76 }
}, }]
"pos": 66
}]

@ -2,14 +2,11 @@
{ {
"code": "reactive-component", "code": "reactive-component",
"message": "<Let/> will not be reactive if Let changes. Use <svelte:component this={Let}/> if you want this reactivity.", "message": "<Let/> will not be reactive if Let changes. Use <svelte:component this={Let}/> if you want this reactivity.",
"pos": 190,
"end": { "end": {
"character": 197,
"column": 7, "column": 7,
"line": 15 "line": 15
}, },
"start": { "start": {
"character": 190,
"column": 0, "column": 0,
"line": 15 "line": 15
} }
@ -17,14 +14,11 @@
{ {
"message": "<ExportLet/> will not be reactive if ExportLet changes. Use <svelte:component this={ExportLet}/> if you want this reactivity.", "message": "<ExportLet/> will not be reactive if ExportLet changes. Use <svelte:component this={ExportLet}/> if you want this reactivity.",
"code": "reactive-component", "code": "reactive-component",
"pos": 198,
"end": { "end": {
"character": 211,
"column": 13, "column": 13,
"line": 16 "line": 16
}, },
"start": { "start": {
"character": 198,
"column": 0, "column": 0,
"line": 16 "line": 16
} }
@ -32,14 +26,11 @@
{ {
"message": "<Reactive/> will not be reactive if Reactive changes. Use <svelte:component this={Reactive}/> if you want this reactivity.", "message": "<Reactive/> will not be reactive if Reactive changes. Use <svelte:component this={Reactive}/> if you want this reactivity.",
"code": "reactive-component", "code": "reactive-component",
"pos": 212,
"end": { "end": {
"character": 224,
"column": 12, "column": 12,
"line": 17 "line": 17
}, },
"start": { "start": {
"character": 212,
"column": 0, "column": 0,
"line": 17 "line": 17
} }

@ -3,13 +3,10 @@
"code": "invalid-event-modifier", "code": "invalid-event-modifier",
"start": { "start": {
"line": 6, "line": 6,
"column": 8, "column": 8
"character": 93
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 40, "column": 40
"character": 125 }
},
"pos": 93
}] }]

@ -2,8 +2,7 @@
{ {
"code": "invalid-component-style-directive", "code": "invalid-component-style-directive",
"message": "Style directives cannot be used on components", "message": "Style directives cannot be used on components",
"start": { "line": 7, "column": 19, "character": 97 }, "start": { "line": 7, "column": 19 },
"end": { "line": 7, "column": 36, "character": 114 }, "end": { "line": 7, "column": 36 }
"pos": 97
} }
] ]

@ -2,14 +2,11 @@
{ {
"code": "component-name-lowercase", "code": "component-name-lowercase",
"message": "<thisShouldWarnMe> will be treated as an HTML element unless it begins with a capital letter", "message": "<thisShouldWarnMe> will be treated as an HTML element unless it begins with a capital letter",
"pos": 121,
"start": { "start": {
"character": 121,
"column": 0, "column": 0,
"line": 8 "line": 8
}, },
"end": { "end": {
"character": 141,
"column": 20, "column": 20,
"line": 8 "line": 8
} }

@ -3,6 +3,5 @@
"start": { "start": {
"line": 2, "line": 2,
"column": 0 "column": 0
}, }
"pos": 14 }]
}]

@ -3,13 +3,10 @@
"message": "default is a reserved word — it cannot be used as a slot name", "message": "default is a reserved word — it cannot be used as a slot name",
"start": { "start": {
"line": 1, "line": 1,
"column": 6, "column": 6
"character": 6
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 20, "column": 20
"character": 20 }
}, }]
"pos": 6
}]

@ -3,13 +3,10 @@
"message": "slot attribute cannot have a dynamic value", "message": "slot attribute cannot have a dynamic value",
"start": { "start": {
"line": 6, "line": 6,
"column": 9, "column": 9
"character": 77
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 19, "column": 19
"character": 87 }
}, }]
"pos": 77
}]

@ -3,13 +3,10 @@
"message": "<slot> name cannot be dynamic", "message": "<slot> name cannot be dynamic",
"start": { "start": {
"line": 1, "line": 1,
"column": 6, "column": 6
"character": 6
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 18, "column": 18
"character": 18 }
}, }]
"pos": 6
}]

@ -3,6 +3,5 @@
"start": { "start": {
"line": 2, "line": 2,
"column": 6 "column": 6
}, }
"pos": 31 }]
}]

@ -2,8 +2,7 @@
{ {
"code": "invalid-slotted-content", "code": "invalid-slotted-content",
"message": "Element with a slot='...' attribute must be a child of a component or a descendant of a custom element", "message": "Element with a slot='...' attribute must be a child of a component or a descendant of a custom element",
"start": { "line": 10, "column": 9, "character": 138 }, "start": { "line": 10, "column": 9 },
"end": { "line": 10, "column": 19, "character": 148 }, "end": { "line": 10, "column": 19 }
"pos": 138
} }
] ]

@ -3,13 +3,10 @@
"message": "Element with a slot='...' attribute must be a child of a component or a descendant of a custom element", "message": "Element with a slot='...' attribute must be a child of a component or a descendant of a custom element",
"start": { "start": {
"line": 7, "line": 7,
"column": 7, "column": 7
"character": 100
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 17, "column": 17
"character": 110 }
}, }]
"pos": 100
}]

@ -3,13 +3,10 @@
"message": "Element with a slot='...' attribute must be a child of a component or a descendant of a custom element", "message": "Element with a slot='...' attribute must be a child of a component or a descendant of a custom element",
"start": { "start": {
"line": 7, "line": 7,
"column": 7, "column": 7
"character": 88
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 17, "column": 17
"character": 98 }
}, }]
"pos": 88
}]

@ -2,8 +2,7 @@
{ {
"code": "invalid-const-declaration", "code": "invalid-const-declaration",
"message": "'a' has already been declared", "message": "'a' has already been declared",
"start": { "line": 7, "column": 2, "character": 84 }, "start": { "line": 7, "column": 2 },
"end": { "line": 7, "column": 19, "character": 101 }, "end": { "line": 7, "column": 19 }
"pos": 84
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "invalid-const-declaration", "code": "invalid-const-declaration",
"message": "'item' has already been declared", "message": "'item' has already been declared",
"start": { "line": 6, "column": 2, "character": 64 }, "start": { "line": 6, "column": 2 },
"end": { "line": 6, "column": 21, "character": 83 }, "end": { "line": 6, "column": 21 }
"pos": 64
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "cyclical-const-tags", "code": "cyclical-const-tags",
"message": "Cyclical dependency detected: b → c → b", "message": "Cyclical dependency detected: b → c → b",
"start": { "line": 6, "column": 2, "character": 61 }, "start": { "line": 6, "column": 2 },
"end": { "line": 6, "column": 20, "character": 79 }, "end": { "line": 6, "column": 20 }
"pos": 61
} }
] ]

@ -2,14 +2,11 @@
{ {
"code": "missing-declaration", "code": "missing-declaration",
"message": "'b' is not defined", "message": "'b' is not defined",
"pos": 100,
"start": { "start": {
"character": 100,
"column": 1, "column": 1,
"line": 10 "line": 10
}, },
"end": { "end": {
"character": 101,
"column": 2, "column": 2,
"line": 10 "line": 10
} }

@ -2,8 +2,7 @@
{ {
"code": "invalid-const-placement", "code": "invalid-const-placement",
"message": "{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>", "message": "{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>",
"start": { "line": 5, "column": 0, "character": 36 }, "start": { "line": 5, "column": 0 },
"end": { "line": 5, "column": 18, "character": 54 }, "end": { "line": 5, "column": 18 }
"pos": 36
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "invalid-const-placement", "code": "invalid-const-placement",
"message": "{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>", "message": "{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>",
"start": { "line": 7, "column": 4, "character": 63 }, "start": { "line": 7, "column": 4 },
"end": { "line": 7, "column": 18, "character": 77 }, "end": { "line": 7, "column": 18 }
"pos": 63
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "invalid-const-update", "code": "invalid-const-update",
"message": "'b' is declared using {@const ...} and is read-only", "message": "'b' is declared using {@const ...} and is read-only",
"start": { "line": 7, "column": 26, "character": 106 }, "start": { "line": 7, "column": 26 },
"end": { "line": 7, "column": 30, "character": 110 }, "end": { "line": 7, "column": 30 }
"pos": 106
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "invalid-binding", "code": "invalid-binding",
"message": "Cannot bind to a variable declared with {@const ...}", "message": "Cannot bind to a variable declared with {@const ...}",
"start": { "line": 7, "column": 9, "character": 89 }, "start": { "line": 7, "column": 9 },
"end": { "line": 7, "column": 23, "character": 103 }, "end": { "line": 7, "column": 23 }
"pos": 89
} }
] ]

@ -3,13 +3,10 @@
"message": "'contenteditable' attribute cannot be dynamic if element uses two-way binding", "message": "'contenteditable' attribute cannot be dynamic if element uses two-way binding",
"start": { "start": {
"line": 6, "line": 6,
"column": 8, "column": 8
"character": 73
}, },
"end": { "end": {
"line": 6, "line": 6,
"column": 32, "column": 32
"character": 97 }
}, }]
"pos": 73
}]

@ -3,13 +3,10 @@
"message": "'contenteditable' attribute is required for textContent and innerHTML two-way bindings", "message": "'contenteditable' attribute is required for textContent and innerHTML two-way bindings",
"start": { "start": {
"line": 4, "line": 4,
"column": 8, "column": 8
"character": 48
}, },
"end": { "end": {
"line": 4, "line": 4,
"column": 31, "column": 31
"character": 71 }
}, }]
"pos": 48
}]

@ -2,8 +2,7 @@
{ {
"code": "css-invalid-selector", "code": "css-invalid-selector",
"message": "Invalid selector \"> span\"", "message": "Invalid selector \"> span\"",
"start": { "line": 10, "column": 1, "character": 88 }, "start": { "line": 10, "column": 1 },
"end": { "line": 10, "column": 7, "character": 94 }, "end": { "line": 10, "column": 7 }
"pos": 88
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "css-invalid-selector", "code": "css-invalid-selector",
"message": "Invalid selector \"+ p\"", "message": "Invalid selector \"+ p\"",
"start": { "line": 8, "column": 1, "character": 68 }, "start": { "line": 8, "column": 1 },
"end": { "line": 8, "column": 4, "character": 71 }, "end": { "line": 8, "column": 4 }
"pos": 68
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "css-invalid-selector", "code": "css-invalid-selector",
"message": "Invalid selector \"> span\"", "message": "Invalid selector \"> span\"",
"start": { "line": 5, "column": 2, "character": 44 }, "start": { "line": 5, "column": 2 },
"end": { "line": 5, "column": 8, "character": 50 }, "end": { "line": 5, "column": 8 }
"pos": 44
} }
] ]

@ -2,8 +2,7 @@
{ {
"code": "css-invalid-selector", "code": "css-invalid-selector",
"message": "Invalid selector \"p >\"", "message": "Invalid selector \"p >\"",
"start": { "line": 4, "column": 1, "character": 26 }, "start": { "line": 4, "column": 1 },
"end": { "line": 4, "column": 4, "character": 29 }, "end": { "line": 4, "column": 4 }
"pos": 26
} }
] ]

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save