Skip to content

Commit 550f377

Browse files
committed
chore: prettify
1 parent 09aa541 commit 550f377

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/rules/require-data-selectors.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ function isCallingCyGet (node) {
3939

4040
function isDataArgument (node) {
4141
return node.arguments.length > 0 &&
42-
((node.arguments[0].type === 'Literal' && String(node.arguments[0].value).startsWith('[data-')) ||
43-
(node.arguments[0].type === 'TemplateLiteral' && String(node.arguments[0].quasis[0].value.cooked).startsWith('[data-'))
42+
(
43+
(node.arguments[0].type === 'Literal' && String(node.arguments[0].value).startsWith('[data-')) ||
44+
(node.arguments[0].type === 'TemplateLiteral' && String(node.arguments[0].quasis[0].value.cooked).startsWith('[data-'))
4445
)
4546
}

0 commit comments

Comments
 (0)