diff options
| author | Xu Cheng | 2015-08-03 16:42:42 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-08-03 18:47:24 +0800 |
| commit | 3b68215be793774fafd9ce124a2065f5968f50e5 (patch) | |
| tree | ce913366f5bbb3c4c609c20522641a34c13eec9d | |
| parent | 670ca78eaa139f6a12db91c90208238edb8f9ad2 (diff) | |
| download | brew-3b68215be793774fafd9ce124a2065f5968f50e5.tar.bz2 | |
rubocop: remove conflicted rules
Since trailing commas in method argument lists are a syntax error in
1.8, let's enforce the default rule of `TrailingComma`(i.e. `no_comma`)
Closes Homebrew/homebrew#42398.
Signed-off-by: Xu Cheng <xucheng@me.com>
| -rw-r--r-- | Library/.rubocop.yml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index df5c5a9d9..2bf506a4b 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -74,10 +74,6 @@ Style/PercentLiteralDelimiters: '%W': '[]' '%x': '()' -# comma on last element is editor friendly -Style/TrailingComma: - EnforcedStyleForMultiline: comma - # conflicts with DSL-style path concatenation with `/` Style/SpaceAroundOperators: Enabled: false @@ -123,10 +119,6 @@ Style/TrailingBlankLines: Style/SignalException: EnforcedStyle: only_raise -# trailing commas in method argument lists are a syntax error in 1.8 -Style/TrailingComma: - Enabled: false - # we prefer compact if-else-end/case-when-end alignment Lint/EndAlignment: AlignWith: variable |
