mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-10-30 07:27:29 +03:00
Merge branch 'main' into renovate/all-minor-patch
This commit is contained in:
commit
c647477df0
2
.github/workflows/CI.yml
vendored
2
.github/workflows/CI.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
- uses: actions/setup-node@v5
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
|
import { defineConfig } from 'eslint/config';
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||||
|
|
||||||
export default [eslint.configs.recommended, eslintConfigPrettier];
|
export default defineConfig([eslint.configs.recommended, eslintConfigPrettier]);
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
|
import { defineConfig } from 'eslint/config';
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import react from 'eslint-plugin-react';
|
import react from 'eslint-plugin-react';
|
||||||
import { fixupPluginRules } from '@eslint/compat';
|
import reactHooks from 'eslint-plugin-react-hooks';
|
||||||
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
||||||
import jest from 'eslint-plugin-jest';
|
import jest from 'eslint-plugin-jest';
|
||||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||||
|
|
||||||
export default [
|
export default defineConfig([
|
||||||
{
|
{
|
||||||
files: ['test/**/*.js', 'test/**/*.jsx'],
|
files: ['test/**/*.js', 'test/**/*.jsx'],
|
||||||
...eslint.configs.recommended,
|
...eslint.configs.recommended,
|
||||||
|
|
@ -24,9 +24,7 @@ export default [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['test/**/*.js', 'test/**/*.jsx'],
|
files: ['test/**/*.js', 'test/**/*.jsx'],
|
||||||
plugins: {
|
...reactHooks.configs.flat.recommended,
|
||||||
'react-hooks': fixupPluginRules(eslintPluginReactHooks),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['test/**/*.js', 'test/**/*.jsx'],
|
files: ['test/**/*.js', 'test/**/*.jsx'],
|
||||||
|
|
@ -40,4 +38,4 @@ export default [
|
||||||
files: ['test/**/*.js', 'test/**/*.jsx'],
|
files: ['test/**/*.js', 'test/**/*.jsx'],
|
||||||
...eslintConfigPrettier,
|
...eslintConfigPrettier,
|
||||||
},
|
},
|
||||||
];
|
]);
|
||||||
|
|
|
||||||
|
|
@ -1,55 +1,57 @@
|
||||||
|
import { defineConfig } from 'eslint/config';
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import tseslint from 'typescript-eslint';
|
import tseslint from 'typescript-eslint';
|
||||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||||
|
|
||||||
export default (tsconfigRootDir, files = ['**/*.ts'], project = true) => [
|
export default (tsconfigRootDir, files = ['**/*.ts'], project = true) =>
|
||||||
{
|
defineConfig([
|
||||||
files,
|
{
|
||||||
...eslint.configs.recommended,
|
files,
|
||||||
},
|
...eslint.configs.recommended,
|
||||||
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
},
|
||||||
files,
|
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
||||||
...config,
|
files,
|
||||||
})),
|
...config,
|
||||||
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
})),
|
||||||
files,
|
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
||||||
...config,
|
files,
|
||||||
})),
|
...config,
|
||||||
{
|
})),
|
||||||
files,
|
{
|
||||||
languageOptions: {
|
files,
|
||||||
parserOptions: {
|
languageOptions: {
|
||||||
project,
|
parserOptions: {
|
||||||
tsconfigRootDir,
|
project,
|
||||||
|
tsconfigRootDir,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
files,
|
||||||
files,
|
...eslintConfigPrettier,
|
||||||
...eslintConfigPrettier,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files,
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/no-unsafe-return': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-call': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
||||||
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
||||||
'@typescript-eslint/no-base-to-string': 'off',
|
|
||||||
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
|
||||||
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
||||||
'@typescript-eslint/consistent-type-definitions': 'off',
|
|
||||||
'@typescript-eslint/no-unused-vars': 'off',
|
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
|
||||||
'@typescript-eslint/prefer-for-of': 'off',
|
|
||||||
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
|
||||||
'@typescript-eslint/class-literal-property-style': 'off',
|
|
||||||
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
|
||||||
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/array-type': 'off',
|
|
||||||
'@typescript-eslint/prefer-function-type': 'off',
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
];
|
files,
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-unsafe-return': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-call': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||||||
|
'@typescript-eslint/prefer-optional-chain': 'off',
|
||||||
|
'@typescript-eslint/no-base-to-string': 'off',
|
||||||
|
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
||||||
|
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
||||||
|
'@typescript-eslint/consistent-type-definitions': 'off',
|
||||||
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
|
'@typescript-eslint/prefer-for-of': 'off',
|
||||||
|
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
||||||
|
'@typescript-eslint/class-literal-property-style': 'off',
|
||||||
|
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
||||||
|
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/array-type': 'off',
|
||||||
|
'@typescript-eslint/prefer-function-type': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
|
||||||
|
|
@ -1,64 +1,66 @@
|
||||||
|
import { defineConfig } from 'eslint/config';
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import tseslint from 'typescript-eslint';
|
import tseslint from 'typescript-eslint';
|
||||||
import jest from 'eslint-plugin-jest';
|
import jest from 'eslint-plugin-jest';
|
||||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||||
|
|
||||||
export default (tsconfigRootDir) => [
|
export default (tsconfigRootDir) =>
|
||||||
{
|
defineConfig([
|
||||||
files: ['test/**/*.ts'],
|
{
|
||||||
...eslint.configs.recommended,
|
files: ['test/**/*.ts'],
|
||||||
},
|
...eslint.configs.recommended,
|
||||||
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
},
|
||||||
files: ['test/**/*.ts'],
|
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
||||||
...config,
|
files: ['test/**/*.ts'],
|
||||||
})),
|
...config,
|
||||||
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
})),
|
||||||
files: ['test/**/*.ts'],
|
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
||||||
...config,
|
files: ['test/**/*.ts'],
|
||||||
})),
|
...config,
|
||||||
{
|
})),
|
||||||
files: ['test/**/*.ts'],
|
{
|
||||||
languageOptions: {
|
files: ['test/**/*.ts'],
|
||||||
parserOptions: {
|
languageOptions: {
|
||||||
project: ['./tsconfig.test.json'],
|
parserOptions: {
|
||||||
tsconfigRootDir,
|
project: ['./tsconfig.test.json'],
|
||||||
|
tsconfigRootDir,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
files: ['test/**/*.ts'],
|
||||||
files: ['test/**/*.ts'],
|
...jest.configs['flat/recommended'],
|
||||||
...jest.configs['flat/recommended'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts'],
|
|
||||||
...jest.configs['jest/style'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts'],
|
|
||||||
...eslintConfigPrettier,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts'],
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/no-unsafe-return': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-call': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
||||||
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
||||||
'@typescript-eslint/no-base-to-string': 'off',
|
|
||||||
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
|
||||||
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
||||||
'@typescript-eslint/consistent-type-definitions': 'off',
|
|
||||||
'@typescript-eslint/no-unused-vars': 'off',
|
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
|
||||||
'@typescript-eslint/prefer-for-of': 'off',
|
|
||||||
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
|
||||||
'@typescript-eslint/class-literal-property-style': 'off',
|
|
||||||
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
|
||||||
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/array-type': 'off',
|
|
||||||
'@typescript-eslint/prefer-function-type': 'off',
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
];
|
files: ['test/**/*.ts'],
|
||||||
|
...jest.configs['jest/style'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: ['test/**/*.ts'],
|
||||||
|
...eslintConfigPrettier,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: ['test/**/*.ts'],
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-unsafe-return': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-call': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||||||
|
'@typescript-eslint/prefer-optional-chain': 'off',
|
||||||
|
'@typescript-eslint/no-base-to-string': 'off',
|
||||||
|
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
||||||
|
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
||||||
|
'@typescript-eslint/consistent-type-definitions': 'off',
|
||||||
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
|
'@typescript-eslint/prefer-for-of': 'off',
|
||||||
|
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
||||||
|
'@typescript-eslint/class-literal-property-style': 'off',
|
||||||
|
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
||||||
|
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/array-type': 'off',
|
||||||
|
'@typescript-eslint/prefer-function-type': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
|
||||||
|
|
@ -1,89 +1,88 @@
|
||||||
|
import { defineConfig } from 'eslint/config';
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import tseslint from 'typescript-eslint';
|
import tseslint from 'typescript-eslint';
|
||||||
import react from 'eslint-plugin-react';
|
import react from 'eslint-plugin-react';
|
||||||
import { fixupPluginRules } from '@eslint/compat';
|
import reactHooks from 'eslint-plugin-react-hooks';
|
||||||
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
||||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||||
|
|
||||||
export default (
|
export default (
|
||||||
tsconfigRootDir,
|
tsconfigRootDir,
|
||||||
files = ['**/*.ts', '**/*.tsx'],
|
files = ['**/*.ts', '**/*.tsx'],
|
||||||
project = true,
|
project = true,
|
||||||
) => [
|
) =>
|
||||||
{
|
defineConfig([
|
||||||
files,
|
{
|
||||||
...eslint.configs.recommended,
|
files,
|
||||||
},
|
...eslint.configs.recommended,
|
||||||
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
|
||||||
files,
|
|
||||||
...config,
|
|
||||||
})),
|
|
||||||
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
|
||||||
files,
|
|
||||||
...config,
|
|
||||||
})),
|
|
||||||
{
|
|
||||||
files,
|
|
||||||
languageOptions: {
|
|
||||||
parserOptions: {
|
|
||||||
project,
|
|
||||||
tsconfigRootDir,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
||||||
{
|
files,
|
||||||
files,
|
...config,
|
||||||
...react.configs.flat.recommended,
|
})),
|
||||||
},
|
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
||||||
{
|
files,
|
||||||
files,
|
...config,
|
||||||
settings: {
|
})),
|
||||||
react: {
|
{
|
||||||
version: 'detect',
|
files,
|
||||||
},
|
languageOptions: {
|
||||||
},
|
parserOptions: {
|
||||||
},
|
project,
|
||||||
{
|
tsconfigRootDir,
|
||||||
files,
|
|
||||||
plugins: {
|
|
||||||
'react-hooks': fixupPluginRules(eslintPluginReactHooks),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files,
|
|
||||||
...eslintConfigPrettier,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files,
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/no-unsafe-return': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-call': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
||||||
'@typescript-eslint/no-misused-promises': [
|
|
||||||
'error',
|
|
||||||
{
|
|
||||||
checksVoidReturn: {
|
|
||||||
attributes: false,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
},
|
||||||
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
||||||
'@typescript-eslint/no-base-to-string': 'off',
|
|
||||||
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
|
||||||
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
||||||
'@typescript-eslint/consistent-type-definitions': 'off',
|
|
||||||
'@typescript-eslint/no-unused-vars': 'off',
|
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
|
||||||
'@typescript-eslint/prefer-for-of': 'off',
|
|
||||||
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
|
||||||
'@typescript-eslint/class-literal-property-style': 'off',
|
|
||||||
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
|
||||||
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/array-type': 'off',
|
|
||||||
'@typescript-eslint/prefer-function-type': 'off',
|
|
||||||
'react/prop-types': 'off',
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
];
|
files,
|
||||||
|
...react.configs.flat.recommended,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files,
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: 'detect',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files,
|
||||||
|
...reactHooks.configs.flat.recommended,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files,
|
||||||
|
...eslintConfigPrettier,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files,
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-unsafe-return': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-call': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||||||
|
'@typescript-eslint/no-misused-promises': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
checksVoidReturn: {
|
||||||
|
attributes: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'@typescript-eslint/prefer-optional-chain': 'off',
|
||||||
|
'@typescript-eslint/no-base-to-string': 'off',
|
||||||
|
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
||||||
|
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
||||||
|
'@typescript-eslint/consistent-type-definitions': 'off',
|
||||||
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
|
'@typescript-eslint/prefer-for-of': 'off',
|
||||||
|
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
||||||
|
'@typescript-eslint/class-literal-property-style': 'off',
|
||||||
|
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
||||||
|
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/array-type': 'off',
|
||||||
|
'@typescript-eslint/prefer-function-type': 'off',
|
||||||
|
'react/prop-types': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
|
||||||
|
|
@ -1,85 +1,84 @@
|
||||||
|
import { defineConfig } from 'eslint/config';
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import tseslint from 'typescript-eslint';
|
import tseslint from 'typescript-eslint';
|
||||||
import react from 'eslint-plugin-react';
|
import react from 'eslint-plugin-react';
|
||||||
import { fixupPluginRules } from '@eslint/compat';
|
import reactHooks from 'eslint-plugin-react-hooks';
|
||||||
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
||||||
import jest from 'eslint-plugin-jest';
|
import jest from 'eslint-plugin-jest';
|
||||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||||
|
|
||||||
export default (tsconfigRootDir) => [
|
export default (tsconfigRootDir) =>
|
||||||
{
|
defineConfig([
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
{
|
||||||
...eslint.configs.recommended,
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
},
|
...eslint.configs.recommended,
|
||||||
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
},
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
...tseslint.configs.recommendedTypeChecked.map((config) => ({
|
||||||
...config,
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
})),
|
...config,
|
||||||
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
})),
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
...tseslint.configs.stylisticTypeChecked.map((config) => ({
|
||||||
...config,
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
})),
|
...config,
|
||||||
{
|
})),
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
{
|
||||||
languageOptions: {
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
parserOptions: {
|
languageOptions: {
|
||||||
project: ['./tsconfig.test.json'],
|
parserOptions: {
|
||||||
tsconfigRootDir,
|
project: ['./tsconfig.test.json'],
|
||||||
|
tsconfigRootDir,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
...react.configs.flat.recommended,
|
||||||
...react.configs.flat.recommended,
|
},
|
||||||
},
|
{
|
||||||
{
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
settings: {
|
||||||
settings: {
|
react: {
|
||||||
react: {
|
version: 'detect',
|
||||||
version: 'detect',
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
...reactHooks.configs.flat.recommended,
|
||||||
plugins: {
|
|
||||||
'react-hooks': fixupPluginRules(eslintPluginReactHooks),
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
...jest.configs['flat/recommended'],
|
||||||
...jest.configs['flat/recommended'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
|
||||||
...jest.configs['jest/style'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
|
||||||
...eslintConfigPrettier,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/no-unsafe-return': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-call': 'off',
|
|
||||||
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
||||||
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
||||||
'@typescript-eslint/no-base-to-string': 'off',
|
|
||||||
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
|
||||||
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
||||||
'@typescript-eslint/consistent-type-definitions': 'off',
|
|
||||||
'@typescript-eslint/no-unused-vars': 'off',
|
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
|
||||||
'@typescript-eslint/prefer-for-of': 'off',
|
|
||||||
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
|
||||||
'@typescript-eslint/class-literal-property-style': 'off',
|
|
||||||
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
|
||||||
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
|
||||||
'@typescript-eslint/array-type': 'off',
|
|
||||||
'@typescript-eslint/prefer-function-type': 'off',
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
];
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
|
...jest.configs['jest/style'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
|
...eslintConfigPrettier,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: ['test/**/*.ts', 'test/**/*.tsx'],
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-unsafe-return': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-call': 'off',
|
||||||
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||||||
|
'@typescript-eslint/prefer-optional-chain': 'off',
|
||||||
|
'@typescript-eslint/no-base-to-string': 'off',
|
||||||
|
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
||||||
|
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
||||||
|
'@typescript-eslint/consistent-type-definitions': 'off',
|
||||||
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
|
'@typescript-eslint/prefer-for-of': 'off',
|
||||||
|
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
||||||
|
'@typescript-eslint/class-literal-property-style': 'off',
|
||||||
|
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
||||||
|
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
||||||
|
'@typescript-eslint/array-type': 'off',
|
||||||
|
'@typescript-eslint/prefer-function-type': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,12 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.28.4",
|
"@babel/core": "^7.28.4",
|
||||||
"@changesets/cli": "^2.29.7",
|
"@changesets/cli": "^2.29.7",
|
||||||
"@eslint/compat": "^1.4.0",
|
|
||||||
"@eslint/js": "^9.37.0",
|
"@eslint/js": "^9.37.0",
|
||||||
"eslint": "^9.37.0",
|
"eslint": "^9.37.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-jest": "^29.0.1",
|
"eslint-plugin-jest": "^29.0.1",
|
||||||
"eslint-plugin-react": "^7.37.5",
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"eslint-plugin-react-hooks": "^5.2.0",
|
"eslint-plugin-react-hooks": "^7.0.0",
|
||||||
"jest": "^30.2.0",
|
"jest": "^30.2.0",
|
||||||
"prettier": "3.6.2",
|
"prettier": "3.6.2",
|
||||||
"typescript": "~5.9.3",
|
"typescript": "~5.9.3",
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,6 @@ export const getDevTools = (location: { search: string }) =>
|
||||||
export function ConnectedDevTools() {
|
export function ConnectedDevTools() {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const DevTools = getDevTools(location);
|
const DevTools = getDevTools(location);
|
||||||
|
// eslint-disable-next-line react-hooks/static-components
|
||||||
return <DevTools />;
|
return <DevTools />;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,5 +47,6 @@ export const getDevTools = (location: { search: string }) =>
|
||||||
export function ConnectedDevTools() {
|
export function ConnectedDevTools() {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const DevTools = getDevTools(location);
|
const DevTools = getDevTools(location);
|
||||||
|
// eslint-disable-next-line react-hooks/static-components
|
||||||
return <DevTools />;
|
return <DevTools />;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"@redux-devtools/dock-monitor": "workspace:^",
|
"@redux-devtools/dock-monitor": "workspace:^",
|
||||||
"@redux-devtools/rtk-query-monitor": "workspace:^",
|
"@redux-devtools/rtk-query-monitor": "workspace:^",
|
||||||
"@reduxjs/toolkit": "^2.9.0",
|
"@reduxjs/toolkit": "^2.9.0",
|
||||||
"msw": "^2.11.2",
|
"msw": "^2.11.5",
|
||||||
"react": "^19.2.0",
|
"react": "^19.2.0",
|
||||||
"react-dom": "^19.2.0",
|
"react-dom": "^19.2.0",
|
||||||
"react-icons": "^5.5.0",
|
"react-icons": "^5.5.0",
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
* - Please do NOT modify this file.
|
* - Please do NOT modify this file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const PACKAGE_VERSION = '2.11.2'
|
const PACKAGE_VERSION = '2.11.5'
|
||||||
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
|
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
|
||||||
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
||||||
const activeClientIds = new Set()
|
const activeClientIds = new Set()
|
||||||
|
|
@ -205,6 +205,7 @@ async function resolveMainClient(event) {
|
||||||
* @param {FetchEvent} event
|
* @param {FetchEvent} event
|
||||||
* @param {Client | undefined} client
|
* @param {Client | undefined} client
|
||||||
* @param {string} requestId
|
* @param {string} requestId
|
||||||
|
* @param {number} requestInterceptedAt
|
||||||
* @returns {Promise<Response>}
|
* @returns {Promise<Response>}
|
||||||
*/
|
*/
|
||||||
async function getResponse(event, client, requestId, requestInterceptedAt) {
|
async function getResponse(event, client, requestId, requestInterceptedAt) {
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,6 @@ importers:
|
||||||
'@changesets/cli':
|
'@changesets/cli':
|
||||||
specifier: ^2.29.7
|
specifier: ^2.29.7
|
||||||
version: 2.29.7(@types/node@22.18.10)
|
version: 2.29.7(@types/node@22.18.10)
|
||||||
'@eslint/compat':
|
|
||||||
specifier: ^1.4.0
|
|
||||||
version: 1.4.0(eslint@9.37.0)
|
|
||||||
'@eslint/js':
|
'@eslint/js':
|
||||||
specifier: ^9.37.0
|
specifier: ^9.37.0
|
||||||
version: 9.37.0
|
version: 9.37.0
|
||||||
|
|
@ -44,8 +41,8 @@ importers:
|
||||||
specifier: ^7.37.5
|
specifier: ^7.37.5
|
||||||
version: 7.37.5(eslint@9.37.0)
|
version: 7.37.5(eslint@9.37.0)
|
||||||
eslint-plugin-react-hooks:
|
eslint-plugin-react-hooks:
|
||||||
specifier: ^5.2.0
|
specifier: ^7.0.0
|
||||||
version: 5.2.0(eslint@9.37.0)
|
version: 7.0.0(eslint@9.37.0)
|
||||||
jest:
|
jest:
|
||||||
specifier: ^30.2.0
|
specifier: ^30.2.0
|
||||||
version: 30.2.0(@types/node@22.18.10)(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.25.10))(ts-node@10.9.2(@types/node@22.18.10)(typescript@5.9.3))
|
version: 30.2.0(@types/node@22.18.10)(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.25.10))(ts-node@10.9.2(@types/node@22.18.10)(typescript@5.9.3))
|
||||||
|
|
@ -2066,7 +2063,7 @@ importers:
|
||||||
specifier: ^2.9.0
|
specifier: ^2.9.0
|
||||||
version: 2.9.0(react-redux@9.2.0(@types/react@19.2.2)(react@19.2.0)(redux@5.0.1))(react@19.2.0)
|
version: 2.9.0(react-redux@9.2.0(@types/react@19.2.2)(react@19.2.0)(redux@5.0.1))(react@19.2.0)
|
||||||
msw:
|
msw:
|
||||||
specifier: ^2.11.2
|
specifier: ^2.11.5
|
||||||
version: 2.11.5(@types/node@22.18.10)(typescript@5.9.3)
|
version: 2.11.5(@types/node@22.18.10)(typescript@5.9.3)
|
||||||
react:
|
react:
|
||||||
specifier: ^19.2.0
|
specifier: ^19.2.0
|
||||||
|
|
@ -3862,15 +3859,6 @@ packages:
|
||||||
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
|
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
|
||||||
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
|
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
|
||||||
|
|
||||||
'@eslint/compat@1.4.0':
|
|
||||||
resolution: {integrity: sha512-DEzm5dKeDBPm3r08Ixli/0cmxr8LkRdwxMRUIJBlSCpAwSrvFEJpVBzV+66JhDxiaqKxnRzCXhtiMiczF7Hglg==}
|
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
|
||||||
peerDependencies:
|
|
||||||
eslint: ^8.40 || 9
|
|
||||||
peerDependenciesMeta:
|
|
||||||
eslint:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
'@eslint/config-array@0.21.0':
|
'@eslint/config-array@0.21.0':
|
||||||
resolution: {integrity: sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==}
|
resolution: {integrity: sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
@ -6792,9 +6780,9 @@ packages:
|
||||||
jest:
|
jest:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
eslint-plugin-react-hooks@5.2.0:
|
eslint-plugin-react-hooks@7.0.0:
|
||||||
resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==}
|
resolution: {integrity: sha512-fNXaOwvKwq2+pXiRpXc825Vd63+KM4DLL40Rtlycb8m7fYpp6efrTp1sa6ZbP/Ap58K2bEKFXRmhURE+CJAQWw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
|
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
|
||||||
|
|
||||||
|
|
@ -7284,6 +7272,12 @@ packages:
|
||||||
headers-polyfill@4.0.3:
|
headers-polyfill@4.0.3:
|
||||||
resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==}
|
resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==}
|
||||||
|
|
||||||
|
hermes-estree@0.25.1:
|
||||||
|
resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==}
|
||||||
|
|
||||||
|
hermes-parser@0.25.1:
|
||||||
|
resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}
|
||||||
|
|
||||||
hex-rgba@1.0.2:
|
hex-rgba@1.0.2:
|
||||||
resolution: {integrity: sha512-MKla68wFGv+i7zU3Q4giWN74f+zWdkuf2Tk21fISV7aw55r8dH/noBbH5JsVlM4Z2WRTYCEmSxsoZ1QR/o68jg==}
|
resolution: {integrity: sha512-MKla68wFGv+i7zU3Q4giWN74f+zWdkuf2Tk21fISV7aw55r8dH/noBbH5JsVlM4Z2WRTYCEmSxsoZ1QR/o68jg==}
|
||||||
|
|
||||||
|
|
@ -10352,6 +10346,15 @@ packages:
|
||||||
resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==}
|
resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
|
zod-validation-error@4.0.2:
|
||||||
|
resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==}
|
||||||
|
engines: {node: '>=18.0.0'}
|
||||||
|
peerDependencies:
|
||||||
|
zod: ^3.25.0 || ^4.0.0
|
||||||
|
|
||||||
|
zod@4.1.12:
|
||||||
|
resolution: {integrity: sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==}
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
|
|
||||||
'@adobe/css-tools@4.4.4': {}
|
'@adobe/css-tools@4.4.4': {}
|
||||||
|
|
@ -11831,12 +11834,6 @@ snapshots:
|
||||||
|
|
||||||
'@eslint-community/regexpp@4.12.1': {}
|
'@eslint-community/regexpp@4.12.1': {}
|
||||||
|
|
||||||
'@eslint/compat@1.4.0(eslint@9.37.0)':
|
|
||||||
dependencies:
|
|
||||||
'@eslint/core': 0.16.0
|
|
||||||
optionalDependencies:
|
|
||||||
eslint: 9.37.0
|
|
||||||
|
|
||||||
'@eslint/config-array@0.21.0':
|
'@eslint/config-array@0.21.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint/object-schema': 2.1.6
|
'@eslint/object-schema': 2.1.6
|
||||||
|
|
@ -15460,9 +15457,16 @@ snapshots:
|
||||||
- supports-color
|
- supports-color
|
||||||
- typescript
|
- typescript
|
||||||
|
|
||||||
eslint-plugin-react-hooks@5.2.0(eslint@9.37.0):
|
eslint-plugin-react-hooks@7.0.0(eslint@9.37.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@babel/core': 7.28.4
|
||||||
|
'@babel/parser': 7.28.4
|
||||||
eslint: 9.37.0
|
eslint: 9.37.0
|
||||||
|
hermes-parser: 0.25.1
|
||||||
|
zod: 4.1.12
|
||||||
|
zod-validation-error: 4.0.2(zod@4.1.12)
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
|
||||||
eslint-plugin-react@7.37.5(eslint@9.37.0):
|
eslint-plugin-react@7.37.5(eslint@9.37.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -16092,6 +16096,12 @@ snapshots:
|
||||||
|
|
||||||
headers-polyfill@4.0.3: {}
|
headers-polyfill@4.0.3: {}
|
||||||
|
|
||||||
|
hermes-estree@0.25.1: {}
|
||||||
|
|
||||||
|
hermes-parser@0.25.1:
|
||||||
|
dependencies:
|
||||||
|
hermes-estree: 0.25.1
|
||||||
|
|
||||||
hex-rgba@1.0.2: {}
|
hex-rgba@1.0.2: {}
|
||||||
|
|
||||||
hoist-non-react-statics@3.3.2:
|
hoist-non-react-statics@3.3.2:
|
||||||
|
|
@ -19726,3 +19736,9 @@ snapshots:
|
||||||
yocto-queue@1.2.1: {}
|
yocto-queue@1.2.1: {}
|
||||||
|
|
||||||
yoctocolors-cjs@2.1.3: {}
|
yoctocolors-cjs@2.1.3: {}
|
||||||
|
|
||||||
|
zod-validation-error@4.0.2(zod@4.1.12):
|
||||||
|
dependencies:
|
||||||
|
zod: 4.1.12
|
||||||
|
|
||||||
|
zod@4.1.12: {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user