2016-06-29 12:00:22 -04:00
|
|
|
# This configuration was generated by
|
2017-02-22 12:14:22 -05:00
|
|
|
# `rubocop --auto-gen-config --exclude-limit 0`
|
2017-07-09 11:05:21 -04:00
|
|
|
# on 2017-07-10 01:48:30 +0900 using RuboCop version 0.49.1.
|
2016-06-29 12:00:22 -04:00
|
|
|
# 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.
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 181
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
|
|
|
Layout/ExtraSpacing:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 119
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
|
|
Layout/IndentArray:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 208
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
|
|
Layout/IndentHash:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 8
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowForAlignment.
|
|
|
|
Layout/SpaceBeforeFirstArg:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 64
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: require_no_space, require_space
|
|
|
|
Layout/SpaceInLambdaLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 256
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
|
|
|
|
# SupportedStyles: space, no_space
|
|
|
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
|
|
Layout/SpaceInsideBlockBraces:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 135
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/SpaceInsideParens:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 14
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/SpaceInsidePercentLiteralDelimiters:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 272
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/EmptyLineAfterFinalLet:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 181
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/EmptyLineAfterSubject:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 9
|
2017-04-07 20:23:13 -04:00
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: it_behaves_like, it_should_behave_like
|
|
|
|
RSpec/ItBehavesLike:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 4
|
|
|
|
RSpec/IteratedExpectation:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 2
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/OverwritingSetup:
|
2017-02-22 13:43:48 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 36
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/RepeatedExample:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 86
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/ScatteredLet:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 20
|
2017-02-22 13:43:48 -05:00
|
|
|
RSpec/ScatteredSetup:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-01-05 17:03:08 -05:00
|
|
|
# Offense count: 1
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/SharedContext:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 115
|
2017-02-22 13:43:48 -05:00
|
|
|
Rails/FilePath:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 2
|
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: db/migrate/*.rb
|
|
|
|
Rails/ReversibleMigration:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 336
|
2017-02-22 13:43:48 -05:00
|
|
|
# Configuration parameters: Blacklist.
|
|
|
|
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
|
|
|
|
Rails/SkipsModelValidations:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 11
|
2017-02-22 12:14:22 -05:00
|
|
|
# Cop supports --auto-correct.
|
2017-02-22 13:43:48 -05:00
|
|
|
Security/YAMLLoad:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-02-22 17:54:59 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 58
|
2017-02-22 17:39:43 -05:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: percent_q, bare_percent
|
|
|
|
Style/BarePercentLiterals:
|
|
|
|
Enabled: false
|
2017-01-05 17:03:08 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 6
|
2016-09-14 15:50:11 -04:00
|
|
|
# Cop supports --auto-correct.
|
2016-07-03 16:18:39 -04:00
|
|
|
Style/EachWithObject:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 31
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: empty, nil, both
|
|
|
|
Style/EmptyElse:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 9
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/EmptyLiteral:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-01-05 17:03:08 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 78
|
2017-01-05 17:03:08 -05:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: compact, expanded
|
|
|
|
Style/EmptyMethod:
|
2016-07-13 14:39:14 -04:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 23
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: format, sprintf, percent
|
|
|
|
Style/FormatString:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 301
|
2016-07-03 16:18:39 -04:00
|
|
|
# Configuration parameters: MinBodyLength.
|
|
|
|
Style/GuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 18
|
2016-07-03 16:18:39 -04:00
|
|
|
Style/IfInsideElse:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 182
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: MaxLineLength.
|
|
|
|
Style/IfUnlessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 52
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: line_count_dependent, lambda, literal
|
|
|
|
Style/Lambda:
|
2016-07-13 14:39:14 -04:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-04-07 20:23:13 -04:00
|
|
|
# Offense count: 6
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/LineEndConcatenation:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 40
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-02-22 13:43:48 -05:00
|
|
|
Style/MethodCallWithoutArgsParentheses:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 13
|
2016-09-14 15:50:11 -04:00
|
|
|
Style/MethodMissing:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-09-14 15:50:11 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 6
|
2017-01-05 17:03:08 -05:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/MultilineIfModifier:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-01-05 17:03:08 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 26
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/NestedParenthesizedCalls:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 20
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
|
|
|
# SupportedStyles: skip_modifier_ifs, always
|
|
|
|
Style/Next:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 45
|
2016-06-29 12:00:22 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedOctalStyle, SupportedOctalStyles.
|
|
|
|
# SupportedOctalStyles: zero_with_o, zero_only
|
|
|
|
Style/NumericLiteralPrefix:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-02-21 19:04:05 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 98
|
2016-09-14 15:50:11 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-01-05 17:03:08 -05:00
|
|
|
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
|
2016-09-14 15:50:11 -04:00
|
|
|
# SupportedStyles: predicate, comparison
|
|
|
|
Style/NumericPredicate:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 42
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/ParallelAssignment:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 800
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: PreferredDelimiters.
|
|
|
|
Style/PercentLiteralDelimiters:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 15
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/PerlBackrefs:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-02-21 19:04:05 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 105
|
2016-07-03 16:18:39 -04:00
|
|
|
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
|
|
|
# NamePrefix: is_, has_, have_
|
|
|
|
# NamePrefixBlacklist: is_, has_, have_
|
|
|
|
# NameWhitelist: is_a?
|
|
|
|
Style/PredicateName:
|
2017-08-24 12:26:24 -04:00
|
|
|
Enabled: true
|
|
|
|
# NamePrefix: is_
|
|
|
|
NamePrefixBlacklist: is_
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 58
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: compact, exploded
|
|
|
|
Style/RaiseArgs:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 6
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantBegin:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 37
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantFreeze:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 14
|
2017-01-05 17:03:08 -05:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
|
|
Style/RedundantReturn:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-02-21 19:04:05 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 406
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantSelf:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 115
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 29
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RescueModifier:
|
2017-01-11 04:48:29 -05:00
|
|
|
Enabled: false
|
2016-10-04 07:28:01 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 8
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/SelfAssignment:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
|
|
|
# Offense count: 50
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowIfMethodIsEmpty.
|
|
|
|
Style/SingleLineMethods:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 64
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: SupportedStyles.
|
|
|
|
# SupportedStyles: use_perl_names, use_english_names
|
|
|
|
Style/SpecialGlobalVars:
|
|
|
|
EnforcedStyle: use_perl_names
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 44
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
|
|
Style/StringLiteralsInInterpolation:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-01-11 04:48:29 -05:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 84
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: IgnoredMethods.
|
|
|
|
# IgnoredMethods: respond_to, define_method
|
|
|
|
Style/SymbolProc:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 8
|
2016-09-14 15:50:11 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
|
2017-01-05 17:03:08 -05:00
|
|
|
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
2016-09-14 15:50:11 -04:00
|
|
|
Style/TernaryParentheses:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-09-14 15:50:11 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 17
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowNamedUnderscoreVariables.
|
|
|
|
Style/TrailingUnderscoreVariable:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 4
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
|
|
|
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
|
|
|
Style/TrivialAccessors:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 5
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/UnlessElse:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 28
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/UnneededInterpolation:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 11
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/ZeroLengthPredicate:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|