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
Convert "# nolint" to specific rule exception (#178)
# Pull Request
<!--- Replace `#nnn` with your issue link for reference. -->
Part of #172
#### Changes description
- Add new regex style to object_name_linter to account for ADaM
variables.
- See `.lintr` file
- `regexes = c(ANL = "^ANL_?[0-9]*$", ADaM =
"^r?ADSL|ADTTE|ADLB|ADRS|ADAE$"))`
- Allows for variables named `ANL` with optional underscore and numbers
after.
- note: can't use groups (`(rule_within_parenthesis)`) due to
[r-lib/lintr/issues/2188](r-lib/lintr#2188)
not being released yet.
- Convert other `# nolint` to specific `# nolint: <rule name>.` for
specificity
---------
Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
Co-authored-by: m7pr <marcin.kosinski.mk1@roche.com>
0 commit comments