mirror of
https://github.com/sasjs/lint.git
synced 2026-01-19 18:20:05 +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.
|
* 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) => {
|
export const getHeaderLinesCount = (text: string, config: LintConfig) => {
|
||||||
let count = 0
|
let count = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user