Skip to content

Commit

Permalink
[ci] Exclude 'spec/' for MultilineBlockChain
Browse files Browse the repository at this point in the history
With exclude spec directory for this cop because we are using Rantly
that use multiline block.
  • Loading branch information
David Kang committed Dec 12, 2017
1 parent 62beb26 commit 09f26e0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ Style/CommandLiteral:
EnforcedStyle: percent_x

# Checks for chaining of a block after another block that spans multiple lines.
# We disabled this cop because of Rantly.
Style/MultilineBlockChain:
Exclude:
- 'src/api/spec/models/project_spec.rb'
- 'src/api/spec/models/package_spec.rb'
- 'src/api/spec/helpers/webui/package_helper_spec.rb'
- 'src/api/spec/models/kiwi/repository_spec.rb'

- 'src/api/spec/**/*'

# Checks for redundant `return` expressions
Style/RedundantReturn:
Enabled: false
Expand Down

0 comments on commit 09f26e0

Please sign in to comment.