From f5c46ae8d289a6edba649e1b6ae7384f28a9d70b Mon Sep 17 00:00:00 2001 From: taiga-family-bot Date: Thu, 8 Feb 2024 10:24:37 +0000 Subject: [PATCH] chore: apply changes after linting [bot] --- projects/kit/src/lib/masks/number/utils/parse-number.ts | 5 +---- scripts/helpers/is-maskito-package-name.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/projects/kit/src/lib/masks/number/utils/parse-number.ts b/projects/kit/src/lib/masks/number/utils/parse-number.ts index c6a4feb08..a211cd7ac 100644 --- a/projects/kit/src/lib/masks/number/utils/parse-number.ts +++ b/projects/kit/src/lib/masks/number/utils/parse-number.ts @@ -1,10 +1,7 @@ import {CHAR_EM_DASH, CHAR_EN_DASH, CHAR_HYPHEN, CHAR_MINUS} from '../../../constants'; import {escapeRegExp} from '../../../utils'; -export function maskitoParseNumber( - maskedNumber: string, - decimalSeparator: string = '.', -): number { +export function maskitoParseNumber(maskedNumber: string, decimalSeparator = '.'): number { const hasNegativeSign = !!maskedNumber.match( new RegExp(`^\\D*[${CHAR_MINUS}\\${CHAR_HYPHEN}${CHAR_EN_DASH}${CHAR_EM_DASH}]`), ); diff --git a/scripts/helpers/is-maskito-package-name.ts b/scripts/helpers/is-maskito-package-name.ts index 3729b5378..31ce5c7bf 100644 --- a/scripts/helpers/is-maskito-package-name.ts +++ b/scripts/helpers/is-maskito-package-name.ts @@ -1,4 +1,4 @@ -export function isMaskitoPackageName(name: string = '', ignores: string[]): boolean { +export function isMaskitoPackageName(name = '', ignores: string[]): boolean { return ( (name?.startsWith('@maskito/') || name === 'maskito') && !ignores.includes(name) );