# This configuration was generated by # `rubocop --auto-gen-config` # on 2019-06-29 18:42:52 +0900 using RuboCop version 0.72.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: 6135 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 2088 Metrics/AbcSize: # The ABC size is a calculated magnitude, so this number can be a Fixnum or # a Float. Max: 20 Exclude: - "lib/r2-oas/schema/v3/generator/schema_generator.rb" - "lib/r2-oas/schema/v3/analyzer.rb" - "lib/r2-oas/schema/v3/generator/components/request_body_generator.rb" - "lib/r2-oas/schema/v3/manager/pathname_manager.rb" - "lib/r2-oas/schema/v3/manager/diff/base_hash_diff_manager.rb" - "lib/r2-oas/routing/components/request_component.rb" - "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb" - "spec/support/helpers/config_helper.rb" Style/Documentation: Enabled: false Style/GuardClause: Enabled: false Metrics/BlockLength: Exclude: - "r2-oas.gemspec" - "lib/r2-oas/tasks/main.rake" - "lib/r2-oas/tasks/tool.rake" - "spec/r2-oas/routing/adjustor_spec.rb" - "spec/r2-oas/routing/components/request_component_spec.rb" - "spec/r2-oas/schema/v3/object/paths_object_spec.rb" - "spec/r2-oas/schema/v3/object/external_document_object_spec.rb" - "spec/r2-oas/schema/v3/manager/pathname_manager_spec.rb" - "spec/r2-oas/schema/v3/manager/diff/base_hash_diff_manager_spec.rb" - "spec/r2-oas/schema/v3/manager/file/base_file_manager_spec.rb" - "spec/r2-oas/routing/parser_spec.rb" - "spec/r2-oas/routing/components/path_component_spec.rb" - "spec/r2-oas/schema/v3/object/components/request_body_object_spec.rb" - "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb" - "spec/r2-oas/schema/v3/object/path_item_object_spec.rb" - "spec/r2-oas/configuration/paths_config_spec.rb" - "spec/r2-oas/tasks/main_spec.rb" - "spec/r2-oas/tasks/tool_spec.rb" - "spec/r2-oas/configuration_spec.rb" - "spec/r2-oas/schema/v3/generator_spec.rb" - "spec/r2-oas/schema/v3/analyzer_spec.rb" - "spec/support/helpers/config_helper.rb" - "spec/r2-oas/schema/v3/object/components_object_spec.rb" - "spec/r2-oas/schema/v3/object/base_object_spec.rb" - "spec/r2-oas/schema/v3/manager/diff/base_array_diff_manager_spec.rb" - "spec/r2-oas/schema/v3/manager/file/include_ref_base_file_manager_spec.rb" - "spec/r2-oas/schema/v3/generator/base_generator_spec.rb" - "spec/r2-oas/schema/v3/object/openapi_object_spec.rb" - "spec/r2-oas/schema/v3/object/info_object_spec.rb" Lint/AmbiguousOperator: Exclude: - "lib/r2-oas/app_configuration/swagger.rb" - "lib/r2-oas/app_configuration/tool/paths/stats.rb" - "lib/r2-oas/app_configuration/swagger/ui.rb" - "lib/r2-oas/app_configuration/swagger/editor.rb" - "lib/r2-oas/app_configuration/tool.rb" - "lib/r2-oas/configuration.rb" - "lib/r2-oas/app_configuration/server.rb" - "lib/r2-oas/schema/v3/object/base_object.rb" - "lib/r2-oas/base.rb" - "lib/r2-oas/routing/parser.rb" - "lib/r2-oas/app_configuration.rb" - "lib/r2-oas/pluggable_configuration.rb" Metrics/MethodLength: Exclude: - "lib/r2-oas/logger/stdout_logger.rb" - "lib/r2-oas/routing/adjustor.rb" - "lib/r2-oas/routing/parser.rb" - "lib/r2-oas/hooks/hook.rb" - "lib/r2-oas/task_logging.rb" - "lib/r2-oas/schema/ui.rb" - "lib/r2-oas/schema/editor.rb" - "lib/r2-oas/shared/sortable.rb" - "lib/r2-oas/app_configuration.rb" - "lib/r2-oas/schema/v3/analyzer/path_analyzer.rb" - "lib/r2-oas/schema/v3/analyzer/base_analyzer.rb" - "lib/r2-oas/schema/v3/analyzer/components/request_bodies_analyzer.rb" - "lib/r2-oas/schema/v3/analyzer/components/schemas_analyzer.rb" - "lib/r2-oas/schema/v3/analyzer/tag_analyzer.rb" - "lib/r2-oas/schema/v3/analyzer.rb" - "lib/r2-oas/schema/v3/object/paths_object.rb" - "lib/r2-oas/schema/v3/object/components_object.rb" - "lib/r2-oas/schema/v3/object/path_item_object.rb" - "lib/r2-oas/schema/v3/object/info_object.rb" - "lib/r2-oas/schema/v3/manager/diff/base_array_diff_manager.rb" - "lib/r2-oas/schema/v3/manager/diff/base_hash_diff_manager.rb" - "lib/r2-oas/schema/v3/manager/file/components/request_body_file_manager.rb" - "lib/r2-oas/schema/v3/manager/file/path_item_file_manager.rb" - "lib/r2-oas/schema/v3/manager/file/include_ref_base_file_manager.rb" - "lib/r2-oas/schema/v3/manager/pathname_manager.rb" - "lib/r2-oas/schema/v3/generator/path_generator.rb" - "lib/r2-oas/schema/v3/generator/components/request_body_generator.rb" - "lib/r2-oas/schema/v3/generator/schema_generator.rb" - "lib/r2-oas/schema/v3/generator/components/schema_generator.rb" - "lib/r2-oas/schema/v3/generator/doc_generator.rb" - "lib/r2-oas/schema/v3/object/components/request_body_object.rb" - "lib/r2-oas/schema/v3/squeezer/path_squeezer.rb" - "lib/r2-oas/schema/v3/generator/components/object_generator.rb" - "lib/r2-oas/routing/components/request_component.rb" - "spec/support/helpers/config_helper.rb" - "lib/r2-oas/schema/v3/analyzer/components/object_analyzer.rb" Metrics/CyclomaticComplexity: Exclude: - "lib/r2-oas/logger/stdout_logger.rb" - "lib/r2-oas/schema/v3/manager/pathname_manager.rb" Naming/ConstantName: Exclude: - "lib/r2-oas/logger/stdout_logger.rb" Naming/PredicateName: Exclude: - "lib/r2-oas/hooks/hook.rb" - "lib/r2-oas/plugins/schema/v3/object/hookable_base_object.rb" Style/DoubleNegation: Exclude: - "lib/r2-oas/hooks/hook.rb" Style/MultilineBlockChain: Exclude: - "lib/r2-oas/routing/parser.rb" Naming/MemoizedInstanceVariableName: Exclude: - "lib/r2-oas/configuration.rb" Naming/AccessorMethodName: Exclude: - "lib/r2-oas/configuration.rb" - "lib/r2-oas/app_configuration.rb" - "lib/r2-oas/pluggable_configuration.rb" Style/AsciiComments: Exclude: - "lib/r2-oas/logger/stdout_logger.rb" - "lib/r2-oas/schema/v3/analyzer/path_analyzer.rb" Lint/UnderscorePrefixedVariableName: Exclude: - "lib/r2-oas/logger/stdout_logger.rb" - "lib/r2-oas/schema/v3/object/components/request_body_object.rb" Lint/UselessAccessModifier: Exclude: - "lib/r2-oas/pluggable_configuration.rb" Style/IdenticalConditionalBranches: Exclude: - "lib/r2-oas/schema/editor.rb" Style/ClassVars: Exclude: - "lib/r2-oas/plugins/schema/v3/object/hookable_base_object.rb" Style/AccessModifierDeclarations: Exclude: - "lib/r2-oas/app_configuration.rb" Style/NumericPredicate: Exclude: - "lib/r2-oas/schema/v3/generator/base_generator.rb" Metrics/ClassLength: Exclude: - "lib/r2-oas/schema/v3/object/path_item_object.rb" Metrics/ParameterLists: Exclude: - "lib/r2-oas/schema/v3/object/path_item_object.rb" - "lib/r2-oas/schema/v3/object/components/schema_object.rb" - "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb" Layout/EndAlignment: Exclude: - "lib/r2-oas/shared/sortable.rb" - "lib/r2-oas/schema/v3/generator/doc_generator.rb" Security/YAMLLoad: Exclude: - "lib/r2-oas/schema/editor.rb" Naming/FileName: Exclude: - "spec/r2-oas_spec.rb" - "lib/r2-oas.rb" Naming/MethodName: Exclude: - "spec/support/helpers/create_helper.rb" - "spec/support/helpers/path_helper.rb" Naming/HeredocDelimiterNaming: Exclude: - "spec/r2-oas/configuration/paths_config_spec.rb" - "r2-oas.gemspec" Style/ClassAndModuleChildren: Exclude: - "spec/dummy_app/controllers/api/v1/tasks_controller.rb" Lint/RequireParentheses: Exclude: - "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb"