Skip to content

Commit

Permalink
chore: apply changes after linting [bot]
Browse files Browse the repository at this point in the history
  • Loading branch information
taiga-family-bot authored and taiga-family-bot committed Feb 8, 2024
1 parent 0a9afed commit f5c46ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions projects/kit/src/lib/masks/number/utils/parse-number.ts
Original file line number Diff line number Diff line change
@@ -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}]`),
);
Expand Down
2 changes: 1 addition & 1 deletion scripts/helpers/is-maskito-package-name.ts
Original file line number Diff line number Diff line change
@@ -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)
);
Expand Down

0 comments on commit f5c46ae

Please sign in to comment.