1 2 3 4 5 6 7 8 9 10 11 12 13 14 15import baseConfig from './16.mjs'; import config from '../../node/18.json' with { type: 'json' }; import globals from 'globals'; export default /** @type {import('./18.d.mts').default} */ ([ ...baseConfig, { languageOptions: { ecmaVersion: config.parserOptions.ecmaVersion, // @ts-expect-error it's fine that this is undefined globals: globals.es2022, }, }, ]);