Skip to content

Commit f4c34dd

Browse files
author
Alex Shnayder
committed
issue 434 - fix lint issues
1 parent 39d7da7 commit f4c34dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/timeout-service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ module.exports = {
2525
}
2626

2727
if (node.object.type === 'Identifier') {
28-
if ((node.object.name === 'window' || node.object.name === '$window')){
28+
if ((node.object.name === 'window' || node.object.name === '$window')) {
2929
context.report(node, message, {});
3030
}
3131

3232
return;
3333
}
3434

35-
//Detect expression this.$window.setTimeout which is what we would see in ES6 code when using classes
35+
// Detect expression this.$window.setTimeout which is what we would see in ES6 code when using classes
3636
var parentNode = node.object;
3737

3838
if (parentNode.object.type === 'ThisExpression' && parentNode.property.name === '$window') {

0 commit comments

Comments
 (0)