tests/testthat/dummy_projects/project/partially_matched_exclusions.R

# nolint start: assign.
a = 2
# nolint end

# nolint start: s. warn (and lint) because of non-unique identifier
x <- 42; y <- 2
# nolint end

# nolint start: bogus_linter. warn because of nonexistent identifier

# nolint end

# nolint: hocus_pocus, bogus.

Try the lintr package in your browser

Any scripts or data that you put into this service are public.

lintr documentation built on Nov. 7, 2023, 5:07 p.m.