Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
68 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
AllCops: | ||
Include: | ||
- Rakefile | ||
Exclude: | ||
- spec/fixtures/** | ||
|
||
#- CocoaPods -----------------------------------------------------------------# | ||
|
||
# We adopted raise instead of fail. | ||
SignalException: | ||
EnforcedStyle: only_raise | ||
|
||
# They are idiomatic | ||
AssignmentInCondition: | ||
Enabled: false | ||
|
||
# Allow backticks | ||
AsciiComments: | ||
Enabled: false | ||
|
||
# Indentation clarifies logic branches in implementations | ||
IfUnlessModifier: | ||
Enabled: false | ||
|
||
# No enforced convention here. | ||
SingleLineBlockParams: | ||
Enabled: false | ||
|
||
# We only add the comment when needed. | ||
Encoding: | ||
Enabled: false | ||
|
||
#- CocoaPods support for Ruby 1.8.7 ------------------------------------------# | ||
|
||
HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
Lambda: | ||
Enabled: false | ||
|
||
|
||
#- CocoaPods specs -----------------------------------------------------------# | ||
|
||
# Allow for `should.match /regexp/`. | ||
AmbiguousRegexpLiteral: | ||
Exclude: | ||
- spec/** | ||
|
||
# Allow `object.should == object` syntax. | ||
Void: | ||
Exclude: | ||
- spec/** | ||
|
||
ClassAndModuleChildren: | ||
Exclude: | ||
- spec/** | ||
|
||
UselessComparison: | ||
Exclude: | ||
- spec/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,14 @@ | ||
AllCops: | ||
Include: | ||
- Rakefile | ||
Exclude: | ||
- lib/cocoapods-core/vendor/** | ||
- spec/fixtures/** | ||
|
||
inherit_from: rubocop-todo.yml | ||
|
||
#- CocoaPods -----------------------------------------------------------------# | ||
|
||
# We adopted raise instead of fail. | ||
SignalException: | ||
EnforcedStyle: only_raise | ||
|
||
# They are idiomatic | ||
AssignmentInCondition: | ||
Enabled: false | ||
|
||
# Allow backticks | ||
AsciiComments: | ||
Enabled: false | ||
|
||
# Indentation clarifies logic branches in implementations | ||
IfUnlessModifier: | ||
Enabled: false | ||
|
||
# No enforced convention here. | ||
SingleLineBlockParams: | ||
Enabled: false | ||
|
||
# We only add the comment when needed. | ||
Encoding: | ||
Enabled: false | ||
|
||
#- CocoaPods support for Ruby 1.8.7 ------------------------------------------# | ||
|
||
HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
Lambda: | ||
Enabled: false | ||
inherit_from: | ||
- rubocop-todo.yml | ||
- .rubocop-cocoapods.yml | ||
|
||
#- Core ----------------------------------------------------------------------- | ||
|
||
#- CocoaPods specs -----------------------------------------------------------# | ||
|
||
# Allow for `should.match /regexp/`. | ||
AmbiguousRegexpLiteral: | ||
Exclude: | ||
- spec/** | ||
|
||
# Allow `object.should == object` syntax. | ||
Void: | ||
Exclude: | ||
- spec/** | ||
|
||
ClassAndModuleChildren: | ||
AllCops: | ||
Exclude: | ||
- spec/** | ||
|
||
#- Core ----------------------------------------------------------------------- | ||
- spec/fixtures/** | ||
- lib/cocoapods-core/vendor/** | ||
|
||
FileName: | ||
Exclude: | ||
- lib/cocoapods-core.rb | ||
|
||
UselessComparison: | ||
Exclude: | ||
- spec/** | ||
|