redux-devtools/packages/redux-devtools-app/eslint.config.mjs
Nathan Bierema 4164b6279e
Use flat config for ESLint (#1712)
* d3tooltip

* map2tree

* d3-state-visualizer

* react-base16-styling

* react-dock

* Cleanup

* Update

* react-json-tree

* redux-devtools

* redux-devtools-app

* redux-devtools-app-core

* redux-devtools-cli

* Fix

* redux-devtools-dock-monitor

* redux-devtools-extension

* redux-devtools-inspector-monitor

* redux-devtools-inspector-monitor-test-tab

* redux-devtools-inspector-monitor-trace-tab

* redux-devtools-instrument

* Simplify

* redux-devtools-log-monitor

* redux-devtools-remote

* redux-devtools-rtk-query-monitor

* redux-devtools-serialize

* redux-devtools-slider-monitor

* redux-devtools-utils

* Format
2024-08-08 23:47:07 -04:00

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