Fixed CI linter YAML
This commit is contained in:
parent
461975c823
commit
66d0f0c730
1 changed files with 10 additions and 10 deletions
20
.github/workflows/linter.yml
vendored
20
.github/workflows/linter.yml
vendored
|
|
@ -40,16 +40,16 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
library(lintr)
|
library(lintr)
|
||||||
style_rules <- list(
|
style_rules <- list(
|
||||||
assignment_linter, closed_curly_linter, commas_linter,
|
assignment_linter(), brace_linter(), commas_linter(),
|
||||||
todo_comment_linter, equals_na_linter,
|
todo_comment_linter(), equals_na_linter(),
|
||||||
function_left_parentheses_linter, infix_spaces_linter,
|
function_left_parentheses_linter(), infix_spaces_linter(),
|
||||||
line_length_linter, no_tab_linter, open_curly_linter,
|
line_length_linter(), no_tab_linter(), brace_linter(),
|
||||||
paren_brace_linter, absolute_path_linter, nonportable_path_linter,
|
brace_linter(), absolute_path_linter(), nonportable_path_linter(),
|
||||||
pipe_continuation_linter, semicolon_terminator_linter,
|
pipe_continuation_linter(), semicolon_linter(),
|
||||||
single_quotes_linter, spaces_inside_linter,
|
single_quotes_linter(), spaces_inside_linter(),
|
||||||
trailing_blank_lines_linter, trailing_whitespace_linter,
|
trailing_blank_lines_linter(), trailing_whitespace_linter(),
|
||||||
undesirable_function_linter, undesirable_operator_linter,
|
undesirable_function_linter(), undesirable_operator_linter(),
|
||||||
unneeded_concatenation_linter
|
unneeded_concatenation_linter()
|
||||||
) # TODO: expand style rules as package matures
|
) # TODO: expand style rules as package matures
|
||||||
lint_package(linters = style_rules)
|
lint_package(linters = style_rules)
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue