chore(eslint): FlatConfig type deprecated, set to Config

This commit is contained in:
Elliot DeNolf
2024-09-20 22:46:40 -04:00
parent b1173dc6ad
commit 040c2a2fbb
84 changed files with 169 additions and 252 deletions

View File

@@ -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',