Skip to content

Commit

Permalink
Update lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
randef1ned committed Apr 22, 2024
1 parent aa27ee0 commit 7980fd4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ jobs:
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::lintr, local::.
needs: lint
- name: Install lintr
run: install.packages('lintr')
shell: Rscript {0}

- name: Lint
run: lintr::lint_package()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
with:
clean: false
branch: gh-pages
folder: docs
folder: docs
1 change: 0 additions & 1 deletion .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ linters: list(
linelen = line_length_linter(80),
notab = whitespace_linter(),
object_length = object_length_linter(),
object_usage = object_usage_linter(),
par_body = paren_body_linter(),
quotes = quotes_linter(),
semicolon = semicolon_linter(),
Expand Down

0 comments on commit 7980fd4

Please sign in to comment.