Skip to content

Commit d425d65

Browse files
committed
Chore: fix linting errors
1 parent 7df313d commit d425d65

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/rules/no-useless-token-range.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ module.exports = {
112112
!affectsGetTokenOutput(identifier.parent.parent.arguments[1]) &&
113113
identifier.parent.parent.parent.type === 'MemberExpression' &&
114114
identifier.parent.parent === identifier.parent.parent.parent.object && (
115-
(isStartAccess(identifier.parent.parent.parent) && identifier.parent.property.name === 'getFirstToken') ||
116-
(isEndAccess(identifier.parent.parent.parent) && identifier.parent.property.name === 'getLastToken')
117-
)
115+
(isStartAccess(identifier.parent.parent.parent) && identifier.parent.property.name === 'getFirstToken') ||
116+
(isEndAccess(identifier.parent.parent.parent) && identifier.parent.property.name === 'getLastToken'))
118117
)
119118
.forEach(identifier => {
120119
const fullRangeAccess = isRangeAccess(identifier.parent.parent.parent)

0 commit comments

Comments
 (0)