Sha256: 38d6ce3bc0a3b7d7c2027d049166a51e45bba71333beb6266c4dd8878a069a18

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-12-14 08:11:19 +0100 using RuboCop version 0.45.0.
# 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: 14
Metrics/AbcSize:
  Max: 25

# Offense count: 5
Metrics/CyclomaticComplexity:
  Max: 9

# Offense count: 14
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 21


Metrics/BlockLength:
  Max: 28
  Exclude:
    - "**/*_spec.rb"

# Offense count: 7
Metrics/PerceivedComplexity:
  Max: 11

# TODO: due to mongoid. can't be fixed
# Offense count: 1
Performance/FixedSize:
  Exclude:
    - 'spec/cancan/model_adapters/mongoid_adapter_spec.rb'


# TODO: fixing this would change the APIs
# Offense count: 2
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
  Exclude:
    - 'spec/**/*'
    - 'lib/cancan/ability.rb'

Style/SymbolArray:
  Enabled: false

Style/InverseMethods:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cancancan-1.17.0 .rubocop_todo.yml