Skip to content

Commit 1f2abd4

Browse files
committed
fix: fix typo
1 parent 9916d86 commit 1f2abd4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/utils/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const {
2121
*/
2222
/**
2323
* @returns {string | undefined} undefined or error message
24-
* @param {any} config naming pattern object configurated by user
24+
* @param {any} config naming pattern object configured by user
2525
* @param {validator} keyValidator settings key validator
2626
* @param {validator} valueValidator settings value validator
2727
*/

lib/utils/transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const { PREFINED_MATCH_SYNTAX_ERROR_MESSAGE } = require('../constants/message');
1919
* @param {rule} rule original rule
2020
* @param {string} filenameWithPath filename with path
2121
* @returns {rule} new rule
22-
* @throws {Error} if a cprefined match syntax referenced in the naming pattern is not found in the filename pattern
22+
* @throws {Error} if a prefined match syntax referenced in the naming pattern is not found in the filename pattern
2323
*/
2424
const transformRuleWithPrefinedMatchSyntax = (
2525
[filenamePattern, namingPattern],

lib/utils/utility.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ const pipe =
6868
fns.reduce((v, f) => f(v), x);
6969

7070
/**
71-
* Checks if a value isnt an empty value
71+
* Checks if a value isn't an empty value
7272
*
7373
* @param {any} x - The value to check
74-
* @returns {boolean} - Returns true if the value isnt an empty value, false otherwise
74+
* @returns {boolean} - Returns true if the value isn't an empty value, false otherwise
7575
*/
7676
const isNotEmpty = pipe(isEmpty, not);
7777

0 commit comments

Comments
 (0)