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

@@ -1,10 +1,9 @@
import { rootEslintConfig, rootParserOptions } from '../../eslint.config.js'
import reactCompiler from 'eslint-plugin-react-compiler'
const { rules } = reactCompiler
/** @typedef {import('eslint').Linter.FlatConfig} */
let FlatConfig
/** @typedef {import('eslint').Linter.Config} Config */
/** @type {FlatConfig[]} */
/** @type {Config[]} */
export const index = [
...rootEslintConfig,
{