Update checked-in dependencies
This commit is contained in:
parent
3f55ff1327
commit
6a54608e14
186 changed files with 1202 additions and 4031 deletions
10
node_modules/@eslint/eslintrc/lib/flat-compat.js
generated
vendored
10
node_modules/@eslint/eslintrc/lib/flat-compat.js
generated
vendored
|
|
@ -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
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue