Supports bi-directional import/export between MDX <=> Lexical. JSX will be mapped to lexical blocks back and forth. This will allow editing our mdx docs in payload while keeping mdx as the source of truth --------- Co-authored-by: Germán Jabloñski <43938777+GermanJablo@users.noreply.github.com>
21 lines
429 B
JavaScript
21 lines
429 B
JavaScript
import { rootParserOptions } from '../../eslint.config.js'
|
|
import { testEslintConfig } from '../eslint.config.js'
|
|
|
|
/** @typedef {import('eslint').Linter.FlatConfig} */
|
|
let FlatConfig
|
|
|
|
/** @type {FlatConfig[]} */
|
|
export const index = [
|
|
...testEslintConfig,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
...rootParserOptions,
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
]
|
|
|
|
export default index
|