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, }, ],