module.exports = { extends: [require.resolve('@umijs/fabric/dist/eslint')], globals: { ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true, page: true, REACT_APP_ENV: true, }, parserOptions: { tsconfigRootDir: __dirname, project: './tsconfig.json', /** * parserOptions.createDefaultProgram * Default .false * This option allows you to request that when the setting is specified, * files will be allowed when not included in the projects defined by the provided files. * Using this option will incur significant performance costs. * This option is primarily included for backwards-compatibility. * See the project section above for more information.projecttsconfig.json */ createDefaultProgram: true, }, };