Skip to content

Commit

Permalink
Fiddle with .lintr.R even more
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Nov 2, 2023
1 parent 5ce59ea commit 45354cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
^man-roxygen$
^LICENSE\.md$
^MAINTENANCE\.md$
^\.lintr$
^\.lintr\.R$
^notes$
^CRAN-SUBMISSION$
11 changes: 5 additions & 6 deletions .lintr → .lintr.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
linters: funs <- c(
linters <- list(lintr::undesirable_function_linter(
fun = c(
# Base messaging
"message" = "use cli::cli_inform()",
"warning" = "use cli::cli_warn()",
Expand All @@ -12,8 +13,6 @@ linters: funs <- c(
"cli_alert_info" = "use cli::cli_inform()",
"cli_alert_success" = "use cli::cli_inform()",
"cli_alert_warning" = "use cli::cli_inform()"
)
list(lintr::undesirable_function_linter(
fun = funs,
symbol_is_undesirable = FALSE
))
),
symbol_is_undesirable = FALSE
))

0 comments on commit 45354cf

Please sign in to comment.