@eslint-react/eslint-plugin 1.17.0-next.2 → 1.17.0-next.3

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
@@ -1344,59 +1344,46 @@ declare const _default: {
1344
1344
  readonly recommended: typeof recommendedConfig;
1345
1345
  readonly "recommended-type-checked": typeof recommendedTypeCheckedConfig;
1346
1346
  readonly "recommended-typescript": typeof recommendedTypeScriptConfig;
1347
- readonly "all-legacy": typeof allConfig & {
1348
- name: string;
1347
+ readonly "all-legacy": Omit<typeof allConfig, "name"> & {
1349
1348
  plugins: string[];
1350
1349
  };
1351
- readonly "core-legacy": typeof coreConfig & {
1352
- name: string;
1350
+ readonly "core-legacy": Omit<typeof coreConfig, "name"> & {
1353
1351
  plugins: string[];
1354
1352
  };
1355
- readonly "debug-legacy": typeof debugConfig & {
1356
- name: string;
1353
+ readonly "debug-legacy": Omit<typeof debugConfig, "name"> & {
1357
1354
  plugins: string[];
1358
1355
  };
1359
- readonly "disable-debug-legacy": typeof disableDebugConfig & {
1360
- name: string;
1356
+ readonly "disable-debug-legacy": Omit<typeof disableDebugConfig, "name"> & {
1361
1357
  plugins: string[];
1362
1358
  };
1363
- readonly "disable-dom-legacy": typeof disableDomConfig & {
1364
- name: string;
1359
+ readonly "disable-dom-legacy": Omit<typeof disableDomConfig, "name"> & {
1365
1360
  plugins: string[];
1366
1361
  };
1367
- readonly "disable-type-checked-legacy": typeof disableTypeCheckedConfig & {
1368
- name: string;
1362
+ readonly "disable-type-checked-legacy": Omit<typeof disableTypeCheckedConfig, "name"> & {
1369
1363
  plugins: string[];
1370
1364
  };
1371
- readonly "disable-web-api-legacy": typeof disableWebApiConfig & {
1372
- name: string;
1365
+ readonly "disable-web-api-legacy": Omit<typeof disableWebApiConfig, "name"> & {
1373
1366
  plugins: string[];
1374
1367
  };
1375
- readonly "dom-legacy": typeof domConfig & {
1376
- name: string;
1368
+ readonly "dom-legacy": Omit<typeof domConfig, "name"> & {
1377
1369
  plugins: string[];
1378
1370
  };
1379
- readonly "off-legacy": typeof offConfig & {
1380
- name: string;
1371
+ readonly "off-legacy": Omit<typeof offConfig, "name"> & {
1381
1372
  plugins: string[];
1382
1373
  };
1383
- readonly "recommended-legacy": typeof recommendedConfig & {
1384
- name: string;
1374
+ readonly "recommended-legacy": Omit<typeof recommendedConfig, "name"> & {
1385
1375
  plugins: string[];
1386
1376
  };
1387
- readonly "recommended-type-checked-legacy": typeof recommendedTypeCheckedConfig & {
1388
- name: string;
1377
+ readonly "recommended-type-checked-legacy": Omit<typeof recommendedTypeCheckedConfig, "name"> & {
1389
1378
  plugins: string[];
1390
1379
  };
1391
- readonly "recommended-typescript-legacy": typeof recommendedTypeScriptConfig & {
1392
- name: string;
1380
+ readonly "recommended-typescript-legacy": Omit<typeof recommendedTypeScriptConfig, "name"> & {
1393
1381
  plugins: string[];
1394
1382
  };
1395
1383
  /** @deprecated Use `disable-dom` instead */
1396
1384
  readonly "off-dom": typeof disableDomConfig;
1397
1385
  /** @deprecated Use `disable-dom-legacy` instead */
1398
- readonly "off-dom-legacy": typeof disableDomConfig & {
1399
- name: string;
1386
+ readonly "off-dom-legacy": Omit<typeof disableDomConfig, "name"> & {
1400
1387
  plugins: string[];
1401
1388
  };
1402
1389
  };
package/dist/index.d.ts CHANGED
@@ -1344,59 +1344,46 @@ declare const _default: {
1344
1344
  readonly recommended: typeof recommendedConfig;
1345
1345
  readonly "recommended-type-checked": typeof recommendedTypeCheckedConfig;
1346
1346
  readonly "recommended-typescript": typeof recommendedTypeScriptConfig;
1347
- readonly "all-legacy": typeof allConfig & {
1348
- name: string;
1347
+ readonly "all-legacy": Omit<typeof allConfig, "name"> & {
1349
1348
  plugins: string[];
1350
1349
  };
1351
- readonly "core-legacy": typeof coreConfig & {
1352
- name: string;
1350
+ readonly "core-legacy": Omit<typeof coreConfig, "name"> & {
1353
1351
  plugins: string[];
1354
1352
  };
1355
- readonly "debug-legacy": typeof debugConfig & {
1356
- name: string;
1353
+ readonly "debug-legacy": Omit<typeof debugConfig, "name"> & {
1357
1354
  plugins: string[];
1358
1355
  };
1359
- readonly "disable-debug-legacy": typeof disableDebugConfig & {
1360
- name: string;
1356
+ readonly "disable-debug-legacy": Omit<typeof disableDebugConfig, "name"> & {
1361
1357
  plugins: string[];
1362
1358
  };
1363
- readonly "disable-dom-legacy": typeof disableDomConfig & {
1364
- name: string;
1359
+ readonly "disable-dom-legacy": Omit<typeof disableDomConfig, "name"> & {
1365
1360
  plugins: string[];
1366
1361
  };
1367
- readonly "disable-type-checked-legacy": typeof disableTypeCheckedConfig & {
1368
- name: string;
1362
+ readonly "disable-type-checked-legacy": Omit<typeof disableTypeCheckedConfig, "name"> & {
1369
1363
  plugins: string[];
1370
1364
  };
1371
- readonly "disable-web-api-legacy": typeof disableWebApiConfig & {
1372
- name: string;
1365
+ readonly "disable-web-api-legacy": Omit<typeof disableWebApiConfig, "name"> & {
1373
1366
  plugins: string[];
1374
1367
  };
1375
- readonly "dom-legacy": typeof domConfig & {
1376
- name: string;
1368
+ readonly "dom-legacy": Omit<typeof domConfig, "name"> & {
1377
1369
  plugins: string[];
1378
1370
  };
1379
- readonly "off-legacy": typeof offConfig & {
1380
- name: string;
1371
+ readonly "off-legacy": Omit<typeof offConfig, "name"> & {
1381
1372
  plugins: string[];
1382
1373
  };
1383
- readonly "recommended-legacy": typeof recommendedConfig & {
1384
- name: string;
1374
+ readonly "recommended-legacy": Omit<typeof recommendedConfig, "name"> & {
1385
1375
  plugins: string[];
1386
1376
  };
1387
- readonly "recommended-type-checked-legacy": typeof recommendedTypeCheckedConfig & {
1388
- name: string;
1377
+ readonly "recommended-type-checked-legacy": Omit<typeof recommendedTypeCheckedConfig, "name"> & {
1389
1378
  plugins: string[];
1390
1379
  };
1391
- readonly "recommended-typescript-legacy": typeof recommendedTypeScriptConfig & {
1392
- name: string;
1380
+ readonly "recommended-typescript-legacy": Omit<typeof recommendedTypeScriptConfig, "name"> & {
1393
1381
  plugins: string[];
1394
1382
  };
1395
1383
  /** @deprecated Use `disable-dom` instead */
1396
1384
  readonly "off-dom": typeof disableDomConfig;
1397
1385
  /** @deprecated Use `disable-dom-legacy` instead */
1398
- readonly "off-dom-legacy": typeof disableDomConfig & {
1399
- name: string;
1386
+ readonly "off-dom-legacy": Omit<typeof disableDomConfig, "name"> & {
1400
1387
  plugins: string[];
1401
1388
  };
1402
1389
  };
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ var __export = (target, all) => {
25
25
 
26
26
  // package.json
27
27
  var name = "@eslint-react/eslint-plugin";
28
- var version = "1.17.0-next.2";
28
+ var version = "1.17.0-next.3";
29
29
 
30
30
  // src/configs/all.ts
31
31
  var all_exports = {};
@@ -377,9 +377,9 @@ function padKeysLeft(obj, left) {
377
377
 
378
378
  // src/index.ts
379
379
  function makeLegacyConfig(config) {
380
+ const { name: _, ...rest } = config;
380
381
  return {
381
- ...config,
382
- name: `${config.name}-legacy`,
382
+ ...rest,
383
383
  plugins: ["@eslint-react"]
384
384
  };
385
385
  }
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.17.0-next.2";
17
+ var version = "1.17.0-next.3";
18
18
 
19
19
  // src/configs/all.ts
20
20
  var all_exports = {};
@@ -366,9 +366,9 @@ function padKeysLeft(obj, left) {
366
366
 
367
367
  // src/index.ts
368
368
  function makeLegacyConfig(config) {
369
+ const { name: _, ...rest } = config;
369
370
  return {
370
- ...config,
371
- name: `${config.name}-legacy`,
371
+ ...rest,
372
372
  plugins: ["@eslint-react"]
373
373
  };
374
374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "1.17.0-next.2",
3
+ "version": "1.17.0-next.3",
4
4
  "description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -47,15 +47,15 @@
47
47
  "@typescript-eslint/type-utils": "^8.15.0",
48
48
  "@typescript-eslint/types": "^8.15.0",
49
49
  "@typescript-eslint/utils": "^8.15.0",
50
- "@eslint-react/shared": "1.17.0-next.2",
51
- "@eslint-react/tools": "1.17.0-next.2",
52
- "@eslint-react/types": "1.17.0-next.2",
53
- "eslint-plugin-react-debug": "1.17.0-next.2",
54
- "eslint-plugin-react-hooks-extra": "1.17.0-next.2",
55
- "eslint-plugin-react-dom": "1.17.0-next.2",
56
- "eslint-plugin-react-naming-convention": "1.17.0-next.2",
57
- "eslint-plugin-react-web-api": "1.17.0-next.2",
58
- "eslint-plugin-react-x": "1.17.0-next.2"
50
+ "@eslint-react/shared": "1.17.0-next.3",
51
+ "@eslint-react/tools": "1.17.0-next.3",
52
+ "@eslint-react/types": "1.17.0-next.3",
53
+ "eslint-plugin-react-debug": "1.17.0-next.3",
54
+ "eslint-plugin-react-dom": "1.17.0-next.3",
55
+ "eslint-plugin-react-hooks-extra": "1.17.0-next.3",
56
+ "eslint-plugin-react-web-api": "1.17.0-next.3",
57
+ "eslint-plugin-react-naming-convention": "1.17.0-next.3",
58
+ "eslint-plugin-react-x": "1.17.0-next.3"
59
59
  },
60
60
  "devDependencies": {
61
61
  "tsup": "^8.3.5"