Rung 6 of the #376 ratchet: `"lineEndings": "lf"` is enabled and promoted to "error". Its 37 findings are cleared and nothing but line endings changed. - 34 files ended without a newline; each now ends with exactly one LF. - 3 files were stored with CRLF (services/public/getgroups.sas and the two sas9 lineage services, getmetacols and getmetatables), against the repo's own `* text=auto eol=lf` in .gitattributes. They are converted to LF. Checked mechanically that this is whitespace only: for every changed file, HEAD's content and the new content are identical once CRLF is folded to LF and the trailing newline is stripped. VERIFICATION - `npm run lint:sas`: 0 warnings, 0 errors, exit 0. - `sasjs compile`: succeeds. - On sas.4gl.io, against a scratch appLoc seeded with makedata: "Tests that pass: 64/64 (100%)".
17 lines
273 B
SAS
17 lines
273 B
SAS
/**
|
|
@file
|
|
**/
|
|
|
|
libname DC "/YOUR/DC/LIB";
|
|
|
|
/* incorrect format was applied (date.) */
|
|
proc datasets lib=DC;
|
|
MODIFY mpe_review;
|
|
FORMAT reviewed_on_dttm datetime19.;
|
|
quit;
|
|
|
|
proc sql;
|
|
alter table dc.mpe_config add var_active num;
|
|
|
|
update dc.mpe_config set var_active=1;
|