@eslint-react/kit 5.24.3 → 5.24.5
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.js +3 -7
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -4,17 +4,15 @@ import { getSettingsFromContext } from "@eslint-react/shared";
|
|
|
4
4
|
import { randomBytes } from "node:crypto";
|
|
5
5
|
import { kebabCase } from "string-ts";
|
|
6
6
|
import * as ESLintUtils from "@typescript-eslint/utils/eslint-utils";
|
|
7
|
-
|
|
8
7
|
//#region package.json
|
|
9
8
|
var name = "@eslint-react/kit";
|
|
10
|
-
var version = "5.24.
|
|
11
|
-
|
|
9
|
+
var version = "5.24.5";
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region ../eslint/dist/index.js
|
|
14
12
|
function getDocsUrl(ruleName) {
|
|
15
13
|
return `https://eslint-react.xyz/docs/rules/${ruleName}`;
|
|
16
14
|
}
|
|
17
|
-
|
|
15
|
+
ESLintUtils.RuleCreator(getDocsUrl);
|
|
18
16
|
function merge(base, ...rest) {
|
|
19
17
|
for (const r of rest) for (const key in r) {
|
|
20
18
|
const existing = base[key];
|
|
@@ -25,7 +23,6 @@ function merge(base, ...rest) {
|
|
|
25
23
|
}
|
|
26
24
|
return base;
|
|
27
25
|
}
|
|
28
|
-
|
|
29
26
|
//#endregion
|
|
30
27
|
//#region src/index.ts
|
|
31
28
|
function makeRuleToolkit(context) {
|
|
@@ -148,6 +145,5 @@ function build() {
|
|
|
148
145
|
};
|
|
149
146
|
return builder;
|
|
150
147
|
}
|
|
151
|
-
|
|
152
148
|
//#endregion
|
|
153
|
-
export { build as default, merge };
|
|
149
|
+
export { build as default, merge };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "5.24.
|
|
3
|
+
"version": "5.24.5",
|
|
4
4
|
"description": "ESLint React's utility module for building custom React rules with JavaScript functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@eslint-react/ast": "5.24.
|
|
39
|
-
"@eslint-react/core": "5.24.
|
|
40
|
-
"@eslint-react/shared": "5.24.
|
|
38
|
+
"@eslint-react/ast": "5.24.5",
|
|
39
|
+
"@eslint-react/core": "5.24.5",
|
|
40
|
+
"@eslint-react/shared": "5.24.5",
|
|
41
41
|
"@typescript-eslint/types": "^8.71.0",
|
|
42
42
|
"@typescript-eslint/utils": "^8.71.0",
|
|
43
43
|
"string-ts": "^2.3.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@eslint-react/eslint": "5.24.
|
|
46
|
+
"@eslint-react/eslint": "5.24.5",
|
|
47
47
|
"@local/configs": "0.0.0",
|
|
48
48
|
"eslint": "^10.12.0",
|
|
49
49
|
"tsdown": "^0.23.0",
|