redux-devtools/packages/devui/.eslintrc.js

30 lines
754 B
JavaScript
Raw Normal View History

module.exports = {
extends: '../../.eslintrc',
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/tests/*.ts', '.storybook/tests/*.tsx'],
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./.storybook/tsconfig.json'],
},
},
],
};