From e6dc3198447877d52677104805715a7bcb78172a Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Tue, 10 Jan 2023 15:32:57 +0500 Subject: [PATCH] chore: quick fix --- src/utils/getHeaderLinesCount.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/getHeaderLinesCount.ts b/src/utils/getHeaderLinesCount.ts index fcad8c3..fcb9f6d 100644 --- a/src/utils/getHeaderLinesCount.ts +++ b/src/utils/getHeaderLinesCount.ts @@ -5,9 +5,6 @@ import { splitText } from './splitText' * This funtion returns the number of lines header spans upon. */ export const getHeaderLinesCount = (text: string, config: LintConfig) => { - text = text.replace('/*', '/**') - text = text.replace('*/', '**/') - let count = 0 if (text.trimStart().startsWith('/**')) {