2020-08-31 00:49:06 +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-08-31 00:49:06 +03:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
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'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|