aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu ISHIKAWA <yuu.ishikawa@gmail.com>2015-06-22 14:35:38 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-22 14:35:38 -0700
commitb1f3a489efc6f4f9d172344c3345b9b38ae235e0 (patch)
treec786c587a472f32dad8b8243d981d3120a2ae978
parentafe35f0519bc7dcb85010a7eedcff854d4fc313a (diff)
downloadspark-b1f3a489efc6f4f9d172344c3345b9b38ae235e0.tar.gz
spark-b1f3a489efc6f4f9d172344c3345b9b38ae235e0.tar.bz2
spark-b1f3a489efc6f4f9d172344c3345b9b38ae235e0.zip
[SPARK-8537] [SPARKR] Add a validation rule about the curly braces in SparkR to `.lintr`
[[SPARK-8537] Add a validation rule about the curly braces in SparkR to `.lintr` - ASF JIRA](https://issues.apache.org/jira/browse/SPARK-8537) Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com> Closes #6940 from yu-iskw/SPARK-8537 and squashes the following commits: 7eec1a0 [Yu ISHIKAWA] [SPARK-8537][SparkR] Add a validation rule about the curly braces in SparkR to `.lintr`
-rw-r--r--R/pkg/.lintr2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/.lintr b/R/pkg/.lintr
index b10ebd35c4..038236fc14 100644
--- a/R/pkg/.lintr
+++ b/R/pkg/.lintr
@@ -1,2 +1,2 @@
-linters: with_defaults(line_length_linter(100), camel_case_linter = NULL)
+linters: with_defaults(line_length_linter(100), camel_case_linter = NULL, open_curly_linter(allow_single_line = TRUE), closed_curly_linter(allow_single_line = TRUE))
exclusions: list("inst/profile/general.R" = 1, "inst/profile/shell.R")