mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 10:41:04 -05:00
add .lintr detection
This commit is contained in:
parent
6bb65aaa2c
commit
0f47f68445
3 changed files with 12 additions and 3 deletions
|
@ -1695,6 +1695,15 @@ fi
|
||||||
# R LINTING #
|
# R LINTING #
|
||||||
################
|
################
|
||||||
if [ "${VALIDATE_R}" == "true" ]; then
|
if [ "${VALIDATE_R}" == "true" ]; then
|
||||||
|
##########################
|
||||||
|
# Check for local config #
|
||||||
|
##########################
|
||||||
|
if [ ! -f "${GITHUB_WORKSPACE}/.lintr" ]; then
|
||||||
|
info " "
|
||||||
|
info "No .lintr configuration file found, using defaults."
|
||||||
|
cp $R_LINTER_RULES $GITHUB_WORKSPACE
|
||||||
|
fi
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Lint the R files #
|
# Lint the R files #
|
||||||
#######################
|
#######################
|
||||||
|
|
Loading…
Reference in a new issue