mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
e66875ef51
Regenerated TODO file and copied recommended configuration from https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi guration Bug: T117984 Change-Id: I28c98a93b9385dd81d62b11fbf11069fcdb2c06c
70 lines
2.3 KiB
YAML
70 lines
2.3 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2015-12-09 16:08:32 +0100 using RuboCop version 0.35.1.
|
|
# The point is for the user to remove these configuration records
|
|
# one by one as the offenses are removed from the code base.
|
|
# Note that changes in the inspected code, or installation of new
|
|
# versions of RuboCop, may require this file to be generated again.
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoreEmptyBlocks.
|
|
Lint/UnusedBlockArgument:
|
|
Exclude:
|
|
- 'tests/browser/features/step_definitions/mmv_steps.rb'
|
|
- 'tests/browser/features/support/pages/commons_page.rb'
|
|
|
|
# Offense count: 26
|
|
# Configuration parameters: AllowURI, URISchemes.
|
|
Metrics/LineLength:
|
|
Max: 252
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: AllowedVariables.
|
|
Style/GlobalVars:
|
|
Exclude:
|
|
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/LeadingCommentSpace:
|
|
Exclude:
|
|
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
Style/RegexpLiteral:
|
|
Exclude:
|
|
- 'tests/browser/features/step_definitions/mmv_download_steps.rb'
|
|
- 'tests/browser/features/step_definitions/mmv_options_steps.rb'
|
|
- 'tests/browser/features/step_definitions/mmv_steps.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowAsExpressionSeparator.
|
|
Style/Semicolon:
|
|
Exclude:
|
|
- 'tests/browser/features/step_definitions/mmv_navigation_steps.rb'
|
|
|
|
# Offense count: 79
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/StringLiterals:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/TrailingBlankLines:
|
|
Exclude:
|
|
- 'tests/browser/features/step_definitions/mmv_download_steps.rb'
|
|
- 'tests/browser/features/step_definitions/mmv_navigation_steps.rb'
|
|
- 'tests/browser/features/step_definitions/mmv_options_steps.rb'
|
|
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/VariableName:
|
|
Enabled: false
|