Skip to content

Commit 45354cf

Browse files
committed
Fiddle with .lintr.R even more
1 parent 5ce59ea commit 45354cf

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.Rbuildignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
^man-roxygen$
1919
^LICENSE\.md$
2020
^MAINTENANCE\.md$
21-
^\.lintr$
21+
^\.lintr\.R$
2222
^notes$
2323
^CRAN-SUBMISSION$

.lintr renamed to .lintr.R

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
linters: funs <- c(
1+
linters <- list(lintr::undesirable_function_linter(
2+
fun = c(
23
# Base messaging
34
"message" = "use cli::cli_inform()",
45
"warning" = "use cli::cli_warn()",
@@ -12,8 +13,6 @@ linters: funs <- c(
1213
"cli_alert_info" = "use cli::cli_inform()",
1314
"cli_alert_success" = "use cli::cli_inform()",
1415
"cli_alert_warning" = "use cli::cli_inform()"
15-
)
16-
list(lintr::undesirable_function_linter(
17-
fun = funs,
18-
symbol_is_undesirable = FALSE
19-
))
16+
),
17+
symbol_is_undesirable = FALSE
18+
))

0 commit comments

Comments
 (0)