mirror of
https://github.com/sasjs/lint.git
synced 2026-01-18 09:40:05 +00:00
Update getHeaderLinesCount.ts
This commit is contained in:
@@ -2,7 +2,7 @@ import { LintConfig } from '../types'
|
|||||||
import { splitText } from './splitText'
|
import { splitText } from './splitText'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This funtion returns the number of lines header spans upon.
|
* This function returns the number of lines the header spans upon.
|
||||||
* The file must start with "/*" and the header will finish with ⇙
|
* 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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user