mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 13:03:55 +03:00
38 lines
947 B
JavaScript
38 lines
947 B
JavaScript
|
module.exports = {
|
||
|
extends: '../../.eslintrc',
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['*.ts', '*.tsx'],
|
||
|
extends: '../../eslintrc.ts.react.base.json',
|
||
|
parserOptions: {
|
||
|
tsconfigRootDir: __dirname,
|
||
|
project: ['./tsconfig.json'],
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
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'],
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
files: ['test/*.ts', 'test/*.tsx'],
|
||
|
extends: '../../eslintrc.ts.react.jest.base.json',
|
||
|
parserOptions: {
|
||
|
tsconfigRootDir: __dirname,
|
||
|
project: ['./test/tsconfig.json'],
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|