@alextheman/eslint-plugin 5.17.1 → 5.18.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 +5 -1
- package/dist/index.js +4 -1
- package/package.json +14 -12
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,8 @@ let _typescript_eslint_utils = require("@typescript-eslint/utils");
|
|
|
30
30
|
let zod = require("zod");
|
|
31
31
|
zod = __toESM(zod, 1);
|
|
32
32
|
let _alextheman_utility_v6 = require("@alextheman/utility/v6");
|
|
33
|
+
let _eslint_community_eslint_plugin_eslint_comments_configs = require("@eslint-community/eslint-plugin-eslint-comments/configs");
|
|
34
|
+
_eslint_community_eslint_plugin_eslint_comments_configs = __toESM(_eslint_community_eslint_plugin_eslint_comments_configs, 1);
|
|
33
35
|
let _eslint_js = require("@eslint/js");
|
|
34
36
|
_eslint_js = __toESM(_eslint_js, 1);
|
|
35
37
|
let eslint_config_prettier = require("eslint-config-prettier");
|
|
@@ -4423,6 +4425,7 @@ const unusedVarsIgnorePatterns = {
|
|
|
4423
4425
|
const generalJavaScript = [
|
|
4424
4426
|
_eslint_js.default.configs.recommended,
|
|
4425
4427
|
eslint_config_prettier.default,
|
|
4428
|
+
_eslint_community_eslint_plugin_eslint_comments_configs.default.recommended,
|
|
4426
4429
|
eslint_plugin_n.default.configs["flat/recommended"],
|
|
4427
4430
|
{
|
|
4428
4431
|
files: [
|
|
@@ -4439,6 +4442,7 @@ const generalJavaScript = [
|
|
|
4439
4442
|
n: eslint_plugin_n.default
|
|
4440
4443
|
},
|
|
4441
4444
|
rules: {
|
|
4445
|
+
"@eslint-community/eslint-comments/require-description": "error",
|
|
4442
4446
|
eqeqeq: "error",
|
|
4443
4447
|
"import-x/no-duplicates": ["error", { "prefer-inline": false }],
|
|
4444
4448
|
"import-x/no-unresolved": "error",
|
|
@@ -5516,7 +5520,7 @@ function parseUseObjectShorthandOptions(data) {
|
|
|
5516
5520
|
const alexPlugin = {
|
|
5517
5521
|
meta: {
|
|
5518
5522
|
name: "@alextheman/eslint-plugin",
|
|
5519
|
-
version: "5.
|
|
5523
|
+
version: "5.18.0",
|
|
5520
5524
|
namespace: "alextheman"
|
|
5521
5525
|
},
|
|
5522
5526
|
configs: {},
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { az, camelToKebab, deepCopy, deepFreeze, normaliseIndents, omitPropertie
|
|
|
2
2
|
import { AST_NODE_TYPES, ESLintUtils } from "@typescript-eslint/utils";
|
|
3
3
|
import z from "zod";
|
|
4
4
|
import { DataError } from "@alextheman/utility/v6";
|
|
5
|
+
import comments from "@eslint-community/eslint-plugin-eslint-comments/configs";
|
|
5
6
|
import js from "@eslint/js";
|
|
6
7
|
import prettierConfig$1 from "eslint-config-prettier";
|
|
7
8
|
import * as tsResolver from "eslint-import-resolver-typescript";
|
|
@@ -4403,6 +4404,7 @@ const unusedVarsIgnorePatterns = {
|
|
|
4403
4404
|
const generalJavaScript = [
|
|
4404
4405
|
js.configs.recommended,
|
|
4405
4406
|
prettierConfig$1,
|
|
4407
|
+
comments.recommended,
|
|
4406
4408
|
nodePlugin.configs["flat/recommended"],
|
|
4407
4409
|
{
|
|
4408
4410
|
files: [
|
|
@@ -4419,6 +4421,7 @@ const generalJavaScript = [
|
|
|
4419
4421
|
n: nodePlugin
|
|
4420
4422
|
},
|
|
4421
4423
|
rules: {
|
|
4424
|
+
"@eslint-community/eslint-comments/require-description": "error",
|
|
4422
4425
|
eqeqeq: "error",
|
|
4423
4426
|
"import-x/no-duplicates": ["error", { "prefer-inline": false }],
|
|
4424
4427
|
"import-x/no-unresolved": "error",
|
|
@@ -5496,7 +5499,7 @@ function parseUseObjectShorthandOptions(data) {
|
|
|
5496
5499
|
const alexPlugin = {
|
|
5497
5500
|
meta: {
|
|
5498
5501
|
name: "@alextheman/eslint-plugin",
|
|
5499
|
-
version: "5.
|
|
5502
|
+
version: "5.18.0",
|
|
5500
5503
|
namespace: "alextheman"
|
|
5501
5504
|
},
|
|
5502
5505
|
configs: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alextheman/eslint-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.18.0",
|
|
4
4
|
"description": "A package to provide custom ESLint rules and configs.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,15 +37,16 @@
|
|
|
37
37
|
"node": ">=22.3.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@alextheman/utility": "5.
|
|
40
|
+
"@alextheman/utility": "5.23.0",
|
|
41
41
|
"@eslint/compat": "2.1.0",
|
|
42
|
-
"@typescript-eslint/types": "8.61.
|
|
43
|
-
"@typescript-eslint/utils": "8.61.
|
|
42
|
+
"@typescript-eslint/types": "8.61.1",
|
|
43
|
+
"@typescript-eslint/utils": "8.61.1",
|
|
44
44
|
"common-tags": "1.8.2",
|
|
45
45
|
"prettier": "3.8.4",
|
|
46
46
|
"zod": "4.4.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
|
|
49
50
|
"@eslint-react/eslint-plugin": "5.9.0",
|
|
50
51
|
"@eslint/js": "10.0.1",
|
|
51
52
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
@@ -53,18 +54,18 @@
|
|
|
53
54
|
"@types/eslint": "9.6.1",
|
|
54
55
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
55
56
|
"@types/node": "25.9.3",
|
|
56
|
-
"@typescript-eslint/rule-tester": "8.61.
|
|
57
|
-
"alex-c-line": "2.
|
|
57
|
+
"@typescript-eslint/rule-tester": "8.61.1",
|
|
58
|
+
"alex-c-line": "2.10.3",
|
|
58
59
|
"dotenv-cli": "11.0.0",
|
|
59
60
|
"eslint": "10.5.0",
|
|
60
61
|
"eslint-config-prettier": "10.1.8",
|
|
61
62
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
62
63
|
"eslint-plugin-import-x": "4.16.2",
|
|
63
|
-
"eslint-plugin-jsdoc": "63.0.
|
|
64
|
+
"eslint-plugin-jsdoc": "63.0.6",
|
|
64
65
|
"eslint-plugin-jsx-a11y-x": "0.2.0",
|
|
65
66
|
"eslint-plugin-n": "18.1.0",
|
|
66
|
-
"eslint-plugin-package-json": "1.
|
|
67
|
-
"eslint-plugin-perfectionist": "5.9.
|
|
67
|
+
"eslint-plugin-package-json": "1.4.0",
|
|
68
|
+
"eslint-plugin-perfectionist": "5.9.1",
|
|
68
69
|
"eslint-plugin-prettier": "5.5.6",
|
|
69
70
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
70
71
|
"eslint-plugin-react-refresh": "0.5.3",
|
|
@@ -75,14 +76,15 @@
|
|
|
75
76
|
"jsdom": "29.1.1",
|
|
76
77
|
"markdownlint-cli2": "0.22.1",
|
|
77
78
|
"tempy": "3.2.0",
|
|
78
|
-
"tsdown": "0.22.
|
|
79
|
+
"tsdown": "0.22.3",
|
|
79
80
|
"tsx": "4.22.4",
|
|
80
81
|
"typescript": "6.0.3",
|
|
81
|
-
"typescript-eslint": "8.61.
|
|
82
|
+
"typescript-eslint": "8.61.1",
|
|
82
83
|
"vite": "8.0.16",
|
|
83
|
-
"vitest": "4.1.
|
|
84
|
+
"vitest": "4.1.9"
|
|
84
85
|
},
|
|
85
86
|
"peerDependencies": {
|
|
87
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
|
|
86
88
|
"@eslint-react/eslint-plugin": ">=5.8.4",
|
|
87
89
|
"@eslint/js": ">=9.0.0",
|
|
88
90
|
"@stylistic/eslint-plugin": ">=5.10.0",
|