eslint-plugin-function 0.0.24 → 0.0.25

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 CHANGED
@@ -1,18 +1,6 @@
1
- import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
1
+ import { CompatiblePlugin } from "@eslint-react/kit";
2
2
 
3
3
  //#region src/index.d.ts
4
- declare const _default: {
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 { _default as default };
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.24";
12
+ var version = "0.0.25";
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
- var src_default = {
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.24",
3
+ "version": "0.0.25",
4
4
  "private": false,
5
5
  "description": "(WIP) The ESLint plugin for function-related rules.",
6
6
  "license": "MIT",
@@ -18,39 +18,39 @@
18
18
  "package.json"
19
19
  ],
20
20
  "dependencies": {
21
- "@eslint-react/ast": "^2.0.0-beta.34",
22
- "@eslint-react/core": "^2.0.0-beta.34",
23
- "@eslint-react/eff": "^2.0.0-beta.34",
24
- "@eslint-react/kit": "^2.0.0-beta.34",
25
- "@typescript-eslint/scope-manager": "^8.40.0",
26
- "@typescript-eslint/type-utils": "^8.40.0",
27
- "@typescript-eslint/types": "^8.40.0",
28
- "@typescript-eslint/utils": "^8.40.0",
21
+ "@eslint-react/ast": "^2.0.0-beta.66",
22
+ "@eslint-react/core": "^2.0.0-beta.66",
23
+ "@eslint-react/eff": "^2.0.0-beta.66",
24
+ "@eslint-react/kit": "^2.0.0-beta.66",
25
+ "@typescript-eslint/scope-manager": "^8.42.0",
26
+ "@typescript-eslint/type-utils": "^8.42.0",
27
+ "@typescript-eslint/types": "^8.42.0",
28
+ "@typescript-eslint/utils": "^8.42.0",
29
29
  "string-ts": "^2.2.1",
30
30
  "ts-pattern": "^5.8.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@eslint/markdown": "^7.1.0",
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.0",
37
- "@typescript-eslint/rule-tester": "^8.40.0",
38
- "dedent": "^1.6.0",
39
- "eslint": "^9.33.0",
36
+ "@types/node": "^24.3.1",
37
+ "@typescript-eslint/rule-tester": "^8.42.0",
38
+ "dedent": "^1.7.0",
39
+ "eslint": "^9.34.0",
40
40
  "eslint-config-flat-gitignore": "^2.1.0",
41
41
  "eslint-plugin-vitest": "^0.5.4",
42
42
  "jiti": "^2.5.1",
43
43
  "publint": "^0.3.12",
44
44
  "skott": "^0.35.4",
45
- "tsdown": "^0.14.1",
46
- "typescript-eslint": "^8.40.0",
45
+ "tsdown": "^0.14.2",
46
+ "typescript-eslint": "^8.42.0",
47
47
  "vitest": "^3.2.4",
48
48
  "@local/configs": "0.0.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "eslint": "^9.25.0",
51
+ "eslint": "^9.34.0",
52
52
  "ts-api-utils": "^2.1.0",
53
- "typescript": "^5.8.3"
53
+ "typescript": "^5.9.2"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=20.10.0"
@@ -66,6 +66,6 @@
66
66
  "lint:es": "eslint . --max-warnings 10",
67
67
  "lint:publish": "publint",
68
68
  "lint:ts": "tsc --noEmit",
69
- "test": "vitest"
69
+ "test": "vitest run"
70
70
  }
71
71
  }