Skip to content

Commit 34e63c4

Browse files
Add {lintr} precommit hook
Closes #1055
1 parent 8a63d95 commit 34e63c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ repos:
2020
tests/testmanual/addins/.*invalid.*|
2121
tests/testmanual/addins/r-valid\.R|
2222
)$
23+
- id: lintr
24+
additional_dependencies:
25+
- r-lib/lintr
26+
warn-only: true
27+
verbose: True
2328
- id: roxygenize
2429
additional_dependencies:
2530
- r-lib/pkgapi

0 commit comments

Comments
 (0)