mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
redux-devtools-app-core
This commit is contained in:
parent
46e75e6c48
commit
c9ce0610db
|
@ -1,2 +0,0 @@
|
|||
build
|
||||
lib
|
|
@ -1,21 +0,0 @@
|
|||
module.exports = {
|
||||
extends: '../../eslintrc.js.base.json',
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.ts', '*.tsx'],
|
||||
extends: '../../eslintrc.ts.react.base.json',
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||
extends: '../../eslintrc.ts.react.jest.base.json',
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: ['./tsconfig.test.json'],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
14
packages/redux-devtools-app-core/eslint.config.mjs
Normal file
14
packages/redux-devtools-app-core/eslint.config.mjs
Normal file
|
@ -0,0 +1,14 @@
|
|||
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';
|
||||
|
||||
export default [
|
||||
...eslintJs,
|
||||
...eslintTsReact(import.meta.dirname),
|
||||
...eslintTsReactJest(['test/**/*.ts', 'test/**/*.tsx'], import.meta.dirname, [
|
||||
'./tsconfig.test.json',
|
||||
]),
|
||||
{
|
||||
ignores: ['lib'],
|
||||
},
|
||||
];
|
|
@ -29,7 +29,7 @@
|
|||
"build:types": "tsc --emitDeclarationOnly",
|
||||
"clean": "rimraf lib",
|
||||
"test": "jest",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
"lint": "eslint .",
|
||||
"type-check": "tsc --noEmit",
|
||||
"prepack": "pnpm run clean && pnpm run build",
|
||||
"prepublish": "pnpm run type-check && pnpm run lint && pnpm run test"
|
||||
|
@ -73,15 +73,8 @@
|
|||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/styled-components": "^5.1.34",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
||||
"@typescript-eslint/parser": "^8.0.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild": "^0.23.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-jest": "^28.7.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-react": "^7.35.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"react": "^18.3.1",
|
||||
|
|
Loading…
Reference in New Issue
Block a user