We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4903d commit fc2a258Copy full SHA for fc2a258
src/compiler/compile/nodes/Element.ts
@@ -440,7 +440,7 @@ export default class Element extends Node {
440
const id_attribute_valid = id_attribute && id_attribute.get_static_value() !== '';
441
const name_attribute_valid = name_attribute && name_attribute.get_static_value() !== '';
442
443
- if(!id_attribute_valid && !name_attribute_valid){
+ if (!id_attribute_valid && !name_attribute_valid) {
444
component.warn(this, {
445
code: `a11y-missing-attribute`,
446
message: `A11y: <a> element should have an href attribute`
0 commit comments