You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #212 this is not something that would always "work" given that the linter can only assess the file in question (or surrounding files in the filesystem)
There are many cases where the macro definition could be defined outside the file in question eg, the autoexec, stpinit reference, secondary SASjs Artefacts, the SASAUTOs false positives you already mentioned.
A reasonable workaround would be that we could include an 'ignore list' on a per file, or per project basis.
On that basis, if there is funding, we would build it.
Please can the linter report if an undeclared macro had been used?
Declared macros are considered to be:
<h4> SAS Macros </h4>
section of a job's header<h4> SAS Includes </h4>
)SAS Macro keywords (such as
%if
,%then
, and%do
) should not trigger the rule.It is accepted that macros made available to a job through the
SASAUTOS
system option will trigger false positives.The text was updated successfully, but these errors were encountered: