module.exports = { extends: '../../eslintrc.js.base.json', overrides: [ { files: ['*.ts', '*.tsx'], extends: '../../eslintrc.ts.react.base.json', parserOptions: { tsconfigRootDir: __dirname, project: ['./tsconfig.json'], }, }, { files: ['tests/**/*.ts', 'tests/**/*.tsx'], extends: '../../eslintrc.ts.react.jest.base.json', parserOptions: { tsconfigRootDir: __dirname, project: ['./tests/tsconfig.json'], }, }, { files: ['.storybook/**/*.ts', '.storybook/**/*.tsx'], extends: '../../eslintrc.ts.react.jest.base.json', parserOptions: { tsconfigRootDir: __dirname, project: ['./.storybook/tsconfig.json'], }, }, ], };