linting: disallow t.identifier("undefined") in plugins (#6096)

* add new custom eslint rule, replace remaining t.identifier("undefined") with buildUndefinedNode(), update tests

* change no-undefined-identifier reporting descriptor
This commit is contained in:
Noah Lemen
2017-08-24 15:43:01 -04:00
committed by Justin Ridgewell
parent 4577bd1b7c
commit 2db0c3ad1d
41 changed files with 105 additions and 53 deletions

View File

@@ -3,7 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
exports.default = void 0;
var _net = require("net");

View File

@@ -3,7 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
exports.default = void 0;
var _BaseFoo2 = require("./BaseFoo");

View File

@@ -3,7 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
exports.default = void 0;
var _react = require("react");