Skip to content

Commit 1e7ad13

Browse files
author
bad4iz
committed
правило еслинтовое строка разделяет описание
1 parent 34d96a3 commit 1e7ad13

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

src/component/types.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface ISelectCertProps {
5151

5252
/**
5353
* Callback error - для перехвата ошибок.
54+
*
5455
* @param {string | void} error
5556
*/
5657
callbackError?: (error: string | void | undefined) => void;

src/component/utils/b64toBlob.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Конвертирует base64 в Blob object.
3+
*
34
* @param b64Data - Blob data.
45
* @param contentType - Content type.
56
* @param sliceSize - Size of the slice.

src/component/utils/checkQuotes.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Проверяет, является ли количество кавычек в строке четным числом.
3+
*
34
* @param str - Проверяемая строка.
45
* @returns True, если количество кавычек в строке четно, иначе - false.
56
*/

src/component/utils/hooks/useGetCertificate.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { useMemo, useState } from 'react';
44

55
/**
66
* This function returns a certificate object based on a given thumbprint using CCPA API.
7+
*
78
* @param {string} thumbprint - The `thumbprint` parameter is a string that represents the unique
89
* identifier of a certificate. The function `useGetCertificate` uses this parameter to search for a
910
* certificate in a list of certificates and returns the matching certificate.

src/component/utils/signFile.spec.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ vi.mock('crypto-pro-cadesplugin');
1111

1212
/**
1313
* Mock default.
14+
*
1415
* @returns {void}
1516
*/
1617
const defaultMock = () => {

src/component/utils/signFile.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { toBase64 } from './toBase64';
77

88
/**
99
* Подпись файла.
10+
*
1011
* @param params - Parameters.
1112
* @param params.file - Файл на подпись.
1213
* @param params.thumbprint - Печать.

src/component/utils/toBase64.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Конвертируем файл в Base64.
3+
*
34
* @param file - File.
45
* @returns Форматированные данные в Base64.
56
*/

0 commit comments

Comments
 (0)