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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user