mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Enable Style/SpaceAroundOperators Rubocop
Cleared all the offenses for Style/SpaceAroundOperators Added a description for the Style/SpaceAroundOperators Rubocop.
This commit is contained in:
parent
945b4aac60
commit
4a9c971ec7
11 changed files with 21 additions and 34 deletions
|
|
@ -101,7 +101,10 @@ Metrics/ClassLength:
|
|||
Style/BracesAroundHashParameters:
|
||||
Enabled: true
|
||||
|
||||
#
|
||||
# Checks that operators have space around them, except for ** which should not have surrounding space.
|
||||
Style/SpaceAroundOperators:
|
||||
Enabled: true
|
||||
|
||||
Style/CaseEquality:
|
||||
Enabled: true
|
||||
|
||||
|
|
|
|||
|
|
@ -594,22 +594,6 @@ Style/SpaceAroundBlockParameters:
|
|||
Style/SpaceAroundEqualsInParameterDefault:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 12
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment.
|
||||
Style/SpaceAroundOperators:
|
||||
Exclude:
|
||||
- 'app/controllers/application_controller.rb'
|
||||
- 'app/models/conference.rb'
|
||||
- 'app/models/datatable.rb'
|
||||
- 'app/models/event.rb'
|
||||
- 'app/models/target.rb'
|
||||
- 'app/models/ticket.rb'
|
||||
- 'db/migrate/20141128073306_migrate_data_remove_column_include_cfp_in_splash_add_column_include_cfp.rb'
|
||||
- 'db/migrate/20150417050953_add_url_to_commercial.rb'
|
||||
- 'db/migrate/20151018152439_create_programs_table.rb'
|
||||
- 'spec/models/conference_spec.rb'
|
||||
|
||||
# Offense count: 223
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue