mirror of
https://github.com/sasjs/lint.git
synced 2026-01-05 03:30:06 +00:00
chore: add enum for lineEndings in sasjs-lint-schema.json
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export enum LineEndings {
|
||||
LF = 'lf',
|
||||
CRLF = 'crlf'
|
||||
CRLF = 'crlf',
|
||||
OFF = 'off'
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user