# This configuration was generated by # `rubocop --auto-gen-config` # on 2019-05-24 12:59:49 +0900 using RuboCop version 0.70.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: 3 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/AlignHash: Exclude: - 'spec/lib/config_spec.rb' # Offense count: 20 # Cop supports --auto-correct. Layout/EmptyLineAfterGuardClause: Exclude: - 'lib/fusuma.rb' - 'lib/fusuma/command_executor.rb' - 'lib/fusuma/config.rb' - 'lib/fusuma/device.rb' - 'lib/fusuma/event_stack.rb' - 'lib/fusuma/gesture_event.rb' - 'lib/fusuma/libinput_commands.rb' - 'lib/fusuma/multi_logger.rb' - 'lib/fusuma/pinch.rb' - 'lib/fusuma/swipe.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Exclude: - 'lib/fusuma/device.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners. # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: - 'lib/fusuma/command_executor.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/fusuma/pinch.rb' - 'lib/fusuma/swipe.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist. # Whitelist: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'lib/fusuma.rb' # Offense count: 1 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - 'lib/fusuma/command_executor.rb' # Offense count: 1 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'spec/lib/command_executor_spec.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 87