1
0
mirror of https://github.com/sasjs/lint.git synced 2025-12-10 17:34:36 +00:00

Update getHeaderLinesCount.ts

This commit is contained in:
Allan Bowe
2023-01-10 10:39:32 +00:00
committed by GitHub
parent 701c160ec1
commit b8b357c514

View File

@@ -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