R# suggests javascript keywords as variable names

With default settings, following line:

var _this = this;

will produce R# inspection warning: Name '_this' does not match rule 'Web Element'. Suggested name is 'this'

In case I will apply quickfix I end up with:

var this = this;

P.S. I just tried: var _window = window with same consequences.



Please sign in to leave a comment.