/*eslint no-undef: 2*/
b = 10; // 'b' is not defined

/*eslint no-unused-vars: "error"*/
var x = 10; // "x" is defined but never used

(function(foo, bar, baz) { // "baz" is defined but never used
    return bar;
})();

/*eslint no-use-before-define: "error"*/
console.log(a);
var a = 10;

new A();
class A {
}

/*eslint no-undefined: "error"*/
if (foo === undefined) {
    // Use `typeof foo === 'undefined'` instead.
}

@@ -308,114 +308,4 @@
 %7B%0A%7D%0A
-%0A/*eslint no-undefined: %22error%22*/%0Aif (foo === undefined) %7B%0A    // Use %60typeof foo === 'undefined'%60 instead.%0A%7D%0A

remove `no-undefined` rule