Update ESLint
This commit is contained in:
parent
61ce43443c
commit
20406a4295
|
@ -30,9 +30,11 @@ module.exports = function(level, msg) {
|
|||
}
|
||||
};
|
||||
|
||||
/* eslint-disable node/no-unsupported-features/node-builtins */
|
||||
var group = console.group || dummy;
|
||||
var groupCollapsed = console.groupCollapsed || dummy;
|
||||
var groupEnd = console.groupEnd || dummy;
|
||||
/* eslint-enable node/no-unsupported-features/node-builtins */
|
||||
|
||||
module.exports.group = logGroup(group);
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ const schema = require("../../schemas/plugins/debug/ProfilingPlugin.json");
|
|||
let inspector = undefined;
|
||||
|
||||
try {
|
||||
// eslint-disable-next-line node/no-missing-require
|
||||
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
||||
inspector = require("inspector");
|
||||
} catch (e) {
|
||||
console.log("Unable to CPU profile in < node 8.0");
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
const ExternalsPlugin = require("../ExternalsPlugin");
|
||||
|
||||
const builtins =
|
||||
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
||||
require("module").builtinModules || Object.keys(process.binding("natives"));
|
||||
|
||||
class NodeTargetPlugin {
|
||||
|
|
|
@ -43,10 +43,10 @@
|
|||
"coveralls": "^2.11.2",
|
||||
"css-loader": "^0.28.3",
|
||||
"es6-promise-polyfill": "^1.1.1",
|
||||
"eslint": "^5.1.0",
|
||||
"eslint": "^5.2.0",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-plugin-jest": "^21.17.0",
|
||||
"eslint-plugin-node": "^6.0.1",
|
||||
"eslint-plugin-jest": "^21.18.0",
|
||||
"eslint-plugin-node": "^7.0.1",
|
||||
"eslint-plugin-prettier": "^2.6.2",
|
||||
"express": "~4.13.1",
|
||||
"file-loader": "^1.1.6",
|
||||
|
|
57
yarn.lock
57
yarn.lock
|
@ -1869,18 +1869,27 @@ eslint-config-prettier@^2.9.0:
|
|||
dependencies:
|
||||
get-stdin "^5.0.1"
|
||||
|
||||
eslint-plugin-jest@^21.17.0:
|
||||
version "21.17.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.17.0.tgz#fdb00e2f9ff16987d6ebcf2c75c7add105760bbb"
|
||||
|
||||
eslint-plugin-node@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-6.0.1.tgz#bf19642298064379315d7a4b2a75937376fa05e4"
|
||||
eslint-plugin-es@^1.3.1:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-1.3.1.tgz#5acb2565db4434803d1d46a9b4cbc94b345bd028"
|
||||
dependencies:
|
||||
ignore "^3.3.6"
|
||||
eslint-utils "^1.3.0"
|
||||
regexpp "^2.0.0"
|
||||
|
||||
eslint-plugin-jest@^21.18.0:
|
||||
version "21.18.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.18.0.tgz#d7305969a9c1902f895468791d968fcf08b5c0b7"
|
||||
|
||||
eslint-plugin-node@^7.0.1:
|
||||
version "7.0.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-7.0.1.tgz#a6e054e50199b2edd85518b89b4e7b323c9f36db"
|
||||
dependencies:
|
||||
eslint-plugin-es "^1.3.1"
|
||||
eslint-utils "^1.3.1"
|
||||
ignore "^4.0.2"
|
||||
minimatch "^3.0.4"
|
||||
resolve "^1.3.3"
|
||||
semver "^5.4.1"
|
||||
resolve "^1.8.1"
|
||||
semver "^5.5.0"
|
||||
|
||||
eslint-plugin-prettier@^2.6.2:
|
||||
version "2.6.2"
|
||||
|
@ -1896,7 +1905,7 @@ eslint-scope@^4.0.0:
|
|||
esrecurse "^4.1.0"
|
||||
estraverse "^4.1.1"
|
||||
|
||||
eslint-utils@^1.3.1:
|
||||
eslint-utils@^1.3.0, eslint-utils@^1.3.1:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512"
|
||||
|
||||
|
@ -1904,9 +1913,9 @@ eslint-visitor-keys@^1.0.0:
|
|||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
|
||||
|
||||
eslint@^5.1.0:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.1.0.tgz#2ed611f1ce163c0fb99e1e0cda5af8f662dff645"
|
||||
eslint@^5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.2.0.tgz#3901ae249195d473e633c4acbc370068b1c964dc"
|
||||
dependencies:
|
||||
ajv "^6.5.0"
|
||||
babel-code-frame "^6.26.0"
|
||||
|
@ -1924,7 +1933,7 @@ eslint@^5.1.0:
|
|||
functional-red-black-tree "^1.0.1"
|
||||
glob "^7.1.2"
|
||||
globals "^11.7.0"
|
||||
ignore "^3.3.3"
|
||||
ignore "^4.0.2"
|
||||
imurmurhash "^0.1.4"
|
||||
inquirer "^5.2.0"
|
||||
is-resolvable "^1.1.0"
|
||||
|
@ -2780,9 +2789,9 @@ ignore-walk@^3.0.1:
|
|||
dependencies:
|
||||
minimatch "^3.0.4"
|
||||
|
||||
ignore@^3.3.3, ignore@^3.3.6:
|
||||
version "3.3.8"
|
||||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.8.tgz#3f8e9c35d38708a3a7e0e9abb6c73e7ee7707b2b"
|
||||
ignore@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.2.tgz#0a8dd228947ec78c2d7f736b1642a9f7317c1905"
|
||||
|
||||
image-size@~0.5.0:
|
||||
version "0.5.5"
|
||||
|
@ -5513,6 +5522,10 @@ regexpp@^1.1.0:
|
|||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab"
|
||||
|
||||
regexpp@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.0.tgz#b2a7534a85ca1b033bcf5ce9ff8e56d4e0755365"
|
||||
|
||||
regexpu-core@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b"
|
||||
|
@ -5690,12 +5703,18 @@ resolve@1.1.7, resolve@1.1.x:
|
|||
version "1.1.7"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
|
||||
|
||||
resolve@^1.1.6, resolve@^1.1.7, resolve@^1.3.3:
|
||||
resolve@^1.1.6, resolve@^1.1.7:
|
||||
version "1.7.1"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.7.1.tgz#aadd656374fd298aee895bc026b8297418677fd3"
|
||||
dependencies:
|
||||
path-parse "^1.0.5"
|
||||
|
||||
resolve@^1.8.1:
|
||||
version "1.8.1"
|
||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26"
|
||||
dependencies:
|
||||
path-parse "^1.0.5"
|
||||
|
||||
restore-cursor@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541"
|
||||
|
|
Loading…
Reference in New Issue