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

30 lines
782 B
JavaScript
Raw Normal View History

module.exports = {
extends: ['../../eslintrc.js.base.json', 'plugin:storybook/recommended'],
overrides: [
{
files: ['*.ts', '*.tsx'],
extends: '../../eslintrc.ts.react.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: true,
},
},
{
files: ['test/**/*.ts', 'test/**/*.tsx'],
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.test.json'],
},
},
{
2021-09-18 06:35:49 +03:00
files: ['.storybook/**/*.ts', '.storybook/**/*.tsx'],
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./.storybook/tsconfig.json'],
},
},
],
};