`maxLineLengthCards` feature
allanbowe opened this issue · comments
Datalines cannot be split over multiple lines, as each line represents an input data record. So it makes no sense to include them in the line length limit.
There are multiple 'flavours' of datalines. Each will begin / end with a line that begins with the markers below
section begin | section end |
---|---|
datalines; |
; |
datalines4; |
;;;; |
cards; |
; |
cards4; |
;;;; |
parmcards; |
; |
parmcards4; |
;;;; |
You probably do want to have a check for long data lines. First there are limits to what SAS will accept as a line length for a program file Second if your datalines are longer than your program lines then they belong in a separate text file.
Hmm, you do have a point about the batch line length limit.
Ok so the plan will be to have a maxLineLengthCards
(to work only with datalines) that will default to max(maxLineLengthCards,maxLineLength)
🎉 This issue has been resolved in version 2.2.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
via Hubstaff
User: Sabir Hassan
Project: SASjs lint - https://app.hubstaff.com/projects/2310878
Date Range: 01/10/23 - 01/11/23
Work session total: 5:16:01
Billable: Yes
Grand total: 5:16:01