Merge pull request #4288 from consul/dependabot/bundler/rubocop-rails-2.9.1
Bump rubocop-rails from 2.6.0 to 2.9.1
This commit is contained in:
14
.rubocop.yml
14
.rubocop.yml
@@ -217,6 +217,9 @@ Performance/EndWith:
|
||||
Performance/StartWith:
|
||||
Enabled: true
|
||||
|
||||
Rails/ActiveRecordCallbacksOrder:
|
||||
Enabled: true
|
||||
|
||||
Rails/CreateTableWithTimestamps:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
@@ -270,6 +273,9 @@ Rails/OutputSafety:
|
||||
Exclude:
|
||||
- app/helpers/text_with_links_helper.rb
|
||||
|
||||
Rails/PluckId:
|
||||
Enabled: true
|
||||
|
||||
Rails/PluralizationGrammar:
|
||||
Enabled: true
|
||||
|
||||
@@ -295,7 +301,7 @@ Rails/SaveBang:
|
||||
|
||||
Rails/SkipsModelValidations:
|
||||
Enabled: true
|
||||
Blacklist:
|
||||
ForbiddenMethods:
|
||||
- update_attribute
|
||||
Exclude:
|
||||
- lib/acts_as_paranoid_aliases.rb
|
||||
@@ -322,6 +328,12 @@ Rails/UnknownEnv:
|
||||
Rails/Validation:
|
||||
Enabled: true
|
||||
|
||||
Rails/WhereEquals:
|
||||
Enabled: true
|
||||
|
||||
Rails/WhereNot:
|
||||
Enabled: true
|
||||
|
||||
RSpec/AroundBlock:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user