-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to rubocop 1.x #57
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,7 +162,7 @@ Style/MethodCallWithoutArgsParentheses: | |
Style/MethodDefParentheses: | ||
Enabled: true | ||
|
||
Style/MethodMissingSuper: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This cop changed to |
||
Style/MissingSuper: | ||
cjcolvar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Enabled: true | ||
|
||
Style/MissingRespondToMissing: | ||
|
@@ -795,7 +795,7 @@ Lint/UselessAccessModifier: | |
Lint/UselessAssignment: | ||
Enabled: true | ||
|
||
Lint/UselessComparison: | ||
Lint/BinaryOperatorWithIdenticalOperands: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This cop's name changed. |
||
Enabled: true | ||
|
||
Lint/UselessElseWithoutRescue: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
--- | ||
require: rubocop-rspec | ||
|
||
AllCops: | ||
RSpec: | ||
Patterns: | ||
RSpec: | ||
Include: | ||
Comment on lines
+4
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rubocop-rspec moved and renamed this property. |
||
- _spec.rb | ||
- "(?:^|/)spec/" | ||
|
||
|
@@ -25,7 +24,6 @@ RSpec/DescribeMethod: | |
|
||
RSpec/EmptyExampleGroup: | ||
Enabled: true | ||
CustomIncludeMethods: [] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This property is no longer supported by this cop. |
||
|
||
RSpec/ExampleLength: | ||
Enabled: true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this use
~>
instead?