From 7c134b4e6640c48e21dc963d09b9ff852393572e Mon Sep 17 00:00:00 2001 From: Maximilian Scholz Date: Sat, 14 Mar 2026 13:36:38 +0100 Subject: [PATCH] feat(r): add Jarl as fast R linter with autofix --- desloppify/languages/r/__init__.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/desloppify/languages/r/__init__.py b/desloppify/languages/r/__init__.py index 39677c7c..2c4ccfe8 100644 --- a/desloppify/languages/r/__init__.py +++ b/desloppify/languages/r/__init__.py @@ -1,4 +1,4 @@ -"""R language plugin — lintr + tree-sitter.""" +"""R language plugin — Jarl, lintr + tree-sitter.""" from desloppify.languages._framework.generic_support.core import generic_lang from desloppify.languages._framework.treesitter import R_SPEC @@ -7,6 +7,14 @@ name="r", extensions=[".R", ".r"], tools=[ + { + "label": "jarl", + "cmd": "jarl check .", + "fmt": "gnu", + "id": "jarl_lint", + "tier": 2, + "fix_cmd": "jarl check . --fix --allow-dirty", + }, { "label": "lintr", "cmd": ( @@ -16,7 +24,7 @@ ), "fmt": "gnu", "id": "lintr_lint", - "tier": 2, + "tier": 3, "fix_cmd": None, }, ],