mirror of
https://github.com/sasjs/lint.git
synced 2026-01-10 05:50:05 +00:00
Revert "feat(*): add line endings rule, add automatic formatting for fixable violations"
This reverts commit 33a57c3163.
This commit is contained in:
@@ -17,7 +17,6 @@ const test = (value: string, lineNumber: number) =>
|
||||
severity: Severity.Warning
|
||||
}
|
||||
]
|
||||
const fix = (value: string) => value.trimEnd()
|
||||
|
||||
/**
|
||||
* Lint rule that checks for the presence of trailing space(s) in a given line of text.
|
||||
@@ -27,6 +26,5 @@ export const noTrailingSpaces: LineLintRule = {
|
||||
name,
|
||||
description,
|
||||
message,
|
||||
test,
|
||||
fix
|
||||
test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user