@eslint-react/eslint-plugin 1.52.7-next.1 → 1.52.7-next.2

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.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var reactDebug = require('eslint-plugin-react-debug');
4
6
  var reactDom = require('eslint-plugin-react-dom');
5
7
  var reactHooksExtra = require('eslint-plugin-react-hooks-extra');
@@ -25,7 +27,7 @@ var __export = (target, all) => {
25
27
 
26
28
  // package.json
27
29
  var name = "@eslint-react/eslint-plugin";
28
- var version = "1.52.7-next.1";
30
+ var version = "1.52.7-next.2";
29
31
 
30
32
  // src/configs/all.ts
31
33
  var all_exports = {};
@@ -421,11 +423,22 @@ function toLegacyConfig({ rules: rules14 }) {
421
423
  rules: rules14
422
424
  };
423
425
  }
424
- var index_default = {
426
+ var plugin = {
425
427
  meta: {
426
428
  name,
427
429
  version
428
430
  },
431
+ rules: {
432
+ ...react__default.default.rules,
433
+ ...padKeysLeft(reactDom__default.default.rules, "dom/"),
434
+ ...padKeysLeft(reactWebApi__default.default.rules, "web-api/"),
435
+ ...padKeysLeft(reactHooksExtra__default.default, "hooks-extra/"),
436
+ ...padKeysLeft(reactNamingConvention__default.default.rules, "naming-convention/"),
437
+ ...padKeysLeft(reactDebug__default.default.rules, "debug/")
438
+ }
439
+ };
440
+ var index_default = {
441
+ ...plugin,
429
442
  configs: {
430
443
  ["all"]: all_exports,
431
444
  ["all-legacy"]: toLegacyConfig(all_exports),
@@ -460,15 +473,8 @@ var index_default = {
460
473
  ["off-dom"]: disable_dom_exports,
461
474
  /** @deprecated Use `disable-dom-legacy` instead */
462
475
  ["off-dom-legacy"]: toLegacyConfig(disable_dom_exports)
463
- },
464
- rules: {
465
- ...react__default.default.rules,
466
- ...padKeysLeft(reactDom__default.default.rules, "dom/"),
467
- ...padKeysLeft(reactWebApi__default.default.rules, "web-api/"),
468
- ...padKeysLeft(reactHooksExtra__default.default.rules, "hooks-extra/"),
469
- ...padKeysLeft(reactNamingConvention__default.default.rules, "naming-convention/"),
470
- ...padKeysLeft(reactDebug__default.default.rules, "debug/")
471
476
  }
472
477
  };
473
478
 
474
- module.exports = index_default;
479
+ exports.default = index_default;
480
+ exports.plugin = plugin;
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ var __export = (target, all) => {
14
14
 
15
15
  // package.json
16
16
  var name = "@eslint-react/eslint-plugin";
17
- var version = "1.52.7-next.1";
17
+ var version = "1.52.7-next.2";
18
18
 
19
19
  // src/configs/all.ts
20
20
  var all_exports = {};
@@ -410,11 +410,22 @@ function toLegacyConfig({ rules: rules14 }) {
410
410
  rules: rules14
411
411
  };
412
412
  }
413
- var index_default = {
413
+ var plugin = {
414
414
  meta: {
415
415
  name,
416
416
  version
417
417
  },
418
+ rules: {
419
+ ...react.rules,
420
+ ...padKeysLeft(reactDom.rules, "dom/"),
421
+ ...padKeysLeft(reactWebApi.rules, "web-api/"),
422
+ ...padKeysLeft(reactHooksExtra, "hooks-extra/"),
423
+ ...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
424
+ ...padKeysLeft(reactDebug.rules, "debug/")
425
+ }
426
+ };
427
+ var index_default = {
428
+ ...plugin,
418
429
  configs: {
419
430
  ["all"]: all_exports,
420
431
  ["all-legacy"]: toLegacyConfig(all_exports),
@@ -449,15 +460,7 @@ var index_default = {
449
460
  ["off-dom"]: disable_dom_exports,
450
461
  /** @deprecated Use `disable-dom-legacy` instead */
451
462
  ["off-dom-legacy"]: toLegacyConfig(disable_dom_exports)
452
- },
453
- rules: {
454
- ...react.rules,
455
- ...padKeysLeft(reactDom.rules, "dom/"),
456
- ...padKeysLeft(reactWebApi.rules, "web-api/"),
457
- ...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
458
- ...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
459
- ...padKeysLeft(reactDebug.rules, "debug/")
460
463
  }
461
464
  };
462
465
 
463
- export { index_default as default };
466
+ export { index_default as default, plugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "1.52.7-next.1",
3
+ "version": "1.52.7-next.2",
4
4
  "description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
5
5
  "keywords": [
6
6
  "react",
@@ -46,19 +46,19 @@
46
46
  "./package.json"
47
47
  ],
48
48
  "dependencies": {
49
- "@typescript-eslint/scope-manager": "^8.40.0",
50
- "@typescript-eslint/type-utils": "^8.40.0",
51
- "@typescript-eslint/types": "^8.40.0",
52
- "@typescript-eslint/utils": "^8.40.0",
53
- "@eslint-react/eff": "1.52.7-next.1",
54
- "@eslint-react/kit": "1.52.7-next.1",
55
- "@eslint-react/shared": "1.52.7-next.1",
56
- "eslint-plugin-react-dom": "1.52.7-next.1",
57
- "eslint-plugin-react-hooks-extra": "1.52.7-next.1",
58
- "eslint-plugin-react-web-api": "1.52.7-next.1",
59
- "eslint-plugin-react-naming-convention": "1.52.7-next.1",
60
- "eslint-plugin-react-debug": "1.52.7-next.1",
61
- "eslint-plugin-react-x": "1.52.7-next.1"
49
+ "@typescript-eslint/scope-manager": "^8.41.0",
50
+ "@typescript-eslint/type-utils": "^8.41.0",
51
+ "@typescript-eslint/types": "^8.41.0",
52
+ "@typescript-eslint/utils": "^8.41.0",
53
+ "@eslint-react/eff": "1.52.7-next.2",
54
+ "@eslint-react/kit": "1.52.7-next.2",
55
+ "eslint-plugin-react-debug": "1.52.7-next.2",
56
+ "eslint-plugin-react-dom": "1.52.7-next.2",
57
+ "@eslint-react/shared": "1.52.7-next.2",
58
+ "eslint-plugin-react-naming-convention": "1.52.7-next.2",
59
+ "eslint-plugin-react-x": "1.52.7-next.2",
60
+ "eslint-plugin-react-web-api": "1.52.7-next.2",
61
+ "eslint-plugin-react-hooks-extra": "1.52.7-next.2"
62
62
  },
63
63
  "devDependencies": {
64
64
  "tsup": "^8.5.0",
@@ -83,7 +83,7 @@
83
83
  "access": "public"
84
84
  },
85
85
  "scripts": {
86
- "build": "tsup --dts-resolve",
86
+ "build": "tsup",
87
87
  "lint:publish": "pnpm publint",
88
88
  "lint:ts": "tsc --noEmit"
89
89
  }