# will produce lints
lint(
text = 'sprintf("hello %s %s %d", x, y)',
linters = sprintf_linter()
)
# okay
lint(
text = 'sprintf("hello %s %s %d", x, y, z)',
linters = sprintf_linter()
)
lint(
text = 'sprintf("hello %s %s %d", x, y, ...)',
linters = sprintf_linter()
)
Run the code above in your browser using DataLab