# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-11-02 18:52:46 +0900 using RuboCop version 0.60.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: 1 # Cop supports --auto-correct. Layout/EmptyLinesAroundAccessModifier: Exclude: - 'lib/wovnrb/text_caches/memory_cache.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLinesAroundMethodBody: Exclude: - 'test/lib/text_caches/memory_cache_test.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'lib/wovnrb/lang.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/IndentHash: Exclude: - 'lib/wovnrb/text_caches/cache_base.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent Layout/IndentHeredoc: Exclude: - 'test/lib/lang_test.rb' - 'test/lib/wovnrb_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: - 'lib/wovnrb/text_caches/memory_cache.rb' # Offense count: 3 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/wovnrb/helpers/nokogumbo_helper.rb' # Offense count: 1 Lint/DuplicateMethods: Exclude: - 'test/lib/headers_test.rb' # Offense count: 1 Lint/ElseLayout: Exclude: - 'lib/wovnrb/headers.rb' # Offense count: 1 Lint/ImplicitStringConcatenation: Exclude: - 'test/lib/lang_test.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/wovnrb/text_caches/cache_base.rb' # Offense count: 5 Lint/UselessAssignment: Exclude: - 'test/lib/store_test.rb' # Offense count: 22 Metrics/AbcSize: Max: 100 # Offense count: 1 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 40 # Offense count: 2 # Configuration parameters: CountBlocks. Metrics/BlockNesting: Max: 4 # Offense count: 10 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 4997 # Offense count: 14 Metrics/CyclomaticComplexity: Max: 22 # Offense count: 45 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 95 # Offense count: 12 Metrics/PerceivedComplexity: Max: 22 # Offense count: 3 Naming/AccessorMethodName: Exclude: - 'lib/wovnrb/services/wovn_logger.rb' - 'lib/wovnrb/text_caches/cache_base.rb' # Offense count: 120 # Configuration parameters: . # SupportedStyles: snake_case, camelCase Naming/MethodName: EnforcedStyle: snake_case Exclude: - 'test/lib/headers_test.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'Rakefile' - 'lib/wovnrb/helpers/nokogumbo_helper.rb' # Offense count: 1 Style/CaseEquality: Exclude: - 'lib/wovnrb/lang.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: is_a?, kind_of? Style/ClassCheck: Exclude: - 'lib/wovnrb/store.rb' # Offense count: 6 Style/ClassVars: Exclude: - 'lib/wovnrb/text_caches/cache_base.rb' - 'lib/wovnrb/text_caches/memory_cache.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Keywords. # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW Style/CommentAnnotation: Exclude: - 'lib/wovnrb/headers.rb' # Offense count: 13 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/wovnrb.rb' - 'lib/wovnrb/api_translator.rb' - 'lib/wovnrb/headers.rb' - 'lib/wovnrb/helpers/nokogumbo_helper.rb' - 'lib/wovnrb/lang.rb' - 'lib/wovnrb/railtie.rb' - 'lib/wovnrb/services/html_converter.rb' - 'lib/wovnrb/services/html_replace_marker.rb' - 'lib/wovnrb/services/wovn_logger.rb' - 'lib/wovnrb/settings.rb' - 'lib/wovnrb/store.rb' - 'lib/wovnrb/text_caches/cache_base.rb' - 'lib/wovnrb/text_caches/memory_cache.rb' # Offense count: 2 Style/DoubleNegation: Exclude: - 'lib/wovnrb.rb' - 'lib/wovnrb/services/html_converter.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: each, for Style/For: Exclude: - 'test/lib/headers_test.rb' # Offense count: 4 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/wovnrb/services/html_converter.rb' - 'lib/wovnrb/store.rb' - 'test/lib/api_translator_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' # Offense count: 13 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'Gemfile' - 'Rakefile' - 'lib/wovnrb/helpers/nokogumbo_helper.rb' - 'lib/wovnrb/store.rb' - 'lib/wovnrb/text_caches/memory_cache.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: - 'lib/wovnrb/store.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/wovnrb/store.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: short, verbose Style/PreferredHashMethods: Exclude: - 'lib/wovnrb/store.rb' - 'lib/wovnrb/text_caches/memory_cache.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: . # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact # Offense count: 22 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'lib/wovnrb/api_translator.rb' - 'lib/wovnrb/headers.rb' - 'lib/wovnrb/lang.rb' - 'lib/wovnrb/services/html_converter.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'lib/wovnrb/api_translator.rb' - 'lib/wovnrb/lang.rb' - 'lib/wovnrb/services/wovn_logger.rb' # Offense count: 1 # Cop supports --auto-correct. Style/StderrPuts: Exclude: - 'lib/wovnrb/services/wovn_logger.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Rakefile' - 'lib/wovnrb/store.rb' # Offense count: 7 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'Rakefile' - 'lib/wovnrb/helpers/nokogumbo_helper.rb' - 'lib/wovnrb/store.rb' # Offense count: 1436 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 1424