1
1
mirror of https://github.com/reduxjs/redux-devtools.git synced 2024-12-12 19:29:16 +03:00
redux-devtools/packages/redux-devtools-app/eslint.config.mjs

33 lines
836 B
JavaScript
Raw Normal View History

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,
},
},
},
];