@alextheman/eslint-plugin 5.14.0 → 5.15.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.cjs CHANGED
@@ -46,8 +46,8 @@ let eslint_plugin_prettier = require("eslint-plugin-prettier");
46
46
  eslint_plugin_prettier = __toESM(eslint_plugin_prettier, 1);
47
47
  let typescript_eslint = require("typescript-eslint");
48
48
  typescript_eslint = __toESM(typescript_eslint, 1);
49
- let eslint_plugin_jsx_a11y = require("eslint-plugin-jsx-a11y");
50
- eslint_plugin_jsx_a11y = __toESM(eslint_plugin_jsx_a11y, 1);
49
+ let eslint_plugin_jsx_a11y_x = require("eslint-plugin-jsx-a11y-x");
50
+ eslint_plugin_jsx_a11y_x = __toESM(eslint_plugin_jsx_a11y_x, 1);
51
51
  let eslint_plugin_react = require("eslint-plugin-react");
52
52
  eslint_plugin_react = __toESM(eslint_plugin_react, 1);
53
53
  let eslint_plugin_react_refresh = require("eslint-plugin-react-refresh");
@@ -59,7 +59,7 @@ eslint_plugin_package_json = __toESM(eslint_plugin_package_json, 1);
59
59
  let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
60
60
  eslint_plugin_jsdoc = __toESM(eslint_plugin_jsdoc, 1);
61
61
  let _alextheman_utility_node = require("@alextheman/utility/node");
62
- //#region node_modules/.pnpm/globals@17.5.0/node_modules/globals/globals.json
62
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
63
63
  var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
64
64
  module.exports = {
65
65
  "amd": {
@@ -1272,9 +1272,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1272
1272
  "XRAnchorSet": false,
1273
1273
  "XRBoundedReferenceSpace": false,
1274
1274
  "XRCamera": false,
1275
+ "XRCompositionLayer": false,
1275
1276
  "XRCPUDepthInformation": false,
1277
+ "XRCubeLayer": false,
1278
+ "XRCylinderLayer": false,
1276
1279
  "XRDepthInformation": false,
1277
1280
  "XRDOMOverlayState": false,
1281
+ "XREquirectLayer": false,
1278
1282
  "XRFrame": false,
1279
1283
  "XRHand": false,
1280
1284
  "XRHitTestResult": false,
@@ -1286,9 +1290,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1286
1290
  "XRJointPose": false,
1287
1291
  "XRJointSpace": false,
1288
1292
  "XRLayer": false,
1293
+ "XRLayerEvent": false,
1289
1294
  "XRLightEstimate": false,
1290
1295
  "XRLightProbe": false,
1296
+ "XRPlane": false,
1297
+ "XRPlaneSet": false,
1291
1298
  "XRPose": false,
1299
+ "XRProjectionLayer": false,
1300
+ "XRQuadLayer": false,
1292
1301
  "XRRay": false,
1293
1302
  "XRReferenceSpace": false,
1294
1303
  "XRReferenceSpaceEvent": false,
@@ -1297,6 +1306,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1297
1306
  "XRSession": false,
1298
1307
  "XRSessionEvent": false,
1299
1308
  "XRSpace": false,
1309
+ "XRSubImage": false,
1300
1310
  "XRSystem": false,
1301
1311
  "XRTransientInputHitTestResult": false,
1302
1312
  "XRTransientInputHitTestSource": false,
@@ -1307,6 +1317,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1307
1317
  "XRWebGLBinding": false,
1308
1318
  "XRWebGLDepthInformation": false,
1309
1319
  "XRWebGLLayer": false,
1320
+ "XRWebGLSubImage": false,
1310
1321
  "XSLTProcessor": false
1311
1322
  },
1312
1323
  "builtin": {
@@ -4154,7 +4165,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4154
4165
  };
4155
4166
  }));
4156
4167
  //#endregion
4157
- //#region node_modules/.pnpm/globals@17.5.0/node_modules/globals/index.js
4168
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/index.js
4158
4169
  var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4159
4170
  module.exports = require_globals$1();
4160
4171
  }));
@@ -4688,7 +4699,7 @@ const reactHooks = {
4688
4699
  const generalReact = [
4689
4700
  eslint_plugin_react.default.configs.flat.recommended,
4690
4701
  eslint_plugin_react.default.configs.flat["jsx-runtime"],
4691
- eslint_plugin_jsx_a11y.default.flatConfigs.recommended,
4702
+ eslint_plugin_jsx_a11y_x.default.configs.recommended,
4692
4703
  {
4693
4704
  languageOptions: reactLanguageOptions,
4694
4705
  name: "@alextheman/general/react",
@@ -5509,7 +5520,7 @@ function parseUseObjectShorthandOptions(data) {
5509
5520
  const alexPlugin = {
5510
5521
  meta: {
5511
5522
  name: "@alextheman/eslint-plugin",
5512
- version: "5.14.0",
5523
+ version: "5.15.0",
5513
5524
  namespace: "alextheman"
5514
5525
  },
5515
5526
  configs: {},
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import nodePlugin from "eslint-plugin-n";
10
10
  import perfectionist from "eslint-plugin-perfectionist";
11
11
  import prettierPlugin from "eslint-plugin-prettier";
12
12
  import tseslint from "typescript-eslint";
13
- import jsxA11y from "eslint-plugin-jsx-a11y";
13
+ import jsxA11y from "eslint-plugin-jsx-a11y-x";
14
14
  import reactPlugin from "eslint-plugin-react";
15
15
  import reactRefresh from "eslint-plugin-react-refresh";
16
16
  import reactHooksPlugin from "eslint-plugin-react-hooks";
@@ -40,7 +40,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
40
40
  enumerable: true
41
41
  }) : target, mod));
42
42
  //#endregion
43
- //#region node_modules/.pnpm/globals@17.5.0/node_modules/globals/globals.json
43
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
44
44
  var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
45
45
  module.exports = {
46
46
  "amd": {
@@ -1253,9 +1253,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1253
1253
  "XRAnchorSet": false,
1254
1254
  "XRBoundedReferenceSpace": false,
1255
1255
  "XRCamera": false,
1256
+ "XRCompositionLayer": false,
1256
1257
  "XRCPUDepthInformation": false,
1258
+ "XRCubeLayer": false,
1259
+ "XRCylinderLayer": false,
1257
1260
  "XRDepthInformation": false,
1258
1261
  "XRDOMOverlayState": false,
1262
+ "XREquirectLayer": false,
1259
1263
  "XRFrame": false,
1260
1264
  "XRHand": false,
1261
1265
  "XRHitTestResult": false,
@@ -1267,9 +1271,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1267
1271
  "XRJointPose": false,
1268
1272
  "XRJointSpace": false,
1269
1273
  "XRLayer": false,
1274
+ "XRLayerEvent": false,
1270
1275
  "XRLightEstimate": false,
1271
1276
  "XRLightProbe": false,
1277
+ "XRPlane": false,
1278
+ "XRPlaneSet": false,
1272
1279
  "XRPose": false,
1280
+ "XRProjectionLayer": false,
1281
+ "XRQuadLayer": false,
1273
1282
  "XRRay": false,
1274
1283
  "XRReferenceSpace": false,
1275
1284
  "XRReferenceSpaceEvent": false,
@@ -1278,6 +1287,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1278
1287
  "XRSession": false,
1279
1288
  "XRSessionEvent": false,
1280
1289
  "XRSpace": false,
1290
+ "XRSubImage": false,
1281
1291
  "XRSystem": false,
1282
1292
  "XRTransientInputHitTestResult": false,
1283
1293
  "XRTransientInputHitTestSource": false,
@@ -1288,6 +1298,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1288
1298
  "XRWebGLBinding": false,
1289
1299
  "XRWebGLDepthInformation": false,
1290
1300
  "XRWebGLLayer": false,
1301
+ "XRWebGLSubImage": false,
1291
1302
  "XSLTProcessor": false
1292
1303
  },
1293
1304
  "builtin": {
@@ -4135,7 +4146,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4135
4146
  };
4136
4147
  }));
4137
4148
  //#endregion
4138
- //#region node_modules/.pnpm/globals@17.5.0/node_modules/globals/index.js
4149
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/index.js
4139
4150
  var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4140
4151
  module.exports = require_globals$1();
4141
4152
  }));
@@ -4669,7 +4680,7 @@ const reactHooks = {
4669
4680
  const generalReact = [
4670
4681
  reactPlugin.configs.flat.recommended,
4671
4682
  reactPlugin.configs.flat["jsx-runtime"],
4672
- jsxA11y.flatConfigs.recommended,
4683
+ jsxA11y.configs.recommended,
4673
4684
  {
4674
4685
  languageOptions: reactLanguageOptions,
4675
4686
  name: "@alextheman/general/react",
@@ -5490,7 +5501,7 @@ function parseUseObjectShorthandOptions(data) {
5490
5501
  const alexPlugin = {
5491
5502
  meta: {
5492
5503
  name: "@alextheman/eslint-plugin",
5493
- version: "5.14.0",
5504
+ version: "5.15.0",
5494
5505
  namespace: "alextheman"
5495
5506
  },
5496
5507
  configs: {},
@@ -25,7 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  let typescript_eslint = require("typescript-eslint");
26
26
  typescript_eslint = __toESM(typescript_eslint, 1);
27
27
  let _alextheman_utility = require("@alextheman/utility");
28
- //#region node_modules/.pnpm/globals@17.5.0/node_modules/globals/globals.json
28
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
29
29
  var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30
30
  module.exports = {
31
31
  "amd": {
@@ -1238,9 +1238,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1238
1238
  "XRAnchorSet": false,
1239
1239
  "XRBoundedReferenceSpace": false,
1240
1240
  "XRCamera": false,
1241
+ "XRCompositionLayer": false,
1241
1242
  "XRCPUDepthInformation": false,
1243
+ "XRCubeLayer": false,
1244
+ "XRCylinderLayer": false,
1242
1245
  "XRDepthInformation": false,
1243
1246
  "XRDOMOverlayState": false,
1247
+ "XREquirectLayer": false,
1244
1248
  "XRFrame": false,
1245
1249
  "XRHand": false,
1246
1250
  "XRHitTestResult": false,
@@ -1252,9 +1256,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1252
1256
  "XRJointPose": false,
1253
1257
  "XRJointSpace": false,
1254
1258
  "XRLayer": false,
1259
+ "XRLayerEvent": false,
1255
1260
  "XRLightEstimate": false,
1256
1261
  "XRLightProbe": false,
1262
+ "XRPlane": false,
1263
+ "XRPlaneSet": false,
1257
1264
  "XRPose": false,
1265
+ "XRProjectionLayer": false,
1266
+ "XRQuadLayer": false,
1258
1267
  "XRRay": false,
1259
1268
  "XRReferenceSpace": false,
1260
1269
  "XRReferenceSpaceEvent": false,
@@ -1263,6 +1272,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1263
1272
  "XRSession": false,
1264
1273
  "XRSessionEvent": false,
1265
1274
  "XRSpace": false,
1275
+ "XRSubImage": false,
1266
1276
  "XRSystem": false,
1267
1277
  "XRTransientInputHitTestResult": false,
1268
1278
  "XRTransientInputHitTestSource": false,
@@ -1273,6 +1283,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1273
1283
  "XRWebGLBinding": false,
1274
1284
  "XRWebGLDepthInformation": false,
1275
1285
  "XRWebGLLayer": false,
1286
+ "XRWebGLSubImage": false,
1276
1287
  "XSLTProcessor": false
1277
1288
  },
1278
1289
  "builtin": {
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  enumerable: true
24
24
  }) : target, mod));
25
25
  //#endregion
26
- //#region node_modules/.pnpm/globals@17.5.0/node_modules/globals/globals.json
26
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
27
27
  var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28
28
  module.exports = {
29
29
  "amd": {
@@ -1236,9 +1236,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1236
1236
  "XRAnchorSet": false,
1237
1237
  "XRBoundedReferenceSpace": false,
1238
1238
  "XRCamera": false,
1239
+ "XRCompositionLayer": false,
1239
1240
  "XRCPUDepthInformation": false,
1241
+ "XRCubeLayer": false,
1242
+ "XRCylinderLayer": false,
1240
1243
  "XRDepthInformation": false,
1241
1244
  "XRDOMOverlayState": false,
1245
+ "XREquirectLayer": false,
1242
1246
  "XRFrame": false,
1243
1247
  "XRHand": false,
1244
1248
  "XRHitTestResult": false,
@@ -1250,9 +1254,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1250
1254
  "XRJointPose": false,
1251
1255
  "XRJointSpace": false,
1252
1256
  "XRLayer": false,
1257
+ "XRLayerEvent": false,
1253
1258
  "XRLightEstimate": false,
1254
1259
  "XRLightProbe": false,
1260
+ "XRPlane": false,
1261
+ "XRPlaneSet": false,
1255
1262
  "XRPose": false,
1263
+ "XRProjectionLayer": false,
1264
+ "XRQuadLayer": false,
1256
1265
  "XRRay": false,
1257
1266
  "XRReferenceSpace": false,
1258
1267
  "XRReferenceSpaceEvent": false,
@@ -1261,6 +1270,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1261
1270
  "XRSession": false,
1262
1271
  "XRSessionEvent": false,
1263
1272
  "XRSpace": false,
1273
+ "XRSubImage": false,
1264
1274
  "XRSystem": false,
1265
1275
  "XRTransientInputHitTestResult": false,
1266
1276
  "XRTransientInputHitTestSource": false,
@@ -1271,6 +1281,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1271
1281
  "XRWebGLBinding": false,
1272
1282
  "XRWebGLDepthInformation": false,
1273
1283
  "XRWebGLLayer": false,
1284
+ "XRWebGLSubImage": false,
1274
1285
  "XSLTProcessor": false
1275
1286
  },
1276
1287
  "builtin": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "5.14.0",
3
+ "version": "5.15.0",
4
4
  "description": "A package to provide custom ESLint rules and configs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,33 +33,35 @@
33
33
  "files": [
34
34
  "dist"
35
35
  ],
36
+ "engines": {
37
+ "node": ">=22.3.0"
38
+ },
36
39
  "dependencies": {
37
- "@alextheman/utility": "5.14.0",
38
- "@eslint/compat": "2.0.5",
39
- "@typescript-eslint/types": "8.59.0",
40
- "@typescript-eslint/utils": "8.59.0",
40
+ "@alextheman/utility": "5.18.2",
41
+ "@eslint/compat": "2.1.0",
42
+ "@typescript-eslint/types": "8.59.3",
43
+ "@typescript-eslint/utils": "8.59.3",
41
44
  "common-tags": "1.8.2",
42
45
  "prettier": "3.8.3",
43
- "zod": "4.3.6"
46
+ "zod": "4.4.3"
44
47
  },
45
48
  "devDependencies": {
46
49
  "@eslint/js": "10.0.1",
47
50
  "@types/common-tags": "1.8.4",
48
51
  "@types/eslint": "9.6.1",
49
52
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
50
- "@types/node": "25.6.0",
51
- "@typescript-eslint/rule-tester": "8.59.0",
53
+ "@types/node": "25.8.0",
54
+ "@typescript-eslint/rule-tester": "8.59.3",
52
55
  "alex-c-line": "2.7.2",
53
56
  "dotenv-cli": "11.0.0",
54
- "eslint": "10.2.1",
57
+ "eslint": "10.3.0",
55
58
  "eslint-config-prettier": "10.1.8",
56
59
  "eslint-import-resolver-typescript": "4.4.4",
57
60
  "eslint-plugin-import-x": "4.16.2",
58
61
  "eslint-plugin-jsdoc": "62.9.0",
59
- "eslint-plugin-jsx-a11y": "6.10.2",
60
- "eslint-plugin-markdownlint": "0.9.0",
61
- "eslint-plugin-n": "17.24.0",
62
- "eslint-plugin-package-json": "0.91.1",
62
+ "eslint-plugin-jsx-a11y-x": "0.2.0",
63
+ "eslint-plugin-n": "18.0.1",
64
+ "eslint-plugin-package-json": "0.91.2",
63
65
  "eslint-plugin-perfectionist": "5.9.0",
64
66
  "eslint-plugin-prettier": "5.5.5",
65
67
  "eslint-plugin-react": "7.37.5",
@@ -67,27 +69,26 @@
67
69
  "eslint-plugin-react-refresh": "0.5.2",
68
70
  "eslint-vitest-rule-tester": "3.1.0",
69
71
  "execa": "9.6.1",
70
- "globals": "17.5.0",
72
+ "globals": "17.6.0",
71
73
  "husky": "9.1.7",
72
- "jsdom": "29.0.2",
74
+ "jsdom": "29.1.1",
73
75
  "markdownlint-cli2": "0.22.1",
74
76
  "tempy": "3.2.0",
75
- "tsdown": "0.21.10",
76
- "tsx": "4.21.0",
77
+ "tsdown": "0.22.0",
78
+ "tsx": "4.22.0",
77
79
  "typescript": "6.0.3",
78
- "typescript-eslint": "8.59.0",
79
- "vite": "8.0.10",
80
- "vitest": "4.1.5"
80
+ "typescript-eslint": "8.59.3",
81
+ "vite": "8.0.13",
82
+ "vitest": "4.1.6"
81
83
  },
82
84
  "peerDependencies": {
83
85
  "@eslint/js": ">=9.0.0",
84
86
  "eslint": ">=9.0.0",
85
87
  "eslint-config-prettier": ">=10.0.0",
86
- "eslint-import-resolver-typescript": "4.4.4",
88
+ "eslint-import-resolver-typescript": ">=4.4.4",
87
89
  "eslint-plugin-import-x": ">=4.16.2",
88
90
  "eslint-plugin-jsdoc": ">=61.5.0",
89
- "eslint-plugin-jsx-a11y": ">=6.0.0",
90
- "eslint-plugin-markdownlint": "0.9.0",
91
+ "eslint-plugin-jsx-a11y-x": ">=0.2.0",
91
92
  "eslint-plugin-n": ">=17.23.1",
92
93
  "eslint-plugin-package-json": ">=0.85.0",
93
94
  "eslint-plugin-perfectionist": ">=5.0.0",
@@ -108,7 +109,7 @@
108
109
  "format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript && pnpm run format-prettier-yml",
109
110
  "format-prettier-javascript": "prettier --write \"./**/*.js\"",
110
111
  "format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
111
- "format-prettier-yml": "prettier --write \"./**/*.yml\"",
112
+ "format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
112
113
  "lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-markdownlint && pnpm run lint-prettier && pnpm run lint-pre-release",
113
114
  "lint-and-build": "tsx src/utility/checkConfigChanges.ts || pnpm run build && pnpm run lint",
114
115
  "lint-eslint": "eslint \"{src,tests}/**/*.ts\" \"package.json\"",