2020-09-09 17:35:22 +03:00
|
|
|
module.exports = {
|
2024-04-01 23:48:58 +03:00
|
|
|
extends: ['../../eslintrc.js.base.json', 'plugin:storybook/recommended'],
|
2020-09-09 17:35:22 +03:00
|
|
|
overrides: [
|
2022-01-10 18:41:53 +03:00
|
|
|
{
|
|
|
|
files: ['*.ts', '*.tsx'],
|
|
|
|
extends: '../../eslintrc.ts.react.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
2023-09-04 05:56:58 +03:00
|
|
|
project: true,
|
2022-01-10 18:41:53 +03:00
|
|
|
},
|
|
|
|
},
|
2020-09-09 17:35:22 +03:00
|
|
|
{
|
2022-01-23 00:51:27 +03:00
|
|
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
2020-09-09 17:35:22 +03:00
|
|
|
extends: '../../eslintrc.ts.react.jest.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
2022-01-23 00:51:27 +03:00
|
|
|
project: ['./tsconfig.test.json'],
|
2020-09-09 17:35:22 +03:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
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'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|