eslint-plugin-react-debug 1.52.9 → 1.52.10-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,25 +1,23 @@
1
- import * as _eslint_react_shared from '@eslint-react/shared';
2
- import { RulePreset } from '@eslint-react/kit';
1
+ import * as _eslint_react_kit from '@eslint-react/kit';
3
2
 
4
3
  declare const _default: {
5
4
  configs: {
6
5
  all: {
7
- plugins: {
8
- "react-debug": _eslint_react_shared.CompatiblePlugin;
9
- };
6
+ plugins: {};
10
7
  name?: string;
11
- rules?: Record<string, any>;
8
+ rules?: Record<string, _eslint_react_kit.RuleConfig>;
9
+ settings?: _eslint_react_kit.SettingsConfig;
12
10
  };
13
11
  "all-legacy": {
14
12
  plugins: string[];
15
- rules: RulePreset;
13
+ rules: Record<string, _eslint_react_kit.RuleConfig<unknown[]>> | undefined;
16
14
  };
17
15
  };
18
16
  meta: {
19
17
  name: string;
20
18
  version: string;
21
19
  };
22
- rules: Record<string, any>;
20
+ rules: Record<string, _eslint_react_kit.CompatibleRule>;
23
21
  };
24
22
 
25
23
  export { _default as default };
package/dist/index.d.ts CHANGED
@@ -1,25 +1,23 @@
1
- import * as _eslint_react_shared from '@eslint-react/shared';
2
- import { RulePreset } from '@eslint-react/kit';
1
+ import * as _eslint_react_kit from '@eslint-react/kit';
3
2
 
4
3
  declare const _default: {
5
4
  configs: {
6
5
  all: {
7
- plugins: {
8
- "react-debug": _eslint_react_shared.CompatiblePlugin;
9
- };
6
+ plugins: {};
10
7
  name?: string;
11
- rules?: Record<string, any>;
8
+ rules?: Record<string, _eslint_react_kit.RuleConfig>;
9
+ settings?: _eslint_react_kit.SettingsConfig;
12
10
  };
13
11
  "all-legacy": {
14
12
  plugins: string[];
15
- rules: RulePreset;
13
+ rules: Record<string, _eslint_react_kit.RuleConfig<unknown[]>> | undefined;
16
14
  };
17
15
  };
18
16
  meta: {
19
17
  name: string;
20
18
  version: string;
21
19
  };
22
- rules: Record<string, any>;
20
+ rules: Record<string, _eslint_react_kit.CompatibleRule>;
23
21
  };
24
22
 
25
23
  export { _default as default };
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ var settings = {
55
55
 
56
56
  // package.json
57
57
  var name2 = "eslint-plugin-react-debug";
58
- var version = "1.52.9";
58
+ var version = "1.52.10-beta.0";
59
59
  var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("debug"));
60
60
 
61
61
  // src/utils/stringify.ts
@@ -319,20 +319,7 @@ var plugin = {
319
319
  };
320
320
 
321
321
  // src/index.ts
322
- function toFlatConfig(config) {
323
- return {
324
- ...config,
325
- plugins: {
326
- "react-debug": plugin
327
- }
328
- };
329
- }
330
- function toLegacyConfig({ rules: rules2 }) {
331
- return {
332
- plugins: ["react-debug"],
333
- rules: rules2
334
- };
335
- }
322
+ var { toFlatConfig, toLegacyConfig } = shared.getConfigAdapters("react-debug", plugin);
336
323
  var index_default = {
337
324
  ...plugin,
338
325
  configs: {
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { getDocsUrl, getSettingsFromContext, DEFAULT_ESLINT_REACT_SETTINGS } from '@eslint-react/shared';
1
+ import { getDocsUrl, getSettingsFromContext, getConfigAdapters, DEFAULT_ESLINT_REACT_SETTINGS } from '@eslint-react/shared';
2
2
  import * as ER2 from '@eslint-react/core';
3
3
  import { ESLintUtils, AST_NODE_TYPES } from '@typescript-eslint/utils';
4
4
  import { flow } from '@eslint-react/eff';
@@ -33,7 +33,7 @@ var settings = {
33
33
 
34
34
  // package.json
35
35
  var name2 = "eslint-plugin-react-debug";
36
- var version = "1.52.9";
36
+ var version = "1.52.10-beta.0";
37
37
  var createRule = ESLintUtils.RuleCreator(getDocsUrl("debug"));
38
38
 
39
39
  // src/utils/stringify.ts
@@ -297,20 +297,7 @@ var plugin = {
297
297
  };
298
298
 
299
299
  // src/index.ts
300
- function toFlatConfig(config) {
301
- return {
302
- ...config,
303
- plugins: {
304
- "react-debug": plugin
305
- }
306
- };
307
- }
308
- function toLegacyConfig({ rules: rules2 }) {
309
- return {
310
- plugins: ["react-debug"],
311
- rules: rules2
312
- };
313
- }
300
+ var { toFlatConfig, toLegacyConfig } = getConfigAdapters("react-debug", plugin);
314
301
  var index_default = {
315
302
  ...plugin,
316
303
  configs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-debug",
3
- "version": "1.52.9",
3
+ "version": "1.52.10-beta.0",
4
4
  "description": "ESLint React's ESLint plugin for debugging related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -49,12 +49,12 @@
49
49
  "@typescript-eslint/utils": "^8.41.0",
50
50
  "string-ts": "^2.2.1",
51
51
  "ts-pattern": "^5.8.0",
52
- "@eslint-react/ast": "1.52.9",
53
- "@eslint-react/kit": "1.52.9",
54
- "@eslint-react/eff": "1.52.9",
55
- "@eslint-react/core": "1.52.9",
56
- "@eslint-react/var": "1.52.9",
57
- "@eslint-react/shared": "1.52.9"
52
+ "@eslint-react/ast": "1.52.10-beta.0",
53
+ "@eslint-react/core": "1.52.10-beta.0",
54
+ "@eslint-react/eff": "1.52.10-beta.0",
55
+ "@eslint-react/kit": "1.52.10-beta.0",
56
+ "@eslint-react/var": "1.52.10-beta.0",
57
+ "@eslint-react/shared": "1.52.10-beta.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/react": "^19.1.12",