Skip to content

Commit 229cfc2

Browse files
committed
update pre-commit config and lintr
1 parent cc964e3 commit 229cfc2

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.lintr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
linters: linters_with_defaults(object_usage_linter = NULL, return_linter = NULL, line_length_linter = NULL)
1+
linters: linters_with_defaults(object_usage_linter = NULL, return_linter = NULL, line_length_linter = NULL, indentation_linter = NULL, object_length_linter = NULL)
22
encoding: "UTF-8"

.pre-commit-config.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,7 @@ repos:
3030
rev: v0.4.3.9017
3131
hooks:
3232
- id: lintr
33-
#####
34-
# Java
35-
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
36-
rev: v2.15.0
37-
hooks:
38-
- id: pretty-format-java
39-
args: [--aosp,--autofix]
40-
#####
41-
# Julia
42-
# Due to lack of first-class Julia support, this needs Julia local install
43-
# and JuliaFormatter.jl installed in the library
44-
# - repo: https://github.com/domluna/JuliaFormatter.jl
45-
# rev: v1.0.39
46-
# hooks:
47-
# - id: julia-formatter
33+
files: \.R$|\.Rmd$
4834
#####
4935
# Secrets
5036
- repo: https://github.com/Yelp/detect-secrets

0 commit comments

Comments
 (0)