commit | 0ceb465d1c02811a5ba30edda84377c94db2b0d3 | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <tvanderlippe@chromium.org> | Thu Jan 06 14:23:36 2022 +0100 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 06 15:06:40 2022 +0000 |
tree | 801c578e01b088461d417c4cb160599fcf63bdc8 | |
parent | 92b451ffb189d0d5a3b49fc92a47a6fcab485547 [diff] [blame] |
Update ESLint and plugin packages R=jacktfranklin@chromium.org Bug: none Change-Id: If1b2420ba6e1c100c3d6b2013815ff1a555ea987 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3369367 Auto-Submit: Tim Van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
diff --git a/node_modules/eslint/lib/config/flat-config-array.js b/node_modules/eslint/lib/config/flat-config-array.js index ef9cb33..c06fd92 100644 --- a/node_modules/eslint/lib/config/flat-config-array.js +++ b/node_modules/eslint/lib/config/flat-config-array.js
@@ -52,13 +52,13 @@ * @param {{basePath: string, baseConfig: FlatConfig}} options The options * to use for the config array instance. */ - constructor(configs, { basePath, baseConfig = defaultConfig }) { + constructor(configs, { basePath, baseConfig = defaultConfig } = {}) { super(configs, { basePath, schema: flatConfigSchema }); - this.unshift(baseConfig); + this.unshift(...baseConfig); } /* eslint-disable class-methods-use-this -- Desired as instance method */