Sha256: 49855641486756479642ead41f96847335119056b296ffe5da5759724c8e677a
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
AllCops: Exclude: - 'spec/samples/**/*' - 'tmp/**/*' - 'vendor/**/*' # FIXME: Lower the ABC size by fixing the biggest offenders Metrics/AbcSize: Max: 25 # FIXME: Make the class shorter Metrics/ClassLength: Exclude: - lib/reek/core/tree_walker.rb # FIXME: Lower the method length by fixing the biggest offenders Metrics/MethodLength: Max: 46 # Be a little more lenient with line length Metrics/LineLength: Max: 100 # Allow small arrays of words with quotes Style/WordArray: MinSize: 3 # Allow single-line method definitions Style/SingleLineMethods: Enabled: false # Always use raise to signal exceptions Style/SignalException: EnforcedStyle: only_raise # Allow multiple Hash parameters to look similar Style/BracesAroundHashParameters: EnforcedStyle: context_dependent # Place . on the previous line Style/DotPosition: EnforcedStyle: trailing # Require empty lines between defs, except for one-line defs Style/EmptyLineBetweenDefs: AllowAdjacentOneLineDefs: true # Enforce GaurdClause if there are 2 or more lines in the body Style/GuardClause: MinBodyLength: 2 # Allow s() Style/MethodCallParentheses: Enabled: false # Allow multiline block chains Style/MultilineBlockChain: Enabled: false # Allow Perl-style references to regex matches Style/PerlBackrefs: Enabled: false # Only register TrivialAccessors offenses when the name matches Style/TrivialAccessors: ExactNameMatch: true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-2.1.0 | .rubocop.yml |