1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-13 23:30:06 +00:00

feat: customise the defaultHeader

This commit is contained in:
2022-11-07 16:50:35 +05:00
parent 1d821db934
commit a3bade0a5a
4 changed files with 15 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ const processContent = (config: LintConfig, content: string): string => {
config.fileLintRules
.filter((r) => !!r.fix)
.forEach((rule) => {
processedContent = rule.fix!(processedContent)
processedContent = rule.fix!(processedContent, config)
})
return processedContent