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

Revert "feat(*): add line endings rule, add automatic formatting for fixable violations"

This reverts commit 33a57c3163.
This commit is contained in:
Krishna Acondy
2021-04-19 20:46:38 +01:00
parent 0c22ade942
commit eb5a1bbbcb
32 changed files with 318 additions and 930 deletions

View File

@@ -16,6 +16,7 @@ describe('hasMacroParentheses', () => {
%macro somemacro;
%put &sysmacroname;
%mend somemacro;`
expect(hasMacroParentheses.test(content)).toEqual([
{
message: 'Macro definition missing parentheses',
@@ -27,7 +28,7 @@ describe('hasMacroParentheses', () => {
])
})
it('should return an array with a single diagnostic when macro defined without name', () => {
it('should return an array with a single diagnostics when macro defined without name', () => {
const content = `
%macro ();
%put &sysmacroname;
@@ -44,7 +45,7 @@ describe('hasMacroParentheses', () => {
])
})
it('should return an array with a single diagnostic when macro defined without name and parentheses', () => {
it('should return an array with a single diagnostics when macro defined without name and parentheses', () => {
const content = `
%macro ;
%put &sysmacroname;
@@ -55,7 +56,7 @@ describe('hasMacroParentheses', () => {
message: 'Macro definition missing name',
lineNumber: 2,
startColumnNumber: 3,
endColumnNumber: 10,
endColumnNumber: 9,
severity: Severity.Warning
}
])