Skip to content

Commit ec312aa

Browse files
committed
Format with prettier
1 parent 9ee7446 commit ec312aa

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/rules/template-no-invalid-role.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,10 @@ module.exports = {
243243
}
244244

245245
// Check for presentation/none role on semantic elements
246-
if ((roleLower === 'presentation' || roleLower === 'none') && SEMANTIC_ELEMENTS.has(node.tag)) {
246+
if (
247+
(roleLower === 'presentation' || roleLower === 'none') &&
248+
SEMANTIC_ELEMENTS.has(node.tag)
249+
) {
247250
context.report({
248251
node: roleAttr,
249252
messageId: 'presentationOnSemantic',

0 commit comments

Comments
 (0)