From a766d739cd95ef92a3e2aa6bc379f5656d0438e8 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 25 Sep 2022 09:32:32 +0200 Subject: [PATCH] Include `expect_*()` linters in `.lintr_new` As discussed here: https://github.com/r-lib/lintr/pull/1548#discussion_r979355818 --- .lintr_new | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.lintr_new b/.lintr_new index c7a3cb29a..5ed47d1c6 100644 --- a/.lintr_new +++ b/.lintr_new @@ -1,6 +1,16 @@ linters: linters_with_defaults( implicit_integer_linter(), line_length_linter(120), + expect_comparison_linter(), + expect_identical_linter(), + expect_length_linter(), + expect_named_linter(), + expect_not_linter(), + expect_null_linter(), + expect_s3_class_linter(), + expect_s4_class_linter(), + expect_true_false_linter(), + expect_type_linter(), backport_linter("oldrel-4", except = "R_user_dir") ) exclusions: list(