@alextheman/eslint-plugin 5.5.0 → 5.5.1
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 +7 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -3
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ eslint_plugin_package_json = __toESM(eslint_plugin_package_json);
|
|
|
61
61
|
let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
|
|
62
62
|
eslint_plugin_jsdoc = __toESM(eslint_plugin_jsdoc);
|
|
63
63
|
|
|
64
|
-
//#region node_modules/.pnpm/globals@17.
|
|
64
|
+
//#region node_modules/.pnpm/globals@17.2.0/node_modules/globals/globals.json
|
|
65
65
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
66
66
|
module.exports = {
|
|
67
67
|
"amd": {
|
|
@@ -2498,6 +2498,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2498
2498
|
"spyOn": false,
|
|
2499
2499
|
"spyOnAllFunctions": false,
|
|
2500
2500
|
"spyOnProperty": false,
|
|
2501
|
+
"throwUnless": false,
|
|
2502
|
+
"throwUnlessAsync": false,
|
|
2501
2503
|
"waits": false,
|
|
2502
2504
|
"waitsFor": false,
|
|
2503
2505
|
"xdescribe": false,
|
|
@@ -4071,7 +4073,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4071
4073
|
}));
|
|
4072
4074
|
|
|
4073
4075
|
//#endregion
|
|
4074
|
-
//#region node_modules/.pnpm/globals@17.
|
|
4076
|
+
//#region node_modules/.pnpm/globals@17.2.0/node_modules/globals/index.js
|
|
4075
4077
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4076
4078
|
module.exports = require_globals$1();
|
|
4077
4079
|
}));
|
|
@@ -4619,6 +4621,7 @@ function personalJavaScript(plugin) {
|
|
|
4619
4621
|
name: "@alextheman/personal/javascript",
|
|
4620
4622
|
plugins: {
|
|
4621
4623
|
"@alextheman": plugin,
|
|
4624
|
+
import: eslint_plugin_import.default,
|
|
4622
4625
|
perfectionist: eslint_plugin_perfectionist.default,
|
|
4623
4626
|
prettier: eslint_plugin_prettier.default
|
|
4624
4627
|
},
|
|
@@ -4631,6 +4634,7 @@ function personalJavaScript(plugin) {
|
|
|
4631
4634
|
"declaration",
|
|
4632
4635
|
{ allowArrowFunctions: false }
|
|
4633
4636
|
],
|
|
4637
|
+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
4634
4638
|
"no-else-return": "error",
|
|
4635
4639
|
"no-implicit-coercion": ["error", { allow: ["!!"] }],
|
|
4636
4640
|
"operator-assignment": ["error", "always"],
|
|
@@ -5509,7 +5513,7 @@ var rules_default = {
|
|
|
5509
5513
|
//#endregion
|
|
5510
5514
|
//#region package.json
|
|
5511
5515
|
var name = "@alextheman/eslint-plugin";
|
|
5512
|
-
var version = "5.5.
|
|
5516
|
+
var version = "5.5.1";
|
|
5513
5517
|
|
|
5514
5518
|
//#endregion
|
|
5515
5519
|
//#region src/alexPlugin.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -42,7 +42,7 @@ type AlexPluginConfigFlattened = Record<AlexFlattenedConfigName, Linter.Config[]
|
|
|
42
42
|
//#region src/configs/index.d.ts
|
|
43
43
|
declare function createAlexPluginConfigs(plugin: Readonly<AlexPlugin>): Record<AlexFlattenedConfigName, Linter.Config[]>;
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region package.d.ts
|
|
45
|
+
//#region package.json.d.ts
|
|
46
46
|
declare let name: string;
|
|
47
47
|
declare let version: string;
|
|
48
48
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ type AlexPluginConfigFlattened = Record<AlexFlattenedConfigName, Linter.Config[]
|
|
|
42
42
|
//#region src/configs/index.d.ts
|
|
43
43
|
declare function createAlexPluginConfigs(plugin: Readonly<AlexPlugin>): Record<AlexFlattenedConfigName, Linter.Config[]>;
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region package.d.ts
|
|
45
|
+
//#region package.json.d.ts
|
|
46
46
|
declare let name: string;
|
|
47
47
|
declare let version: string;
|
|
48
48
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
45
45
|
}) : target, mod));
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region node_modules/.pnpm/globals@17.
|
|
48
|
+
//#region node_modules/.pnpm/globals@17.2.0/node_modules/globals/globals.json
|
|
49
49
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
50
50
|
module.exports = {
|
|
51
51
|
"amd": {
|
|
@@ -2482,6 +2482,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2482
2482
|
"spyOn": false,
|
|
2483
2483
|
"spyOnAllFunctions": false,
|
|
2484
2484
|
"spyOnProperty": false,
|
|
2485
|
+
"throwUnless": false,
|
|
2486
|
+
"throwUnlessAsync": false,
|
|
2485
2487
|
"waits": false,
|
|
2486
2488
|
"waitsFor": false,
|
|
2487
2489
|
"xdescribe": false,
|
|
@@ -4055,7 +4057,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4055
4057
|
}));
|
|
4056
4058
|
|
|
4057
4059
|
//#endregion
|
|
4058
|
-
//#region node_modules/.pnpm/globals@17.
|
|
4060
|
+
//#region node_modules/.pnpm/globals@17.2.0/node_modules/globals/index.js
|
|
4059
4061
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4060
4062
|
module.exports = require_globals$1();
|
|
4061
4063
|
}));
|
|
@@ -4603,6 +4605,7 @@ function personalJavaScript(plugin) {
|
|
|
4603
4605
|
name: "@alextheman/personal/javascript",
|
|
4604
4606
|
plugins: {
|
|
4605
4607
|
"@alextheman": plugin,
|
|
4608
|
+
import: importPlugin,
|
|
4606
4609
|
perfectionist,
|
|
4607
4610
|
prettier: prettierPlugin
|
|
4608
4611
|
},
|
|
@@ -4615,6 +4618,7 @@ function personalJavaScript(plugin) {
|
|
|
4615
4618
|
"declaration",
|
|
4616
4619
|
{ allowArrowFunctions: false }
|
|
4617
4620
|
],
|
|
4621
|
+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
4618
4622
|
"no-else-return": "error",
|
|
4619
4623
|
"no-implicit-coercion": ["error", { allow: ["!!"] }],
|
|
4620
4624
|
"operator-assignment": ["error", "always"],
|
|
@@ -5493,7 +5497,7 @@ var rules_default = {
|
|
|
5493
5497
|
//#endregion
|
|
5494
5498
|
//#region package.json
|
|
5495
5499
|
var name = "@alextheman/eslint-plugin";
|
|
5496
|
-
var version = "5.5.
|
|
5500
|
+
var version = "5.5.1";
|
|
5497
5501
|
|
|
5498
5502
|
//#endregion
|
|
5499
5503
|
//#region src/alexPlugin.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alextheman/eslint-plugin",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "A package to provide custom ESLint rules and configs.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@alextheman/utility": "^4.
|
|
33
|
-
"@typescript-eslint/utils": "^8.
|
|
32
|
+
"@alextheman/utility": "^4.11.0",
|
|
33
|
+
"@typescript-eslint/utils": "^8.54.0",
|
|
34
34
|
"common-tags": "^1.8.2",
|
|
35
35
|
"zod": "^4.3.6"
|
|
36
36
|
},
|
|
@@ -39,26 +39,26 @@
|
|
|
39
39
|
"@types/common-tags": "^1.8.4",
|
|
40
40
|
"@types/eslint": "^9.6.1",
|
|
41
41
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
42
|
-
"@types/node": "^25.0
|
|
43
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
44
|
-
"@typescript-eslint/types": "^8.
|
|
45
|
-
"alex-c-line": "^1.
|
|
42
|
+
"@types/node": "^25.1.0",
|
|
43
|
+
"@typescript-eslint/rule-tester": "^8.54.0",
|
|
44
|
+
"@typescript-eslint/types": "^8.54.0",
|
|
45
|
+
"alex-c-line": "^1.22.1",
|
|
46
46
|
"dotenv-cli": "^11.0.0",
|
|
47
47
|
"eslint": "^9.39.2",
|
|
48
48
|
"eslint-config-prettier": "^10.1.8",
|
|
49
49
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
50
50
|
"eslint-plugin-import": "^2.32.0",
|
|
51
|
-
"eslint-plugin-jsdoc": "^62.
|
|
51
|
+
"eslint-plugin-jsdoc": "^62.5.0",
|
|
52
52
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
53
53
|
"eslint-plugin-n": "^17.23.2",
|
|
54
|
-
"eslint-plugin-package-json": "^0.88.
|
|
54
|
+
"eslint-plugin-package-json": "^0.88.2",
|
|
55
55
|
"eslint-plugin-perfectionist": "^5.4.0",
|
|
56
56
|
"eslint-plugin-prettier": "^5.5.5",
|
|
57
57
|
"eslint-plugin-react": "^7.37.5",
|
|
58
58
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
59
59
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
60
60
|
"eslint-vitest-rule-tester": "^3.0.1",
|
|
61
|
-
"globals": "^17.
|
|
61
|
+
"globals": "^17.2.0",
|
|
62
62
|
"husky": "^9.1.7",
|
|
63
63
|
"jsdom": "^27.4.0",
|
|
64
64
|
"prettier": "^3.8.1",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"typedoc-plugin-markdown": "^4.9.0",
|
|
69
69
|
"typedoc-rhineai-theme": "^1.2.0",
|
|
70
70
|
"typescript": "^5.9.3",
|
|
71
|
-
"typescript-eslint": "^8.
|
|
72
|
-
"vite-tsconfig-paths": "^6.0.
|
|
71
|
+
"typescript-eslint": "^8.54.0",
|
|
72
|
+
"vite-tsconfig-paths": "^6.0.5",
|
|
73
73
|
"vitest": "^4.0.18"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|