# This configuration was generated by # `rubocop --auto-gen-config` # on 2019-09-12 08:37:20 -0700 using RuboCop version 0.73.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: 416 # 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: Enabled: false # Offense count: 38 # Cop supports --auto-correct. Layout/ClosingHeredocIndentation: Exclude: - 'spec/features/rule_spec.rb' - 'spec/support/components/netzke_combobox.rb' - 'spec/support/components/netzke_grid.rb' # Offense count: 57 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Enabled: false # Offense count: 32 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'app/components/marty/data_grid_view.rb' - 'app/components/marty/posting_window.rb' - 'lib/marty/logger.rb' - 'lib/marty/migrations.rb' - 'lib/marty/monkey.rb' - 'spec/controllers/rpc_controller_spec.rb' - 'spec/features/rule_spec.rb' - 'spec/lib/json_schema_spec.rb' - 'spec/models/data_grid_spec.rb' - 'spec/models/event_spec.rb' - 'spec/models/rule_spec.rb' - 'spec/models/script_spec.rb' # Offense count: 112 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/IndentFirstHashElement: Exclude: - 'app/components/marty/extras/layout.rb' - 'spec/controllers/diagnostic/controller_spec.rb' - 'spec/controllers/rpc_controller_spec.rb' - 'spec/controllers/rpc_import_spec.rb' - 'spec/lib/json_schema_spec.rb' - 'spec/models/api_auth_spec.rb' # Offense count: 93 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: squiggly, active_support, powerpack, unindent Layout/IndentHeredoc: Enabled: false # Offense count: 290 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Enabled: false # Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineHashBraceLayout: Exclude: - 'app/components/marty/event_view.rb' - 'app/components/marty/user_view.rb' - 'app/models/marty/delorean_rule.rb' - 'lib/marty/migrations.rb' - 'lib/marty/schema_helper.rb' - 'spec/features/rule_spec.rb' - 'spec/lib/json_schema_spec.rb' - 'spec/other/diagnostic/base_spec.rb' # Offense count: 118 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineMethodCallBraceLayout: Enabled: false # Offense count: 92 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: aligned, indented, indented_relative_to_receiver Layout/MultilineMethodCallIndentation: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineMethodDefinitionBraceLayout: Exclude: - 'lib/marty/data_importer.rb' # Offense count: 17 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: aligned, indented Layout/MultilineOperationIndentation: Exclude: - 'app/components/marty/main_auth_app.rb' - 'app/components/marty/script_tester.rb' - 'app/controllers/marty/application_controller.rb' - 'app/models/marty/script.rb' - 'app/models/marty/user.rb' - 'lib/marty/data_change.rb' - 'spec/controllers/application_controller_spec.rb' - 'spec/models/api_auth_spec.rb' - 'spec/models/script_spec.rb' - 'spec/support/shared_connection.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: IndentationWidth. Layout/Tab: Exclude: - 'app/components/marty/posting_window.rb' # Offense count: 1 Lint/AmbiguousBlockAssociation: Exclude: - 'spec/features/data_import_spec.rb' # Offense count: 2 Lint/AmbiguousOperator: Exclude: - 'app/components/marty/script_form.rb' - 'lib/marty/diagnostic/aws/ec2_instance.rb' # Offense count: 3 Lint/AmbiguousRegexpLiteral: Exclude: - 'spec/controllers/job_controller_spec.rb' - 'spec/models/posting_spec.rb' # Offense count: 1 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'app/components/marty/event_view.rb' # Offense count: 2 Lint/Debugger: Exclude: - 'spec/controllers/rpc_controller_spec.rb' - 'spec/lib/struct_compare_spec.rb' # Offense count: 3 Lint/DuplicateMethods: Exclude: - 'spec/support/components/netzke_grid.rb' - 'spec/support/shared_connection_db_helpers.rb' # Offense count: 2 # Configuration parameters: AllowComments. Lint/HandleExceptions: Exclude: - 'spec/support/netzke.rb' - 'lib/marty/delayed_job/scheduled_job_plugin.rb' # Offense count: 19 Lint/IneffectiveAccessModifier: Exclude: - 'app/components/marty/mcfly_grid_panel.rb' - 'app/models/marty/data_grid.rb' - 'app/models/marty/token.rb' - 'lib/marty/content_handler.rb' - 'lib/marty/diagnostic/reporter.rb' - 'lib/marty/migrations.rb' # Offense count: 1 Lint/InterpolationCheck: Exclude: - 'lib/marty/diagnostic/request.rb' # Offense count: 1 Lint/LiteralAsCondition: Exclude: - 'app/models/marty/promise.rb' # Offense count: 3 Lint/ParenthesesAsGroupedExpression: Exclude: - 'spec/lib/logger_spec.rb' - 'spec/models/user_spec.rb' - 'spec/support/suite.rb' # Offense count: 1 Lint/RescueException: Exclude: - 'lib/marty/promise_proxy.rb' # Offense count: 1 # Cop supports --auto-correct. Lint/ScriptPermission: Exclude: - 'Rakefile' # Offense count: 7 Lint/ShadowingOuterLocalVariable: Exclude: - 'app/models/marty/data_grid.rb' - 'lib/marty/api/base.rb' - 'lib/marty/data_change.rb' - 'lib/marty/data_conversion.rb' - 'lib/marty/diagnostic/base.rb' - 'lib/marty/diagnostic/database.rb' - 'lib/marty/json_schema.rb' # Offense count: 7 # Cop supports --auto-correct. Lint/StringConversionInInterpolation: Exclude: - 'app/components/marty/api_log_view.rb' - 'app/components/marty/import_view.rb' - 'spec/support/netzke.rb' # Offense count: 2 # Configuration parameters: AllowKeywordBlockArguments. Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/marty/monkey.rb' # Offense count: 4 Lint/UriEscapeUnescape: Exclude: - 'lib/marty/rpc_call.rb' - 'lib/marty/util.rb' - 'spec/features/reporting_spec.rb' # Offense count: 5 # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'app/components/marty/mcfly_grid_panel.rb' - 'app/models/marty/data_grid.rb' - 'lib/marty/content_handler.rb' - 'lib/marty/diagnostic/reporter.rb' - 'lib/marty/json_schema.rb' # Offense count: 90 Lint/UselessAssignment: Enabled: false # Offense count: 56 # Configuration parameters: CheckForMethodsWithNoSideEffects. Lint/Void: Exclude: - 'spec/lib/data_exporter_spec.rb' - 'spec/lib/data_importer_spec.rb' - 'spec/lib/xl_spec.rb' - 'spec/lib/xl_styles_spec.rb' - 'spec/models/posting_spec.rb' # Offense count: 107 Metrics/AbcSize: Max: 129 # Offense count: 21 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 452 # Offense count: 65 Metrics/CyclomaticComplexity: Max: 40 # Offense count: 169 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 98 # Offense count: 11 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 598 # Offense count: 17 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 10 # Offense count: 48 Metrics/PerceivedComplexity: Max: 35 # Offense count: 30 Naming/AccessorMethodName: Enabled: false # Offense count: 3 Naming/BinaryOperatorParameterName: Exclude: - 'lib/marty/monkey.rb' # Offense count: 12 Naming/ConstantName: Exclude: - 'spec/models/data_grid_spec.rb' # Offense count: 22 # Configuration parameters: EnforcedStyle. # SupportedStyles: lowercase, uppercase Naming/HeredocDelimiterCase: Exclude: - 'spec/controllers/rpc_controller_spec.rb' - 'spec/models/script_spec.rb' # Offense count: 64 # Configuration parameters: Blacklist. # Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: Exclude: - 'lib/marty/migrations.rb' - 'spec/features/rule_spec.rb' - 'spec/job_helper.rb' - 'spec/lib/data_exporter_spec.rb' - 'spec/lib/data_importer_spec.rb' - 'spec/lib/delorean_query_spec.rb' - 'spec/lib/mcfly_model_spec.rb' - 'spec/lib/xl_spec.rb' - 'spec/lib/xl_styles_spec.rb' - 'spec/models/data_grid_spec.rb' # Offense count: 10 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'app/components/marty/grid.rb' - 'app/components/marty/main_auth_app.rb' - 'app/models/marty/user.rb' - 'lib/marty/api/base.rb' - 'lib/marty/aws/base.rb' - 'lib/marty/diagnostic/packer.rb' - 'lib/marty/permissions.rb' # Offense count: 145 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: io, id, to, by, on, in, at, ip, db Naming/UncommunicativeMethodParamName: Enabled: false # Offense count: 3 # Configuration parameters: EnforcedStyle. # SupportedStyles: snake_case, camelCase Naming/VariableName: Exclude: - 'app/models/marty/enum.rb' - 'app/models/marty/tag.rb' - 'spec/features/enum_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/Casecmp: Exclude: - 'app/components/marty/base_rule_view.rb' # Offense count: 2 # Cop supports --auto-correct. Performance/CompareWithBlock: Exclude: - 'app/components/marty/report_select.rb' - 'app/models/marty/event.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IncludeActiveSupportAliases. Performance/DoubleStartEndWith: Exclude: - 'lib/marty/migrations.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnabledForFlattenWithoutParams. Performance/FlatMap: Exclude: - 'lib/marty/aws/request.rb' # Offense count: 5 # Cop supports --auto-correct. Performance/RedundantBlockCall: Exclude: - 'lib/marty/mcfly_model.rb' - 'spec/features/reporting_spec.rb' - 'spec/features/scripting_spec.rb' - 'spec/features/scripting_test_spec.rb' - 'spec/support/setup.rb' # Offense count: 4 # Cop supports --auto-correct. Performance/RedundantMatch: Exclude: - 'lib/marty/migrations.rb' - 'spec/support/components/netzke_combobox.rb' - 'spec/support/components/netzke_grid.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: MaxKeyValuePairs. Performance/RedundantMerge: Exclude: - 'app/components/marty/api_config_view.rb' - 'app/components/marty/base_rule_view.rb' - 'app/components/marty/data_grid_view.rb' - 'app/components/marty/event_view.rb' - 'app/components/marty/user_view.rb' # Offense count: 21 # Cop supports --auto-correct. Performance/Size: Exclude: - 'spec/features/rule_spec.rb' - 'spec/lib/mcfly_model_spec.rb' - 'spec/models/rule_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/StringReplacement: Exclude: - 'spec/lib/data_importer_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect. Performance/TimesMap: Exclude: - 'spec/models/data_grid_spec.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'app/models/marty/vw_promise.rb' - 'lib/marty/monkey.rb' - 'lib/marty/promise_proxy.rb' - 'spec/support/components/netzke_grid.rb' - 'spec/support/shared_connection.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'app/components/marty/import_view.rb' - 'app/models/marty/config.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: percent_q, bare_percent Style/BarePercentLiterals: Exclude: - 'app/components/marty/simple_app.rb' - 'app/models/marty/base_rule.rb' - 'app/models/marty/delorean_rule.rb' - 'lib/marty/rule_script_set.rb' - 'spec/features/rule_spec.rb' - 'spec/models/config_spec.rb' - 'spec/support/netzke.rb' # Offense count: 1 Style/CaseEquality: Exclude: - 'app/components/marty/report_form.rb' - 'app/models/marty/data_grid.rb' - 'app/helpers/marty/enum_helper.rb' - 'lib/marty/data_change.rb' - 'lib/marty/data_conversion.rb' - 'lib/marty/mcfly_model.rb' - 'lib/marty/monkey.rb' - 'other/marty/api/base.rb' - 'spec/lib/mcfly_model_spec.rb' - 'lib/marty/api/base.rb' # Offense count: 132 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Enabled: false # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: is_a?, kind_of? Style/ClassCheck: Exclude: - 'lib/marty/xl.rb' # Offense count: 34 Style/ClassVars: Exclude: - 'app/components/marty/api_log_view.rb' - 'app/components/marty/report_form.rb' - 'app/helpers/marty/script_set.rb' - 'app/models/marty/data_grid.rb' - 'app/models/marty/tag.rb' - 'lib/marty/api/base.rb' - 'lib/marty/data_conversion.rb' - 'lib/marty/diagnostic/base.rb' - 'lib/marty/diagnostic/request.rb' - 'lib/marty/rule_script_set.rb' - 'lib/marty/util.rb' - 'spec/support/helper.rb' - 'spec/support/post_run_logger.rb' - 'spec/support/shared_connection.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ColonMethodCall: Exclude: - 'app/components/marty/data_grid_view.rb' - 'app/components/marty/script_tester.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: Keywords. # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW Style/CommentAnnotation: Exclude: - 'app/controllers/marty/report_controller.rb' - 'app/models/marty/delorean_rule.rb' - 'app/models/marty/promise.rb' - 'lib/marty/xl.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'app/components/marty/auth_app.rb' - 'app/controllers/marty/application_controller.rb' - 'spec/other/diagnostic/reporter_spec.rb' - 'spec/support/components/netzke_combobox.rb' - 'spec/support/components/netzke_grid.rb' # Offense count: 164 Style/Documentation: Enabled: false # Offense count: 5 Style/DoubleNegation: Exclude: - 'app/components/marty/auth_app.rb' - 'app/components/marty/report_form.rb' - 'app/models/marty/data_grid.rb' - 'app/models/marty/event.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EachForSimpleLoop: Exclude: - 'spec/controllers/rpc_import_spec.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: compact, expanded Style/EmptyMethod: Exclude: - 'app/models/marty/data_grid.rb' - 'app/models/marty/pg_enum.rb' - 'spec/job_helper.rb' - 'spec/models/import_type_spec.rb' - 'spec/support/empty_job.rb' # Offense count: 15 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'Rakefile' - 'app/models/marty/script.rb' - 'marty.gemspec' - 'script/rails' - 'spec/controllers/rpc_controller_spec.rb' - 'spec/features/data_grid_spec.rb' - 'spec/features/rule_spec.rb' - 'spec/lib/struct_compare_spec.rb' - 'spec/models/data_grid_spec.rb' - 'spec/models/rule_spec.rb' - 'spec/models/script_spec.rb' - 'spec/spec_helper.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'app/components/marty/extras/misc.rb' - 'app/models/marty/base_rule.rb' - 'spec/controllers/rpc_controller_spec.rb' - 'spec/features/rule_spec.rb' - 'spec/lib/struct_compare_spec.rb' - 'spec/models/rule_spec.rb' - 'spec/support/performance_helper.rb' # Offense count: 9 # Configuration parameters: EnforcedStyle. # SupportedStyles: annotated, template, unannotated Style/FormatStringToken: Exclude: - 'app/models/marty/base_rule.rb' - 'spec/controllers/rpc_controller_spec.rb' - 'spec/features/rule_spec.rb' - 'spec/lib/struct_compare_spec.rb' - 'spec/models/rule_spec.rb' - 'spec/support/performance_helper.rb' # Offense count: 215 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 15 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'app/components/marty/mcfly_grid_panel.rb' - 'app/controllers/marty/application_controller.rb' - 'app/models/marty/config.rb' - 'app/models/marty/data_grid.rb' - 'app/models/marty/delorean_rule.rb' - 'app/models/marty/name_validator.rb' - 'app/models/marty/token.rb' - 'app/models/marty/user.rb' - 'lib/marty/json_schema.rb' - 'lib/marty/util.rb' - 'spec/lib/json_schema_spec.rb' - 'spec/support/post_run_logger.rb' # Offense count: 2 Style/IdenticalConditionalBranches: Exclude: - 'app/components/marty/mcfly_grid_panel.rb' # Offense count: 1 # Configuration parameters: AllowIfModifier. Style/IfInsideElse: Exclude: - 'lib/marty/data_change.rb' # Offense count: 5 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'app/components/marty/promise_view.rb' - 'app/models/marty/promise.rb' - 'app/models/marty/token.rb' # Offense count: 1 # Cop supports --auto-correct. Style/InfiniteLoop: Exclude: - 'app/models/marty/promise.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: InverseMethods, InverseBlocks. Style/InverseMethods: Exclude: - 'app/components/marty/report_form.rb' - 'app/components/marty/report_select.rb' - 'app/models/marty/delorean_rule.rb' - 'lib/marty/data_change.rb' - 'lib/marty/data_conversion.rb' - 'lib/marty/xl.rb' - 'spec/support/download_helper.rb' # Offense count: 30 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: line_count_dependent, lambda, literal Style/Lambda: Exclude: - 'app/components/marty/api_config_view.rb' - 'app/components/marty/api_log_view.rb' - 'app/components/marty/base_rule_view.rb' - 'app/components/marty/config_view.rb' - 'app/components/marty/event_view.rb' - 'app/components/marty/extras/layout.rb' - 'app/components/marty/log_view.rb' - 'app/components/marty/promise_view.rb' - 'app/components/marty/script_form.rb' - 'app/components/marty/script_grid.rb' - 'spec/lib/xl_spec.rb' - 'spec/lib/xl_styles_spec.rb' - 'spec/support/shared_connection.rb' # Offense count: 23 # Cop supports --auto-correct. Style/LineEndConcatenation: Exclude: - 'app/components/marty/posting_grid.rb' - 'app/controllers/marty/application_controller.rb' - 'lib/marty/data_change.rb' - 'lib/marty/data_importer.rb' - 'lib/marty/mcfly_model.rb' - 'lib/marty/migrations.rb' - 'spec/controllers/application_controller_spec.rb' - 'spec/features/reporting_spec.rb' - 'spec/features/user_view_spec.rb' - 'spec/models/api_auth_spec.rb' - 'spec/models/script_spec.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/MethodCallWithoutArgsParentheses: Exclude: - 'spec/features/log_view_spec.rb' - 'spec/features/rule_spec.rb' - 'spec/lib/xl_spec.rb' - 'spec/lib/xl_styles_spec.rb' # Offense count: 100 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline Style/MethodDefParentheses: Enabled: false # Offense count: 1 Style/MethodMissingSuper: Exclude: - 'lib/marty/promise_proxy.rb' # Offense count: 2 Style/MissingRespondToMissing: Exclude: - 'lib/marty/logger.rb' - 'lib/marty/promise_proxy.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, Autocorrect. # SupportedStyles: module_function, extend_self Style/ModuleFunction: Exclude: - 'spec/support/download_helper.rb' # Offense count: 8 Style/MultilineBlockChain: Exclude: - 'app/components/marty/report_select.rb' - 'app/models/marty/event.rb' - 'lib/marty/diagnostic/delayed_job_version.rb' - 'lib/marty/diagnostic/node.rb' - 'lib/marty/migrations.rb' - 'lib/marty/xl.rb' # Offense count: 21 # Cop supports --auto-correct. Style/MultilineIfModifier: Exclude: - 'app/components/marty/api_log_view.rb' - 'app/components/marty/script_form.rb' - 'app/components/marty/user_view.rb' - 'app/models/marty/base_rule.rb' - 'app/models/marty/data_grid.rb' - 'app/models/marty/delorean_rule.rb' - 'lib/marty/data_exporter.rb' - 'lib/marty/data_importer.rb' - 'lib/marty/json_schema.rb' - 'lib/marty/migrations.rb' - 'lib/marty/xl.rb' - 'spec/support/structure_compare.rb' # Offense count: 39 Style/MultilineTernaryOperator: Enabled: false # Offense count: 2 Style/MultipleComparison: Exclude: - 'app/components/marty/base_rule_view.rb' - 'lib/marty/xl.rb' # Offense count: 74 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Enabled: false # Offense count: 15 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: - 'app/components/marty/data_grid_view.rb' - 'app/components/marty/promise_view.rb' - 'app/components/marty/script_grid.rb' - 'app/components/marty/script_tester.rb' - 'app/components/marty/tag_grid.rb' - 'app/models/marty/config.rb' - 'app/models/marty/delorean_rule.rb' - 'app/models/marty/promise.rb' - 'app/models/marty/tag.rb' - 'lib/marty/data_change.rb' - 'lib/marty/data_exporter.rb' # Offense count: 1 # Cop supports --auto-correct. Style/NegatedWhile: Exclude: - 'spec/support/download_helper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Whitelist. # Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with Style/NestedParenthesizedCalls: Exclude: - 'spec/controllers/job_controller_spec.rb' # Offense count: 6 Style/NestedTernaryOperator: Exclude: - 'app/components/marty/base_rule_view.rb' - 'app/models/marty/base_rule.rb' - 'lib/marty/data_conversion.rb' - 'lib/marty/migrations.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength. # SupportedStyles: skip_modifier_ifs, always Style/Next: Exclude: - 'lib/marty/xl.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: Strict. Style/NumericLiterals: MinDigits: 7 # Offense count: 18 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'app/models/marty/event.rb' - 'lib/marty/content_handler.rb' - 'lib/marty/data_change.rb' - 'lib/marty/data_importer.rb' - 'lib/marty/xl.rb' # Offense count: 36 # Cop supports --auto-correct. Style/ParallelAssignment: Enabled: false # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions. Style/ParenthesesAroundCondition: Exclude: - 'lib/marty/aws/request.rb' - 'lib/marty/data_change.rb' - 'lib/marty/xl.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'app/components/marty/simple_app.rb' - 'app/models/marty/data_grid.rb' - 'lib/marty/migrations.rb' - 'spec/models/event_spec.rb' - 'spec/models/rule_spec.rb' # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: lower_case_q, upper_case_q Style/PercentQLiterals: Exclude: - 'app/models/marty/base_rule.rb' - 'spec/features/rule_spec.rb' - 'spec/models/config_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/PerlBackrefs: Exclude: - 'lib/marty/migrations.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'app/models/marty/delorean_rule.rb' - 'lib/marty/content_handler.rb' - 'lib/marty/migrations.rb' - 'lib/marty/monkey.rb' - 'lib/marty/xl.rb' - 'spec/models/event_spec.rb' # Offense count: 36 # Cop supports --auto-correct. Style/RescueModifier: Enabled: false # Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist. # Whitelist: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'app/components/marty/extras/layout.rb' - 'app/components/marty/script_grid.rb' - 'app/controllers/marty/application_controller.rb' - 'app/controllers/marty/diagnostic/controller.rb' - 'app/models/marty/config.rb' - 'app/models/marty/data_grid.rb' - 'app/models/marty/delorean_rule.rb' - 'app/models/marty/enum.rb' - 'app/models/marty/import_type.rb' - 'app/models/marty/tag.rb' - 'lib/marty/cache_adapters/mcfly_ruby_cache.rb' - 'lib/marty/data_importer.rb' - 'lib/marty/mcfly_model.rb' - 'lib/marty/xl.rb' - 'spec/support/chromedriver.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: Exclude: - 'app/components/marty/base_rule_view.rb' - 'app/components/marty/config_view.rb' - 'spec/controllers/rpc_controller_spec.rb' - 'spec/support/helper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: . # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: EnforcedStyle: use_perl_names # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: single_quotes, double_quotes Style/StringLiteralsInInterpolation: Exclude: - 'spec/spec_helper.rb' # Offense count: 2 Style/StructInheritance: Exclude: - 'lib/marty/promise_job.rb' - 'lib/marty/promise_ruby_job.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowSafeAssignment. # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex Style/TernaryParentheses: Exclude: - 'app/models/marty/data_grid.rb' - 'lib/marty/xl.rb' # Offense count: 40 # Cop supports --auto-correct. Style/TrailingBodyOnModule: Enabled: false # Offense count: 71 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArguments: Enabled: false # Offense count: 53 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArrayLiteral: Enabled: false # Offense count: 146 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Enabled: false # Offense count: 12 # Cop supports --auto-correct. Style/RedundantPercentQ: Exclude: - 'app/components/marty/simple_app.rb' - 'spec/features/rule_spec.rb' - 'spec/models/config_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSort: Exclude: - 'app/models/marty/event.rb' # Offense count: 97 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinSize, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: Enabled: false # Offense count: 137 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 100