eslint-plugin-function 0.6.1 → 0.7.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { AST_NODE_TYPES } from "@typescript-eslint/types";
9
9
 
10
10
  //#region package.json
11
11
  var name = "eslint-plugin-function";
12
- var version = "0.6.1";
12
+ var version = "0.7.0";
13
13
 
14
14
  //#endregion
15
15
  //#region src/utils/create-rule.ts
@@ -241,6 +241,9 @@ const dual = function(arity, body) {
241
241
  * Composes two functions, `ab` and `bc` into a single function that takes in an argument `a` of type `A` and returns a result of type `C`.
242
242
  * The result is obtained by first applying the `ab` function to `a` and then applying the `bc` function to the result of `ab`.
243
243
  *
244
+ * @param self - The first function to apply (or the composed function in data-last style).
245
+ * @param bc - The second function to apply.
246
+ * @returns A composed function that applies both functions in sequence.
244
247
  * @example
245
248
  * ```ts
246
249
  * import * as assert from "node:assert"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-function",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "description": "(WIP) An ESLint plugin for function-related rules.",
6
6
  "homepage": "https://github.com/Rel1cx/dx",