Skip to content

Commit

Permalink
updated .lintr from packagetemplate due to unstable indentation_linter
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Aug 18, 2023
1 parent 2d9e08c commit b558831
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ linters: linters_with_tags(
implicit_integer_linter = NULL,
extraction_operator_linter = NULL,
todo_comment_linter = NULL,
function_argument_linter = NULL
function_argument_linter = NULL,
indentation_linter = NULL, # unstable as of lintr 3.1.0
# Use minimum R declared in DESCRIPTION or fall back to current R version.
# Install etdev package from https://github.com/epiverse-trace/etdev
backport_linter(if (length(x <- etdev::extract_min_r_version())) x else getRversion())
)

exclusions: list(
"tests/testthat.R" = list(unused_import_linter = Inf)
)

0 comments on commit b558831

Please sign in to comment.