@alextheman/eslint-plugin 5.14.0 → 5.16.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 +46 -42
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +43 -40
- package/dist/internal/index.cjs +12 -1
- package/dist/internal/index.js +12 -1
- package/package.json +31 -28
package/dist/index.cjs
CHANGED
|
@@ -46,10 +46,12 @@ 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
|
|
50
|
-
|
|
51
|
-
let
|
|
52
|
-
|
|
49
|
+
let _eslint_react_eslint_plugin = require("@eslint-react/eslint-plugin");
|
|
50
|
+
_eslint_react_eslint_plugin = __toESM(_eslint_react_eslint_plugin, 1);
|
|
51
|
+
let _stylistic_eslint_plugin = require("@stylistic/eslint-plugin");
|
|
52
|
+
_stylistic_eslint_plugin = __toESM(_stylistic_eslint_plugin, 1);
|
|
53
|
+
let eslint_plugin_jsx_a11y_x = require("eslint-plugin-jsx-a11y-x");
|
|
54
|
+
eslint_plugin_jsx_a11y_x = __toESM(eslint_plugin_jsx_a11y_x, 1);
|
|
53
55
|
let eslint_plugin_react_refresh = require("eslint-plugin-react-refresh");
|
|
54
56
|
eslint_plugin_react_refresh = __toESM(eslint_plugin_react_refresh, 1);
|
|
55
57
|
let eslint_plugin_react_hooks = require("eslint-plugin-react-hooks");
|
|
@@ -59,7 +61,7 @@ eslint_plugin_package_json = __toESM(eslint_plugin_package_json, 1);
|
|
|
59
61
|
let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
|
|
60
62
|
eslint_plugin_jsdoc = __toESM(eslint_plugin_jsdoc, 1);
|
|
61
63
|
let _alextheman_utility_node = require("@alextheman/utility/node");
|
|
62
|
-
//#region node_modules/.pnpm/globals@17.
|
|
64
|
+
//#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
|
|
63
65
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
64
66
|
module.exports = {
|
|
65
67
|
"amd": {
|
|
@@ -1272,9 +1274,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1272
1274
|
"XRAnchorSet": false,
|
|
1273
1275
|
"XRBoundedReferenceSpace": false,
|
|
1274
1276
|
"XRCamera": false,
|
|
1277
|
+
"XRCompositionLayer": false,
|
|
1275
1278
|
"XRCPUDepthInformation": false,
|
|
1279
|
+
"XRCubeLayer": false,
|
|
1280
|
+
"XRCylinderLayer": false,
|
|
1276
1281
|
"XRDepthInformation": false,
|
|
1277
1282
|
"XRDOMOverlayState": false,
|
|
1283
|
+
"XREquirectLayer": false,
|
|
1278
1284
|
"XRFrame": false,
|
|
1279
1285
|
"XRHand": false,
|
|
1280
1286
|
"XRHitTestResult": false,
|
|
@@ -1286,9 +1292,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1286
1292
|
"XRJointPose": false,
|
|
1287
1293
|
"XRJointSpace": false,
|
|
1288
1294
|
"XRLayer": false,
|
|
1295
|
+
"XRLayerEvent": false,
|
|
1289
1296
|
"XRLightEstimate": false,
|
|
1290
1297
|
"XRLightProbe": false,
|
|
1298
|
+
"XRPlane": false,
|
|
1299
|
+
"XRPlaneSet": false,
|
|
1291
1300
|
"XRPose": false,
|
|
1301
|
+
"XRProjectionLayer": false,
|
|
1302
|
+
"XRQuadLayer": false,
|
|
1292
1303
|
"XRRay": false,
|
|
1293
1304
|
"XRReferenceSpace": false,
|
|
1294
1305
|
"XRReferenceSpaceEvent": false,
|
|
@@ -1297,6 +1308,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1297
1308
|
"XRSession": false,
|
|
1298
1309
|
"XRSessionEvent": false,
|
|
1299
1310
|
"XRSpace": false,
|
|
1311
|
+
"XRSubImage": false,
|
|
1300
1312
|
"XRSystem": false,
|
|
1301
1313
|
"XRTransientInputHitTestResult": false,
|
|
1302
1314
|
"XRTransientInputHitTestSource": false,
|
|
@@ -1307,6 +1319,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1307
1319
|
"XRWebGLBinding": false,
|
|
1308
1320
|
"XRWebGLDepthInformation": false,
|
|
1309
1321
|
"XRWebGLLayer": false,
|
|
1322
|
+
"XRWebGLSubImage": false,
|
|
1310
1323
|
"XSLTProcessor": false
|
|
1311
1324
|
},
|
|
1312
1325
|
"builtin": {
|
|
@@ -4154,7 +4167,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4154
4167
|
};
|
|
4155
4168
|
}));
|
|
4156
4169
|
//#endregion
|
|
4157
|
-
//#region node_modules/.pnpm/globals@17.
|
|
4170
|
+
//#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/index.js
|
|
4158
4171
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4159
4172
|
module.exports = require_globals$1();
|
|
4160
4173
|
}));
|
|
@@ -4685,45 +4698,37 @@ const reactHooks = {
|
|
|
4685
4698
|
};
|
|
4686
4699
|
//#endregion
|
|
4687
4700
|
//#region src/configs/general/react.ts
|
|
4688
|
-
const generalReact = [
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
"react/jsx-props-no-spread-multi": "error",
|
|
4714
|
-
"react/no-danger": "error",
|
|
4715
|
-
"react/no-unescaped-entities": "off"
|
|
4716
|
-
},
|
|
4717
|
-
settings: { react: { version: "detect" } }
|
|
4718
|
-
}
|
|
4719
|
-
];
|
|
4701
|
+
const generalReact = [eslint_plugin_jsx_a11y_x.default.configs.recommended, {
|
|
4702
|
+
languageOptions: reactLanguageOptions,
|
|
4703
|
+
name: "@alextheman/general/react",
|
|
4704
|
+
plugins: {
|
|
4705
|
+
"@eslint-react": _eslint_react_eslint_plugin.default,
|
|
4706
|
+
"@stylistic": _stylistic_eslint_plugin.default,
|
|
4707
|
+
"react-hooks": reactHooks,
|
|
4708
|
+
"react-refresh": eslint_plugin_react_refresh.default
|
|
4709
|
+
},
|
|
4710
|
+
rules: {
|
|
4711
|
+
...reactHooks.configs["flat/recommended"].rules,
|
|
4712
|
+
..._eslint_react_eslint_plugin.default.configs["recommended-typescript"].rules,
|
|
4713
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml": "error",
|
|
4714
|
+
"@eslint-react/no-array-index-key": "off",
|
|
4715
|
+
"@eslint-react/no-context-provider": "error",
|
|
4716
|
+
"@eslint-react/no-use-context": "error",
|
|
4717
|
+
"@eslint-react/use-state": "error",
|
|
4718
|
+
"@stylistic/jsx-curly-brace-presence": ["error", {
|
|
4719
|
+
children: "never",
|
|
4720
|
+
propElementValues: "always",
|
|
4721
|
+
props: "never"
|
|
4722
|
+
}]
|
|
4723
|
+
},
|
|
4724
|
+
settings: { react: { version: "detect" } }
|
|
4725
|
+
}];
|
|
4720
4726
|
//#endregion
|
|
4721
4727
|
//#region src/configs/internal/react.ts
|
|
4722
4728
|
const internalReact = [{
|
|
4723
4729
|
languageOptions: reactLanguageOptions,
|
|
4724
4730
|
name: "@alextheman/internal/react",
|
|
4725
4731
|
plugins: {
|
|
4726
|
-
react: eslint_plugin_react.default,
|
|
4727
4732
|
"react-hooks": reactHooks,
|
|
4728
4733
|
"react-refresh": eslint_plugin_react_refresh.default
|
|
4729
4734
|
},
|
|
@@ -4731,8 +4736,7 @@ const internalReact = [{
|
|
|
4731
4736
|
"no-restricted-imports": ["error", reactRestrictedImports],
|
|
4732
4737
|
"react-hooks/exhaustive-deps": "off",
|
|
4733
4738
|
"react-hooks/refs": "off",
|
|
4734
|
-
"react-refresh/only-export-components": "off"
|
|
4735
|
-
"react/jsx-boolean-value": "error"
|
|
4739
|
+
"react-refresh/only-export-components": "off"
|
|
4736
4740
|
}
|
|
4737
4741
|
}];
|
|
4738
4742
|
//#endregion
|
|
@@ -5509,7 +5513,7 @@ function parseUseObjectShorthandOptions(data) {
|
|
|
5509
5513
|
const alexPlugin = {
|
|
5510
5514
|
meta: {
|
|
5511
5515
|
name: "@alextheman/eslint-plugin",
|
|
5512
|
-
version: "5.
|
|
5516
|
+
version: "5.16.0",
|
|
5513
5517
|
namespace: "alextheman"
|
|
5514
5518
|
},
|
|
5515
5519
|
configs: {},
|
package/dist/index.d.cts
CHANGED
|
@@ -240,4 +240,4 @@ declare function flattenConfigs<ConfigObject extends { [K in keyof ConfigObject]
|
|
|
240
240
|
*/
|
|
241
241
|
declare function getImportSpecifiersAfterRemoving<RuleOptions>(context: Readonly<RuleContext<"message", [RuleOptions]>>, specifiers: Array<TSESTree.ImportClause>, importToRemove: string): string;
|
|
242
242
|
//#endregion
|
|
243
|
-
export { AlexConfigGroupName, AlexFlattenedConfigName, type AlexPlugin, AlexPluginConfigFlattened, AlexPluginConfigObject, CombinedConfig, GeneralConfig, type GetFlattenedConfigNames, InternalConfig, type NoRestrictedImportsOptions, PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig };
|
|
243
|
+
export { type AlexConfigGroupName, type AlexFlattenedConfigName, type AlexPlugin, type AlexPluginConfigFlattened, type AlexPluginConfigObject, type CombinedConfig, type GeneralConfig, type GetFlattenedConfigNames, type InternalConfig, type NoRestrictedImportsOptions, type PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -240,4 +240,4 @@ declare function flattenConfigs<ConfigObject extends { [K in keyof ConfigObject]
|
|
|
240
240
|
*/
|
|
241
241
|
declare function getImportSpecifiersAfterRemoving<RuleOptions>(context: Readonly<RuleContext<"message", [RuleOptions]>>, specifiers: Array<TSESTree.ImportClause>, importToRemove: string): string;
|
|
242
242
|
//#endregion
|
|
243
|
-
export { AlexConfigGroupName, AlexFlattenedConfigName, type AlexPlugin, AlexPluginConfigFlattened, AlexPluginConfigObject, CombinedConfig, GeneralConfig, type GetFlattenedConfigNames, InternalConfig, type NoRestrictedImportsOptions, PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig };
|
|
243
|
+
export { type AlexConfigGroupName, type AlexFlattenedConfigName, type AlexPlugin, type AlexPluginConfigFlattened, type AlexPluginConfigObject, type CombinedConfig, type GeneralConfig, type GetFlattenedConfigNames, type InternalConfig, type NoRestrictedImportsOptions, type PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig };
|
package/dist/index.js
CHANGED
|
@@ -10,8 +10,9 @@ 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
|
|
14
|
-
import
|
|
13
|
+
import reactPlugin from "@eslint-react/eslint-plugin";
|
|
14
|
+
import stylistic from "@stylistic/eslint-plugin";
|
|
15
|
+
import jsxA11y from "eslint-plugin-jsx-a11y-x";
|
|
15
16
|
import reactRefresh from "eslint-plugin-react-refresh";
|
|
16
17
|
import reactHooksPlugin from "eslint-plugin-react-hooks";
|
|
17
18
|
import packageJson from "eslint-plugin-package-json";
|
|
@@ -40,7 +41,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
40
41
|
enumerable: true
|
|
41
42
|
}) : target, mod));
|
|
42
43
|
//#endregion
|
|
43
|
-
//#region node_modules/.pnpm/globals@17.
|
|
44
|
+
//#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
|
|
44
45
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
45
46
|
module.exports = {
|
|
46
47
|
"amd": {
|
|
@@ -1253,9 +1254,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1253
1254
|
"XRAnchorSet": false,
|
|
1254
1255
|
"XRBoundedReferenceSpace": false,
|
|
1255
1256
|
"XRCamera": false,
|
|
1257
|
+
"XRCompositionLayer": false,
|
|
1256
1258
|
"XRCPUDepthInformation": false,
|
|
1259
|
+
"XRCubeLayer": false,
|
|
1260
|
+
"XRCylinderLayer": false,
|
|
1257
1261
|
"XRDepthInformation": false,
|
|
1258
1262
|
"XRDOMOverlayState": false,
|
|
1263
|
+
"XREquirectLayer": false,
|
|
1259
1264
|
"XRFrame": false,
|
|
1260
1265
|
"XRHand": false,
|
|
1261
1266
|
"XRHitTestResult": false,
|
|
@@ -1267,9 +1272,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1267
1272
|
"XRJointPose": false,
|
|
1268
1273
|
"XRJointSpace": false,
|
|
1269
1274
|
"XRLayer": false,
|
|
1275
|
+
"XRLayerEvent": false,
|
|
1270
1276
|
"XRLightEstimate": false,
|
|
1271
1277
|
"XRLightProbe": false,
|
|
1278
|
+
"XRPlane": false,
|
|
1279
|
+
"XRPlaneSet": false,
|
|
1272
1280
|
"XRPose": false,
|
|
1281
|
+
"XRProjectionLayer": false,
|
|
1282
|
+
"XRQuadLayer": false,
|
|
1273
1283
|
"XRRay": false,
|
|
1274
1284
|
"XRReferenceSpace": false,
|
|
1275
1285
|
"XRReferenceSpaceEvent": false,
|
|
@@ -1278,6 +1288,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1278
1288
|
"XRSession": false,
|
|
1279
1289
|
"XRSessionEvent": false,
|
|
1280
1290
|
"XRSpace": false,
|
|
1291
|
+
"XRSubImage": false,
|
|
1281
1292
|
"XRSystem": false,
|
|
1282
1293
|
"XRTransientInputHitTestResult": false,
|
|
1283
1294
|
"XRTransientInputHitTestSource": false,
|
|
@@ -1288,6 +1299,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1288
1299
|
"XRWebGLBinding": false,
|
|
1289
1300
|
"XRWebGLDepthInformation": false,
|
|
1290
1301
|
"XRWebGLLayer": false,
|
|
1302
|
+
"XRWebGLSubImage": false,
|
|
1291
1303
|
"XSLTProcessor": false
|
|
1292
1304
|
},
|
|
1293
1305
|
"builtin": {
|
|
@@ -4135,7 +4147,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4135
4147
|
};
|
|
4136
4148
|
}));
|
|
4137
4149
|
//#endregion
|
|
4138
|
-
//#region node_modules/.pnpm/globals@17.
|
|
4150
|
+
//#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/index.js
|
|
4139
4151
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4140
4152
|
module.exports = require_globals$1();
|
|
4141
4153
|
}));
|
|
@@ -4666,45 +4678,37 @@ const reactHooks = {
|
|
|
4666
4678
|
};
|
|
4667
4679
|
//#endregion
|
|
4668
4680
|
//#region src/configs/general/react.ts
|
|
4669
|
-
const generalReact = [
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
"react/jsx-props-no-spread-multi": "error",
|
|
4695
|
-
"react/no-danger": "error",
|
|
4696
|
-
"react/no-unescaped-entities": "off"
|
|
4697
|
-
},
|
|
4698
|
-
settings: { react: { version: "detect" } }
|
|
4699
|
-
}
|
|
4700
|
-
];
|
|
4681
|
+
const generalReact = [jsxA11y.configs.recommended, {
|
|
4682
|
+
languageOptions: reactLanguageOptions,
|
|
4683
|
+
name: "@alextheman/general/react",
|
|
4684
|
+
plugins: {
|
|
4685
|
+
"@eslint-react": reactPlugin,
|
|
4686
|
+
"@stylistic": stylistic,
|
|
4687
|
+
"react-hooks": reactHooks,
|
|
4688
|
+
"react-refresh": reactRefresh
|
|
4689
|
+
},
|
|
4690
|
+
rules: {
|
|
4691
|
+
...reactHooks.configs["flat/recommended"].rules,
|
|
4692
|
+
...reactPlugin.configs["recommended-typescript"].rules,
|
|
4693
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml": "error",
|
|
4694
|
+
"@eslint-react/no-array-index-key": "off",
|
|
4695
|
+
"@eslint-react/no-context-provider": "error",
|
|
4696
|
+
"@eslint-react/no-use-context": "error",
|
|
4697
|
+
"@eslint-react/use-state": "error",
|
|
4698
|
+
"@stylistic/jsx-curly-brace-presence": ["error", {
|
|
4699
|
+
children: "never",
|
|
4700
|
+
propElementValues: "always",
|
|
4701
|
+
props: "never"
|
|
4702
|
+
}]
|
|
4703
|
+
},
|
|
4704
|
+
settings: { react: { version: "detect" } }
|
|
4705
|
+
}];
|
|
4701
4706
|
//#endregion
|
|
4702
4707
|
//#region src/configs/internal/react.ts
|
|
4703
4708
|
const internalReact = [{
|
|
4704
4709
|
languageOptions: reactLanguageOptions,
|
|
4705
4710
|
name: "@alextheman/internal/react",
|
|
4706
4711
|
plugins: {
|
|
4707
|
-
react: reactPlugin,
|
|
4708
4712
|
"react-hooks": reactHooks,
|
|
4709
4713
|
"react-refresh": reactRefresh
|
|
4710
4714
|
},
|
|
@@ -4712,8 +4716,7 @@ const internalReact = [{
|
|
|
4712
4716
|
"no-restricted-imports": ["error", reactRestrictedImports],
|
|
4713
4717
|
"react-hooks/exhaustive-deps": "off",
|
|
4714
4718
|
"react-hooks/refs": "off",
|
|
4715
|
-
"react-refresh/only-export-components": "off"
|
|
4716
|
-
"react/jsx-boolean-value": "error"
|
|
4719
|
+
"react-refresh/only-export-components": "off"
|
|
4717
4720
|
}
|
|
4718
4721
|
}];
|
|
4719
4722
|
//#endregion
|
|
@@ -5490,7 +5493,7 @@ function parseUseObjectShorthandOptions(data) {
|
|
|
5490
5493
|
const alexPlugin = {
|
|
5491
5494
|
meta: {
|
|
5492
5495
|
name: "@alextheman/eslint-plugin",
|
|
5493
|
-
version: "5.
|
|
5496
|
+
version: "5.16.0",
|
|
5494
5497
|
namespace: "alextheman"
|
|
5495
5498
|
},
|
|
5496
5499
|
configs: {},
|
package/dist/internal/index.cjs
CHANGED
|
@@ -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.
|
|
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": {
|
package/dist/internal/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
3
|
+
"version": "5.16.0",
|
|
4
4
|
"description": "A package to provide custom ESLint rules and configs.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,66 +33,69 @@
|
|
|
33
33
|
"files": [
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=22.3.0"
|
|
38
|
+
},
|
|
36
39
|
"dependencies": {
|
|
37
|
-
"@alextheman/utility": "5.
|
|
38
|
-
"@eslint/compat": "2.0
|
|
39
|
-
"@typescript-eslint/types": "8.59.
|
|
40
|
-
"@typescript-eslint/utils": "8.59.
|
|
40
|
+
"@alextheman/utility": "5.19.0",
|
|
41
|
+
"@eslint/compat": "2.1.0",
|
|
42
|
+
"@typescript-eslint/types": "8.59.4",
|
|
43
|
+
"@typescript-eslint/utils": "8.59.4",
|
|
41
44
|
"common-tags": "1.8.2",
|
|
42
45
|
"prettier": "3.8.3",
|
|
43
|
-
"zod": "4.3
|
|
46
|
+
"zod": "4.4.3"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
49
|
+
"@eslint-react/eslint-plugin": "5.8.4",
|
|
46
50
|
"@eslint/js": "10.0.1",
|
|
51
|
+
"@stylistic/eslint-plugin": "5.10.0",
|
|
47
52
|
"@types/common-tags": "1.8.4",
|
|
48
53
|
"@types/eslint": "9.6.1",
|
|
49
54
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
50
|
-
"@types/node": "25.
|
|
51
|
-
"@typescript-eslint/rule-tester": "8.59.
|
|
52
|
-
"alex-c-line": "2.
|
|
55
|
+
"@types/node": "25.9.1",
|
|
56
|
+
"@typescript-eslint/rule-tester": "8.59.4",
|
|
57
|
+
"alex-c-line": "2.8.1",
|
|
53
58
|
"dotenv-cli": "11.0.0",
|
|
54
|
-
"eslint": "10.
|
|
59
|
+
"eslint": "10.4.0",
|
|
55
60
|
"eslint-config-prettier": "10.1.8",
|
|
56
61
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
57
62
|
"eslint-plugin-import-x": "4.16.2",
|
|
58
|
-
"eslint-plugin-jsdoc": "
|
|
59
|
-
"eslint-plugin-jsx-a11y": "
|
|
60
|
-
"eslint-plugin-
|
|
61
|
-
"eslint-plugin-
|
|
62
|
-
"eslint-plugin-package-json": "0.91.1",
|
|
63
|
+
"eslint-plugin-jsdoc": "63.0.0",
|
|
64
|
+
"eslint-plugin-jsx-a11y-x": "0.2.0",
|
|
65
|
+
"eslint-plugin-n": "18.0.1",
|
|
66
|
+
"eslint-plugin-package-json": "1.1.0",
|
|
63
67
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
64
68
|
"eslint-plugin-prettier": "5.5.5",
|
|
65
|
-
"eslint-plugin-react": "7.37.5",
|
|
66
69
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
67
70
|
"eslint-plugin-react-refresh": "0.5.2",
|
|
68
71
|
"eslint-vitest-rule-tester": "3.1.0",
|
|
69
72
|
"execa": "9.6.1",
|
|
70
|
-
"globals": "17.
|
|
73
|
+
"globals": "17.6.0",
|
|
71
74
|
"husky": "9.1.7",
|
|
72
|
-
"jsdom": "29.
|
|
75
|
+
"jsdom": "29.1.1",
|
|
73
76
|
"markdownlint-cli2": "0.22.1",
|
|
74
77
|
"tempy": "3.2.0",
|
|
75
|
-
"tsdown": "0.
|
|
76
|
-
"tsx": "4.
|
|
78
|
+
"tsdown": "0.22.0",
|
|
79
|
+
"tsx": "4.22.3",
|
|
77
80
|
"typescript": "6.0.3",
|
|
78
|
-
"typescript-eslint": "8.59.
|
|
79
|
-
"vite": "8.0.
|
|
80
|
-
"vitest": "4.1.
|
|
81
|
+
"typescript-eslint": "8.59.4",
|
|
82
|
+
"vite": "8.0.14",
|
|
83
|
+
"vitest": "4.1.7"
|
|
81
84
|
},
|
|
82
85
|
"peerDependencies": {
|
|
86
|
+
"@eslint-react/eslint-plugin": ">=5.8.4",
|
|
83
87
|
"@eslint/js": ">=9.0.0",
|
|
88
|
+
"@stylistic/eslint-plugin": ">=5.10.0",
|
|
84
89
|
"eslint": ">=9.0.0",
|
|
85
90
|
"eslint-config-prettier": ">=10.0.0",
|
|
86
|
-
"eslint-import-resolver-typescript": "4.4.4",
|
|
91
|
+
"eslint-import-resolver-typescript": ">=4.4.4",
|
|
87
92
|
"eslint-plugin-import-x": ">=4.16.2",
|
|
88
93
|
"eslint-plugin-jsdoc": ">=61.5.0",
|
|
89
|
-
"eslint-plugin-jsx-a11y": ">=
|
|
90
|
-
"eslint-plugin-markdownlint": "0.9.0",
|
|
94
|
+
"eslint-plugin-jsx-a11y-x": ">=0.2.0",
|
|
91
95
|
"eslint-plugin-n": ">=17.23.1",
|
|
92
96
|
"eslint-plugin-package-json": ">=0.85.0",
|
|
93
97
|
"eslint-plugin-perfectionist": ">=5.0.0",
|
|
94
98
|
"eslint-plugin-prettier": ">=5.0.0",
|
|
95
|
-
"eslint-plugin-react": ">=7.0.0",
|
|
96
99
|
"eslint-plugin-react-hooks": ">=7.0.0",
|
|
97
100
|
"eslint-plugin-react-refresh": ">=0.4.0",
|
|
98
101
|
"typescript-eslint": ">=8.0.0"
|
|
@@ -108,7 +111,7 @@
|
|
|
108
111
|
"format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript && pnpm run format-prettier-yml",
|
|
109
112
|
"format-prettier-javascript": "prettier --write \"./**/*.js\"",
|
|
110
113
|
"format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
|
|
111
|
-
"format-prettier-yml": "prettier --write \"./**/*.yml\"",
|
|
114
|
+
"format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
|
|
112
115
|
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-markdownlint && pnpm run lint-prettier && pnpm run lint-pre-release",
|
|
113
116
|
"lint-and-build": "tsx src/utility/checkConfigChanges.ts || pnpm run build && pnpm run lint",
|
|
114
117
|
"lint-eslint": "eslint \"{src,tests}/**/*.ts\" \"package.json\"",
|