mirror of
https://github.com/sasjs/lint.git
synced 2026-01-14 07:40:05 +00:00
feat: add a new config maxHeaderLineLength
This commit is contained in:
@@ -18,7 +18,12 @@ export interface LintRule {
|
||||
*/
|
||||
export interface LineLintRule extends LintRule {
|
||||
type: LintRuleType.Line
|
||||
test: (value: string, lineNumber: number, config?: LintConfig) => Diagnostic[]
|
||||
test: (
|
||||
value: string,
|
||||
lineNumber: number,
|
||||
config?: LintConfig,
|
||||
isHeaderLine?: boolean
|
||||
) => Diagnostic[]
|
||||
fix?: (value: string, config?: LintConfig) => string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user