Skip to content

Commit

Permalink
Merge pull request #25 from ssi-dk/repo-sync/diseasy/default
Browse files Browse the repository at this point in the history
chore: synced file(s) with ssi-dk/diseasy
  • Loading branch information
RasmusSkytte authored Jan 15, 2025
2 parents ad43756 + c7478de commit 90b2159
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linting/0_linters.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ diseasy_code_linters <- function() {
"documentation_template_linter" = documentation_template_linter()
),
lintr::all_linters(
object_length_linter = lintr::object_length_linter(length = 40L), # We allow for longer variable names
line_length_linter = NULL, # We use 120, nolint-aware line length linter instead
cyclocomp_linter = NULL, # Not required in diseasy style guide
keyword_quote_linter = NULL, # Not required in diseasy style guide
Expand Down Expand Up @@ -269,7 +270,7 @@ param_and_field_linter <- function() {

# Remove auto-generated documentation
detection_info <- detection_info |>
dplyr::filter(!stringr::str_detect(.data$rd_line, r"{@(param|field) +[\.\w]+ +`r }"))
dplyr::filter(!stringr::str_detect(.data$rd_line, r"{@(param|field) +[\.\,\w]+ +`r }"))



Expand Down

0 comments on commit 90b2159

Please sign in to comment.