From 97a52c8ca729d24ef5e0e095e4ddd9e06e4a521c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lie=20Siberchicot?= Date: Fri, 2 Aug 2024 11:38:49 +0200 Subject: [PATCH] Add a lintr configuration file --- .Rbuildignore | 1 + .lintr | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .lintr diff --git a/.Rbuildignore b/.Rbuildignore index 8462a9ca..7cdbd067 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -6,3 +6,4 @@ README.md ^\.github$ share _pkgdown.yml +.lintr diff --git a/.lintr b/.lintr new file mode 100644 index 00000000..84cecc3c --- /dev/null +++ b/.lintr @@ -0,0 +1,7 @@ +linters: linters_with_defaults( + line_length_linter(250), + commented_code_linter = NULL, + trailing_whitespace_linter(allow_empty_lines = TRUE), + object_name_linter = NULL + ) +encoding: "UTF-8"