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
There are cases when you have a valid exception to a linter rule, eg the inclusion of a URL over the 80 char line width.
We need a way to apply exceptions to rules beyond simply switching that rule off.
We can achieve that by adding a "pragma" - a marker inside a comment block, eg:
/*
@sasjs_lint_exception <ruleName> <scope>
*/
This has the double benefit that we can create a doxygen marker so that all the linting exceptions are listed alongside the regular HTML documentation (sasjs doc).
The text was updated successfully, but these errors were encountered:
allanbowe
changed the title
Enable linter exceptions
Refactor .sasjslint structure and enable setting-specific exceptions / severity level
Mar 26, 2021
As discussed with @allanbowe , we will implement exceptions using pragmas in comments.
/*
@sasjs_lint_exception <ruleName> <scope>
*/
allanbowe
changed the title
Refactor .sasjslint structure and enable setting-specific exceptions / severity level
implement exceptions using pragmas in comments.
Mar 29, 2021
There are cases when you have a valid exception to a linter rule, eg the inclusion of a URL over the 80 char line width.
We need a way to apply exceptions to rules beyond simply switching that rule off.
We can achieve that by adding a "pragma" - a marker inside a comment block, eg:
This has the double benefit that we can create a doxygen marker so that all the linting exceptions are listed alongside the regular HTML documentation (sasjs doc).
The text was updated successfully, but these errors were encountered: