1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/.rubocop_todo.yml

171 lines
4.2 KiB
YAML
Raw Normal View History

2016-02-15 18:13:45 -05:00
# Remove these configuration records
# one by one as the offenses are removed from the code base.
2016-02-15 16:50:25 -05:00
# Offense count: 19
Metrics/AbcSize:
2016-02-15 16:50:25 -05:00
Max: 159
# Offense count: 1
Metrics/BlockNesting:
Max: 5
2016-02-15 16:50:25 -05:00
# Offense count: 4
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 1106
2016-02-15 18:13:45 -05:00
Exclude:
- test/**/*
2016-02-15 16:50:25 -05:00
# Offense count: 6
Metrics/CyclomaticComplexity:
2016-02-15 16:50:25 -05:00
Max: 13
2016-02-15 16:50:25 -05:00
# Offense count: 18
# Configuration parameters: CountComments.
Metrics/MethodLength:
2016-02-15 16:50:25 -05:00
Max: 195
2016-02-15 16:50:25 -05:00
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
2016-02-15 16:50:25 -05:00
Max: 281
2016-02-15 16:50:25 -05:00
# Offense count: 6
Metrics/PerceivedComplexity:
2016-02-15 16:50:25 -05:00
Max: 16
# Offense count: 1
Style/AccessorMethodName:
Exclude:
- 'lib/paper_trail/has_paper_trail.rb'
2016-02-15 16:50:25 -05:00
# Offense count: 11
# Cop supports --auto-correct.
2016-02-15 16:50:25 -05:00
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: prefer_alias, prefer_alias_method
Style/Alias:
Exclude:
2016-02-15 16:50:25 -05:00
- 'lib/paper_trail.rb'
- 'lib/paper_trail/config.rb'
- 'lib/paper_trail/has_paper_trail.rb'
2016-02-15 16:50:25 -05:00
- 'lib/paper_trail/version_concern.rb'
- 'test/dummy/app/models/song.rb'
- 'test/unit/model_test.rb'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'test/unit/ar_id_map_test.rb'
2016-02-15 16:50:25 -05:00
# Offense count: 33
Style/Documentation:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
2016-02-15 16:50:25 -05:00
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
Style/FirstParameterIndentation:
Exclude:
- 'lib/paper_trail/serializers/json.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Exclude:
2016-02-15 16:50:25 -05:00
- 'test/dummy/config/application.rb'
2016-02-15 16:50:25 -05:00
# Offense count: 3
# Cop supports --auto-correct.
2016-02-15 16:50:25 -05:00
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Style/IndentHash:
Enabled: false
2016-02-15 16:50:25 -05:00
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Width.
Style/IndentationWidth:
Exclude:
- 'lib/paper_trail/has_paper_trail.rb'
2016-02-15 16:50:25 -05:00
- 'spec/models/widget_spec.rb'
2016-02-15 16:50:25 -05:00
# Offense count: 4
# Cop supports --auto-correct.
Style/Lambda:
Exclude:
- 'lib/paper_trail/has_paper_trail.rb'
- 'lib/paper_trail/version_concern.rb'
2016-02-15 16:50:25 -05:00
- 'test/dummy/app/models/widget.rb'
- 'test/unit/model_test.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/LeadingCommentSpace:
Exclude:
- 'test/unit/model_test.rb'
# Offense count: 6
# Cop supports --auto-correct.
Style/LineEndConcatenation:
Exclude:
- 'lib/generators/paper_trail/install_generator.rb'
- 'lib/paper_trail.rb'
- 'lib/paper_trail/config.rb'
- 'lib/paper_trail/has_paper_trail.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
2016-02-15 16:50:25 -05:00
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
Style/MethodDefParentheses:
Enabled: false
# Offense count: 2
Style/ModuleFunction:
Exclude:
- 'lib/paper_trail/serializers/json.rb'
- 'lib/paper_trail/serializers/yaml.rb'
# Offense count: 2
Style/MultilineBlockChain:
Exclude:
- 'lib/paper_trail/version_concern.rb'
2016-02-15 16:50:25 -05:00
# Offense count: 2
# Cop supports --auto-correct.
Style/MultilineBlockLayout:
Exclude:
- 'test/unit/model_test.rb'
# Offense count: 4
Style/MultilineTernaryOperator:
Exclude:
- 'lib/paper_trail/config.rb'
- 'lib/paper_trail/has_paper_trail.rb'
- 'lib/paper_trail/reifier.rb'
2016-02-15 16:50:25 -05:00
# Offense count: 4
# Cop supports --auto-correct.
Style/MutableConstant:
Exclude:
- 'lib/generators/paper_trail/templates/create_versions.rb'
- 'lib/paper_trail/version_number.rb'
- 'test/dummy/app/models/widget.rb'
- 'test/unit/associations_test.rb'
# Offense count: 1
Style/NestedParenthesizedCalls:
Exclude:
- 'lib/paper_trail/has_paper_trail.rb'
# Offense count: 3
# Cop supports --auto-correct.
Style/RescueModifier:
Exclude:
- 'lib/paper_trail/version_concern.rb'
2016-02-15 16:50:25 -05:00
- 'spec/models/version_spec.rb'
- 'test/dummy/app/models/person.rb'