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('/**')) {