Skip to content

Commit a128650

Browse files
aladdin-addnot-an-aardvark
authored andcommitted
Chore: fix linting errors (#66)
1 parent 7df313d commit a128650

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)