Skip to content

Commit 8befacb

Browse files
committed
Use lint_package() in lint.yaml
1 parent 18e896e commit 8befacb

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# lintr provides static code analysis for R.
2-
# It checks for adherence to a given style,
3-
# identifying syntax errors and possible semantic issues,
4-
# then reports them to you so you can take action.
52
# More details at https://lintr.r-lib.org/
63

74
name: lint
@@ -34,7 +31,7 @@ jobs:
3431
extra-packages: lintr
3532

3633
- name: Run lintr
37-
run: lintr::sarif_output(lintr::lint_dir("."), "lintr-results.sarif")
34+
run: lintr::sarif_output(lintr::lint_package(), "lintr-results.sarif")
3835
shell: Rscript {0}
3936
continue-on-error: true
4037

0 commit comments

Comments
 (0)