From 4b03f9115ed0f156c7a93af3c390396f87d68c27 Mon Sep 17 00:00:00 2001 From: John Coene Date: Sun, 3 Dec 2023 11:32:11 +0100 Subject: [PATCH] chore: add lintr --- .lintr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .lintr diff --git a/.lintr b/.lintr new file mode 100644 index 0000000..36cb6c8 --- /dev/null +++ b/.lintr @@ -0,0 +1,15 @@ +linters: linters_with_defaults( + line_length_linter(120), + trailing_whitespace_linter = NULL, + commented_code_linter = NULL, + function_left_parentheses_linter = NULL, + spaces_left_parentheses_linter = NULL, + paren_body_linter = NULL, + brace_linter = NULL, + indentation_linter( + indent = 2L, + hanging_indent_style = "never" + ), + object_usage_linter = NULL # this uses eval() + ) +encoding: "UTF-8"