From 440e2dd6cdb5c95bb27aa5da87cc26ea041306f6 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Fri, 22 Sep 2023 00:01:41 +0200 Subject: [PATCH] update linter config --- .github/workflows/lint-changed-files.yaml | 1 + .github/workflows/lint.yaml | 1 + .lintr | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/lint-changed-files.yaml b/.github/workflows/lint-changed-files.yaml index d8b53464..c270947a 100644 --- a/.github/workflows/lint-changed-files.yaml +++ b/.github/workflows/lint-changed-files.yaml @@ -43,6 +43,7 @@ jobs: commented_code_linter = NULL, cyclocomp_linter(25L), extraction_operator_linter = NULL, + if_not_else_linter(exceptions = character(0L)), implicit_integer_linter = NULL, library_call_linter = NULL, line_length_linter(120L), diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6e722645..8b3287d6 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -44,6 +44,7 @@ jobs: commented_code_linter = NULL, cyclocomp_linter(25L), extraction_operator_linter = NULL, + if_not_else_linter(exceptions = character(0L)), implicit_integer_linter = NULL, library_call_linter = NULL, line_length_linter(120L), diff --git a/.lintr b/.lintr index e3a82a21..843f5e62 100644 --- a/.lintr +++ b/.lintr @@ -4,6 +4,7 @@ linters: linters_with_defaults( commented_code_linter = NULL, cyclocomp_linter(25L), extraction_operator_linter = NULL, + if_not_else_linter(exceptions = character(0L)), implicit_integer_linter = NULL, library_call_linter = NULL, line_length_linter(120L),