Sha256: 3fa1918642fcaa6afd731b5b3e7fb9cb4919a5e40c85d2a2e62a024b0f4a38ea

Contents?: true

Size: 1.82 KB

Versions: 9

Compression:

Stored size: 1.82 KB

Contents

# Rubocop does not support 2.0
Gemspec/RequiredRubyVersion: {Enabled: false}

Rails: {Enabled: true}

Layout/AlignParameters:
  # Disable, till rubocop supports combination of styles.
  # Use one of this styles where appropriate, keep it clean, compact and readable.
  Enabled: false
  # EnforcedStyle:
  # - with_first_parameter
  # - with_fixed_indentation

# Breaks
#
#   I18n.t(key,
#     param: val,
#     # ...
#   )
Layout/ClosingParenthesisIndentation: {Enabled: false}
Layout/DotPosition: {EnforcedStyle: trailing}
Layout/FirstParameterIndentation: {EnforcedStyle: consistent}
# Same as Layout/ClosingParenthesisIndentation
Layout/MultilineMethodCallBraceLayout: {Enabled: false}
Layout/MultilineMethodCallIndentation: {EnforcedStyle: indented}
Layout/MultilineOperationIndentation: {EnforcedStyle: indented}
Layout/SpaceInsideHashLiteralBraces: {EnforcedStyle: no_space}

# Offences named scopes and `expect {}.to change {}`.
Lint/AmbiguousBlockAssociation: {Enabled: false}

Naming/PredicateName: {Enabled: false}
Naming/VariableNumber: {EnforcedStyle: snake_case}

Style/Alias: {Enabled: false}
Style/AndOr: {EnforcedStyle: conditionals}
Style/Documentation: {Enabled: false}
Style/IfUnlessModifier: {Enabled: false}

# Consistent to other definitions.
Style/EmptyMethod: {EnforcedStyle: expanded}

Style/Lambda: {EnforcedStyle: literal}
Style/ModuleFunction: {Enabled: false}
Style/NestedParenthesizedCalls: {Enabled: false}
Style/SignalException: {EnforcedStyle: only_raise}
Style/TrailingCommaInArguments: {Enabled: false}
Style/TrailingCommaInLiteral: {EnforcedStyleForMultiline: comma}

Metrics/AbcSize: {Max: 21}
# Other metrics are just enough.
# This one offences all specs, routes and some initializers.
Metrics/BlockLength: {Enabled: false}
Metrics/LineLength: {Max: 100}
Metrics/MethodLength: {Max: 30}
Metrics/CyclomaticComplexity: {Max: 8}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
telegram-bot-0.16.1 .rubocop.yml
telegram-bot-0.16.0 .rubocop.yml
telegram-bot-0.15.7 .rubocop.yml
telegram-bot-0.15.6 .rubocop.yml
telegram-bot-0.15.4 .rubocop.yml
telegram-bot-0.15.3 .rubocop.yml
telegram-bot-0.15.2 .rubocop.yml
telegram-bot-0.15.1 .rubocop.yml
telegram-bot-0.15.0 .rubocop.yml