Skip to content

Commit 2a82e0d

Browse files
O957dylanhmorrisdamonbayer
authored
Setup Jarl For Linting And Remove Lintr (#74)
* setup jarl; remove lintr * update output format; update fix * add default jarl toml for now * fix config * Update jarl.toml Co-authored-by: Damon Bayer <[email protected]> --------- Co-authored-by: Dylan H. Morris <[email protected]> Co-authored-by: Damon Bayer <[email protected]>
1 parent cc964e3 commit 2a82e0d

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

.github/workflows/jarl-check.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Lint R Code With JARL"
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: etiennebacher/[email protected]
15+
with:
16+
args: check . --fix --output-format github

.lintr

Lines changed: 0 additions & 2 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ repos:
2525
- id: ruff-format
2626
args: ['--line-length', '79']
2727
#####
28-
# R
29-
- repo: https://github.com/lorenzwalthert/precommit
30-
rev: v0.4.3.9017
31-
hooks:
32-
- id: lintr
33-
#####
3428
# Java
3529
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
3630
rev: v2.15.0

jarl.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[lint]
2+
default-exclude = true
3+
assignment = "<-"

0 commit comments

Comments
 (0)