Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2023-08-14 17:46:13 +00:00
parent 3f55ff1327
commit 6a54608e14
186 changed files with 1202 additions and 4031 deletions

View file

@ -168,14 +168,20 @@ function translateESLintRC(eslintrcConfig, {
if (environments.has(envName)) {
// built-in environments should be defined first
configs.unshift(...translateESLintRC(environments.get(envName), {
configs.unshift(...translateESLintRC({
criteria: eslintrcConfig.criteria,
...environments.get(envName)
}, {
resolveConfigRelativeTo,
resolvePluginsRelativeTo
}));
} else if (pluginEnvironments.has(envName)) {
// if the environment comes from a plugin, it should come after the plugin config
configs.push(...translateESLintRC(pluginEnvironments.get(envName), {
configs.push(...translateESLintRC({
criteria: eslintrcConfig.criteria,
...pluginEnvironments.get(envName)
}, {
resolveConfigRelativeTo,
resolvePluginsRelativeTo
}));