2020-10-26 02:32:04 +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-10-26 02:32:04 +03:00
|
|
|
overrides: [
|
2021-08-30 07:54:35 +03:00
|
|
|
{
|
2021-09-18 06:35:49 +03:00
|
|
|
files: ['demo/**/*.ts', 'demo/**/*.tsx'],
|
2021-08-30 07:54:35 +03:00
|
|
|
extends: '../../eslintrc.ts.react.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./tsconfig.demo.json'],
|
|
|
|
},
|
|
|
|
},
|
2020-10-26 02:32:04 +03:00
|
|
|
{
|
2021-09-18 06:35:49 +03:00
|
|
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
2020-10-26 02:32:04 +03:00
|
|
|
extends: '../../eslintrc.ts.react.jest.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./test/tsconfig.json'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
files: ['webpack.config.ts', 'webpack.config.umd.ts'],
|
|
|
|
extends: '../../eslintrc.ts.base.json',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: ['./tsconfig.webpack.json'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|