mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
Adjust doc about exclusions
This commit is contained in:
parent
4f97027f7f
commit
cc903ad583
2 changed files with 2 additions and 2 deletions
|
@ -906,6 +906,7 @@ var = "terrible code down here..."
|
|||
- `.github/linters/.lintr`
|
||||
- You can pass multiple rules and overwrite default rules
|
||||
- You can use either one `.lintr` file in the root of your repository and/or additonal `.lintr` files in subdirectories. When linting a file lintr will look for config files from the file location upwards and will use the closest one.
|
||||
- Absolute paths for exclusions will not work due to the code being linted within the docker environment. Use paths relative to the `.lintr` file in which youare adding them.
|
||||
- **Note:** The defaults adhere to the [tidyverse styleguide](https://style.tidyverse.org/)
|
||||
|
||||
### lintr disable single line
|
||||
|
|
|
@ -1707,7 +1707,6 @@ if [ "${VALIDATE_R}" == "true" ]; then
|
|||
######################
|
||||
# Lint the R files #
|
||||
######################
|
||||
# LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY"
|
||||
LintCodebase "R" "lintr" "lintr::lint(File)" ".*\.\(r\|R\|Rmd\|rmd\)\$" "${FILE_ARRAY_R[@]}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue