Update Bot
This commit is contained in:
14
node_modules/@eslint/eslintrc/lib/flat-compat.js
generated
vendored
14
node_modules/@eslint/eslintrc/lib/flat-compat.js
generated
vendored
@@ -226,12 +226,7 @@ class FlatCompat {
|
||||
throw new TypeError("Missing parameter 'allConfig' in FlatCompat constructor.");
|
||||
}
|
||||
|
||||
// remove name property if it exists
|
||||
const config = { ...allConfig };
|
||||
|
||||
delete config.name;
|
||||
|
||||
return config;
|
||||
return allConfig;
|
||||
},
|
||||
getEslintRecommendedConfig() {
|
||||
|
||||
@@ -239,12 +234,7 @@ class FlatCompat {
|
||||
throw new TypeError("Missing parameter 'recommendedConfig' in FlatCompat constructor.");
|
||||
}
|
||||
|
||||
// remove name property if it exists
|
||||
const config = { ...recommendedConfig };
|
||||
|
||||
delete config.name;
|
||||
|
||||
return config;
|
||||
return recommendedConfig;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user