Sha256: 39d82942456be86a01a6a2a7dfa10a9329ddcf2cf693ff3f548d0a5033855047

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 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'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cancancan-1.16.0 .rubocop_todo.yml