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