mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 11:03:57 +03:00
fdce076757
* Enable linting for extension * Update lock file
39 lines
774 B
JavaScript
39 lines
774 B
JavaScript
import globals from 'globals';
|
|
import eslintJs from '../eslint.js.config.base.mjs';
|
|
import eslintTsReact from '../eslint.ts.react.config.base.mjs';
|
|
import eslintJsReactJest from '../eslint.js.react.jest.config.base.mjs';
|
|
|
|
export default [
|
|
...eslintJs,
|
|
...eslintTsReact(import.meta.dirname),
|
|
...eslintJsReactJest,
|
|
{
|
|
ignores: [
|
|
'chrome',
|
|
'dist',
|
|
'edge',
|
|
'examples',
|
|
'firefox',
|
|
'test/electron/fixture/dist',
|
|
],
|
|
},
|
|
{
|
|
files: ['build.mjs'],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.nodeBuiltin,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ['test/**/*.js', 'test/**/*.jsx'],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
...globals.node,
|
|
EUI: true,
|
|
},
|
|
},
|
|
},
|
|
];
|