mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-24 10:33:58 +03:00
33 lines
836 B
JavaScript
33 lines
836 B
JavaScript
|
import globals from 'globals';
|
||
|
import eslintJs from '../../eslint.js.config.base.mjs';
|
||
|
import eslintTsReact from '../../eslint.ts.react.config.base.mjs';
|
||
|
import eslintTsReactJest from '../../eslint.ts.react.jest.config.base.mjs';
|
||
|
import eslintTs from '../../eslint.ts.react.config.base.mjs';
|
||
|
|
||
|
export default [
|
||
|
...eslintJs,
|
||
|
...eslintTsReact(import.meta.dirname),
|
||
|
...eslintTsReact(
|
||
|
import.meta.dirname,
|
||
|
['demo/**/*.ts', 'demo/**/*.tsx'],
|
||
|
['./tsconfig.demo.json'],
|
||
|
),
|
||
|
...eslintTsReactJest(import.meta.dirname),
|
||
|
...eslintTs(
|
||
|
import.meta.dirname,
|
||
|
['webpack.config.ts', 'webpack.config.umd.ts'],
|
||
|
['./tsconfig.webpack.json'],
|
||
|
),
|
||
|
{
|
||
|
ignores: ['build', 'lib', 'umd'],
|
||
|
},
|
||
|
{
|
||
|
files: ['buildUmd.mjs'],
|
||
|
languageOptions: {
|
||
|
globals: {
|
||
|
...globals.nodeBuiltin,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|