Skip to content

Commit 765b06f

Browse files
committed
feat: add pre-commit configuration for R code formatting with air
1 parent 83f9703 commit 765b06f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
# https://github.com/posit-dev/air
5+
- id: air
6+
name: Format R code with air
7+
entry: air format .
8+
language: system
9+
files: \.R$

0 commit comments

Comments
 (0)