Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 11ba6fb

Browse files
committed
Misc: make jshint happy
1 parent ed03250 commit 11ba6fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rules/require-template-strings.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ module.exports.prototype = {
9393
);
9494
}
9595

96-
var i = 0;
9796
file.iterateNodesByType('BinaryExpression', function(node) {
9897
if (node.operator !== '+') {
9998
return;
@@ -109,7 +108,7 @@ module.exports.prototype = {
109108
}
110109

111110
leftIsString = typeof leftIsString.value === 'string' ||
112-
leftIsString.type === 'TemplateLiteral'
111+
leftIsString.type === 'TemplateLiteral';
113112

114113
rightIsString = typeof rightIsString.value === 'string' ||
115114
rightIsString.type === 'TemplateLiteral';

0 commit comments

Comments
 (0)