eslint-plugin-function 0.0.24 → 0.0.26
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.d.ts +3 -15
- package/dist/index.js +3 -2
- package/package.json +21 -20
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CompatiblePlugin } from "@eslint-react/kit";
|
|
2
2
|
|
|
3
3
|
//#region src/index.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
readonly meta: {
|
|
6
|
-
readonly name: string;
|
|
7
|
-
readonly version: string;
|
|
8
|
-
};
|
|
9
|
-
readonly rules: {
|
|
10
|
-
readonly "function-definition": _typescript_eslint_utils_ts_eslint0.RuleModule<"functionDefinition", [], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
|
|
11
|
-
readonly "function-name": _typescript_eslint_utils_ts_eslint0.RuleModule<"functionName", [], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
|
|
12
|
-
readonly "function-return-boolean": _typescript_eslint_utils_ts_eslint0.RuleModule<"functionReturnBoolean", readonly [{
|
|
13
|
-
readonly pattern?: string;
|
|
14
|
-
} | undefined], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
4
|
+
declare const plugin: CompatiblePlugin;
|
|
17
5
|
//#endregion
|
|
18
|
-
export {
|
|
6
|
+
export { plugin as default };
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { unionConstituents } from "ts-api-utils";
|
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
11
|
var name = "eslint-plugin-function";
|
|
12
|
-
var version = "0.0.
|
|
12
|
+
var version = "0.0.26";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/utils/create-rule.ts
|
|
@@ -158,7 +158,7 @@ function create(context, [opts]) {
|
|
|
158
158
|
|
|
159
159
|
//#endregion
|
|
160
160
|
//#region src/index.ts
|
|
161
|
-
|
|
161
|
+
const plugin = {
|
|
162
162
|
meta: {
|
|
163
163
|
name,
|
|
164
164
|
version
|
|
@@ -169,6 +169,7 @@ var src_default = {
|
|
|
169
169
|
"function-return-boolean": function_return_boolean_default
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
|
+
var src_default = plugin;
|
|
172
173
|
|
|
173
174
|
//#endregion
|
|
174
175
|
export { src_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-function",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "(WIP) The ESLint plugin for function-related rules.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,39 +18,40 @@
|
|
|
18
18
|
"package.json"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@eslint-react/ast": "^2.0.0-beta.
|
|
22
|
-
"@eslint-react/core": "^2.0.0-beta.
|
|
23
|
-
"@eslint-react/eff": "^2.0.0-beta.
|
|
24
|
-
"@eslint-react/kit": "^2.0.0-beta.
|
|
25
|
-
"@typescript-eslint/scope-manager": "^8.
|
|
26
|
-
"@typescript-eslint/type-utils": "^8.
|
|
27
|
-
"@typescript-eslint/types": "^8.
|
|
28
|
-
"@typescript-eslint/utils": "^8.
|
|
21
|
+
"@eslint-react/ast": "^2.0.0-beta.180",
|
|
22
|
+
"@eslint-react/core": "^2.0.0-beta.180",
|
|
23
|
+
"@eslint-react/eff": "^2.0.0-beta.180",
|
|
24
|
+
"@eslint-react/kit": "^2.0.0-beta.180",
|
|
25
|
+
"@typescript-eslint/scope-manager": "^8.43.0",
|
|
26
|
+
"@typescript-eslint/type-utils": "^8.43.0",
|
|
27
|
+
"@typescript-eslint/types": "^8.43.0",
|
|
28
|
+
"@typescript-eslint/utils": "^8.43.0",
|
|
29
29
|
"string-ts": "^2.2.1",
|
|
30
30
|
"ts-pattern": "^5.8.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@eslint/markdown": "^7.
|
|
33
|
+
"@eslint/markdown": "^7.2.0",
|
|
34
34
|
"@tsconfig/node22": "^22.0.2",
|
|
35
35
|
"@tsconfig/strictest": "^2.0.5",
|
|
36
|
-
"@types/node": "^24.3.
|
|
37
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
38
|
-
"dedent": "^1.
|
|
39
|
-
"
|
|
36
|
+
"@types/node": "^24.3.1",
|
|
37
|
+
"@typescript-eslint/rule-tester": "^8.43.0",
|
|
38
|
+
"dedent": "^1.7.0",
|
|
39
|
+
"dprint": "^0.50.1",
|
|
40
|
+
"eslint": "^9.35.0",
|
|
40
41
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
41
42
|
"eslint-plugin-vitest": "^0.5.4",
|
|
42
43
|
"jiti": "^2.5.1",
|
|
43
44
|
"publint": "^0.3.12",
|
|
44
|
-
"skott": "^0.35.
|
|
45
|
-
"tsdown": "^0.
|
|
46
|
-
"typescript-eslint": "^8.
|
|
45
|
+
"skott": "^0.35.5",
|
|
46
|
+
"tsdown": "^0.15.0",
|
|
47
|
+
"typescript-eslint": "^8.43.0",
|
|
47
48
|
"vitest": "^3.2.4",
|
|
48
49
|
"@local/configs": "0.0.0"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
|
-
"eslint": "^9.
|
|
52
|
+
"eslint": "^9.35.0",
|
|
52
53
|
"ts-api-utils": "^2.1.0",
|
|
53
|
-
"typescript": "^5.
|
|
54
|
+
"typescript": "^5.9.2"
|
|
54
55
|
},
|
|
55
56
|
"engines": {
|
|
56
57
|
"node": ">=20.10.0"
|
|
@@ -66,6 +67,6 @@
|
|
|
66
67
|
"lint:es": "eslint . --max-warnings 10",
|
|
67
68
|
"lint:publish": "publint",
|
|
68
69
|
"lint:ts": "tsc --noEmit",
|
|
69
|
-
"test": "vitest"
|
|
70
|
+
"test": "vitest run"
|
|
70
71
|
}
|
|
71
72
|
}
|