-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
We already convert parser errors to lints (type = "error"), but what about parser warnings?
I came across such a warning when trying to lint r-devel, it came from a test file where the lint was intentional:
lintr::lint("tests/simple-true.R", linters = list())
# Warning messages:
# 1: In parse(text = source_expression$content, srcfile = source_expression, :
# non-integer value 1e-3L qualified with L; using numeric value
# 2: In parse(text = source_expression$content, srcfile = source_expression, :
# integer literal 1.L contains unnecessary decimal point
# 3: In parse(text = source_expression$content, srcfile = source_expression, :
# non-integer value 1e-3L qualified with L; using numeric value
# 4: In parse(text = source_expression$content, srcfile = source_expression, :
# integer literal 1.L contains unnecessary decimal pointShould those be returned as lints (type = "warning") instead?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement