We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d7da7 commit f4c34ddCopy full SHA for f4c34dd
rules/timeout-service.js
@@ -25,14 +25,14 @@ module.exports = {
25
}
26
27
if (node.object.type === 'Identifier') {
28
- if ((node.object.name === 'window' || node.object.name === '$window')){
+ if ((node.object.name === 'window' || node.object.name === '$window')) {
29
context.report(node, message, {});
30
31
32
return;
33
34
35
- //Detect expression this.$window.setTimeout which is what we would see in ES6 code when using classes
+ // Detect expression this.$window.setTimeout which is what we would see in ES6 code when using classes
36
var parentNode = node.object;
37
38
if (parentNode.object.type === 'ThisExpression' && parentNode.property.name === '$window') {
0 commit comments