2020-08-31 00:49:06 +03:00
|
|
|
module.exports = {
|
2022-01-10 18:41:53 +03:00
|
|
|
extends: '../../eslintrc.js.base.json',
|
2020-08-31 00:49:06 +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-08-31 00:49:06 +03:00
|
|
|
{
|
|
|
|
files: ['demo/**/*.ts', 'demo/**/*.tsx'],
|
|
|
|
extends: '../../eslintrc.ts.react.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./demo/tsconfig.json'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
files: ['demo/config/webpack.config.ts'],
|
|
|
|
extends: '../../eslintrc.ts.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./demo/config/tsconfig.json'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|