From ddd39f14525791bd3ac6c59cf62b4ceee49ec990 Mon Sep 17 00:00:00 2001 From: Andrei Dumitrescu <5057797+andreidmt@users.noreply.github.com> Date: Thu, 21 Jan 2021 12:33:08 +0100 Subject: [PATCH] chore: Fix lint errors --- src/cases/cases.js | 6 +++--- src/count/count.js | 6 +++--- src/read/read.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cases/cases.js b/src/cases/cases.js index 5c1e98e..ce3189b 100644 --- a/src/cases/cases.js +++ b/src/cases/cases.js @@ -8,9 +8,9 @@ import { i } from "../i/i" * @tag Core * @see {@link when} * - * @param {Array} conditions List of 2-tuples of functions (if, then) - * @param {Function} [otherwise=i] Function to call if no condition matches, Defaults to identity. - * @param {any} source Value to check + * @param {Array} conditions List of 2-tuples of functions (if, then) + * @param {Function} [otherwise=i] Function to call if no condition matches, Defaults to identity. + * @param {any} source Value to check * * @returns {any} * The result of calling the first matching then function or the diff --git a/src/count/count.js b/src/count/count.js index 79f41fb..87249c2 100644 --- a/src/count/count.js +++ b/src/count/count.js @@ -21,8 +21,8 @@ const _countBy = (_fn, _source) => { /** * Count the number of elements that satisfies a function * - * @param {Function|Function[]} fn Match function - * @param {Array | object} source Source array, if object passed, Object.entries will be iterated over + * @param {Function|Function[]} fn Match function + * @param {Array | object} source Source array, if object passed, Object.entries will be iterated over * * @returns {number} * @@ -56,7 +56,7 @@ export const countBy = curry(_countBy) /** * Count elements in array or object that match object * - * @param {object} subset Match object + * @param {object} subset Match object * @param {Array | object} source Source array, if object passed, Object.entries will be iterated over * * @returns {number} diff --git a/src/read/read.js b/src/read/read.js index 161c52a..28eced4 100644 --- a/src/read/read.js +++ b/src/read/read.js @@ -34,9 +34,9 @@ const _readMany = (path, defaultValue, source) => * Get value from obj property * * @param {string | string[]} path Property name or dot path of props - * @param {Any} defaultValue Value to return if not found - * @param {object} source Source object - * @param {...any} params Function params + * @param {Any} defaultValue Value to return if not found + * @param {object} source Source object + * @param {...any} params Function params * * @returns {Any} *