From b8b357c514143620534b8748ead70a8c01817042 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Tue, 10 Jan 2023 10:39:32 +0000 Subject: [PATCH] Update getHeaderLinesCount.ts --- src/utils/getHeaderLinesCount.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/getHeaderLinesCount.ts b/src/utils/getHeaderLinesCount.ts index 5391945..88fd8ce 100644 --- a/src/utils/getHeaderLinesCount.ts +++ b/src/utils/getHeaderLinesCount.ts @@ -3,6 +3,7 @@ import { splitText } from './splitText' /** * This funtion returns the number of lines header spans upon. + * The file must start with "/*" and the header will finish with ⇙ */ export const getHeaderLinesCount = (text: string, config: LintConfig) => { let count = 0