2020-09-09 17:35:22 +03:00
|
|
|
module.exports = {
|
2021-09-19 02:47:03 +03:00
|
|
|
extends: '../../eslintrc.ts.react.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./tsconfig.json'],
|
|
|
|
},
|
2020-09-09 17:35:22 +03:00
|
|
|
overrides: [
|
|
|
|
{
|
2021-09-18 06:35:49 +03:00
|
|
|
files: ['tests/**/*.ts', 'tests/**/*.tsx'],
|
2020-09-09 17:35:22 +03:00
|
|
|
extends: '../../eslintrc.ts.react.jest.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./tests/tsconfig.json'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
2021-09-18 06:35:49 +03:00
|
|
|
files: ['.storybook/**/*.ts', '.storybook/**/*.tsx'],
|
2020-09-09 17:35:22 +03:00
|
|
|
extends: '../../eslintrc.ts.react.jest.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./.storybook/tsconfig.json'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|