1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-07 20:50:04 +00:00

chore: add enum for lineEndings in sasjs-lint-schema.json

This commit is contained in:
2023-02-20 16:10:10 +05:00
parent 40e90995f8
commit bc7a7a7645
4 changed files with 5 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ export class LintConfig {
}
}
if (json?.lineEndings) {
if (json?.lineEndings && json.lineEndings !== LineEndings.OFF) {
if (
json.lineEndings !== LineEndings.LF &&
json.lineEndings !== LineEndings.CRLF