From d9536d43ba9cade4024fabac1204d1ef93646400 Mon Sep 17 00:00:00 2001 From: assignUser Date: Sun, 16 Aug 2020 01:27:41 +0000 Subject: [PATCH] fix whitespace --- docs/disabling-linters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 8cf1c6f1..bfde2625 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -916,7 +916,7 @@ var = "terrible code down here..." ### lintr disable code block -```r +```r # nolint start hotGarbage = 1++1/3+2 #a very long comment line @@ -926,7 +926,7 @@ var = "terrible code down here..." Add files to exclude into the config file as a list of filenames to exclude from linting. You can use a named item to exclude only certain lines from a file. -```r +```r exclusions: list("inst/doc/creating_linters.R" = 1, "inst/example/bad.R", "tests/testthat/exclusions-test") ``` ---