chore(eslint): FlatConfig type deprecated, set to Config
This commit is contained in:
@@ -107,8 +107,7 @@ const typescriptRules = {
|
||||
'@typescript-eslint/no-empty-object-type': 'warn',
|
||||
}
|
||||
|
||||
/** @typedef {import('eslint').Linter.FlatConfig} */
|
||||
let FlatConfig
|
||||
/** @typedef {import('eslint').Linter.Config} Config */
|
||||
|
||||
/** @type {FlatConfig} */
|
||||
const baseExtends = deepMerge(
|
||||
@@ -117,7 +116,7 @@ const baseExtends = deepMerge(
|
||||
regexpPluginConfigs['flat/recommended'],
|
||||
)
|
||||
|
||||
/** @type {FlatConfig[]} */
|
||||
/** @type {Config[]} */
|
||||
export const rootEslintConfig = [
|
||||
{
|
||||
name: 'Settings',
|
||||
|
||||
Reference in New Issue
Block a user