Skip to content

Commit fc2a258

Browse files
committed
fix lint
1 parent ac4903d commit fc2a258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/compile/nodes/Element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ export default class Element extends Node {
440440
const id_attribute_valid = id_attribute && id_attribute.get_static_value() !== '';
441441
const name_attribute_valid = name_attribute && name_attribute.get_static_value() !== '';
442442

443-
if(!id_attribute_valid && !name_attribute_valid){
443+
if (!id_attribute_valid && !name_attribute_valid) {
444444
component.warn(this, {
445445
code: `a11y-missing-attribute`,
446446
message: `A11y: <a> element should have an href attribute`

0 commit comments

Comments
 (0)