# will produce lints
lint(
text = 'tibble(x = "a", )',
linters = missing_argument_linter()
)
# okay
lint(
text = 'tibble(x = "a")',
linters = missing_argument_linter()
)
lint(
text = 'tibble(x = "a", )',
linters = missing_argument_linter(except = "tibble")
)
lint(
text = 'tibble(x = "a", )',
linters = missing_argument_linter(allow_trailing = TRUE)
)
Run the code above in your browser using DataLab