AllCops: TargetRubyVersion: 2.4 DefaultFormatter: fuubar DisplayCopNames: true ExtraDetails: true Exclude: - spec/**/*.rb - vendor/**/*.rb Metrics/BlockLength: Exclude: - rakelib/**/*.rb - spec/**/*.rb - vendor/**/*.rb # It is 2017, UTF time! Style/AsciiComments: Enabled: false # Offense count: 1 Lint/AmbiguousOperator: Exclude: - 'lib/roda/endpoints/endpoint/collection.rb' # Offense count: 1 Lint/ShadowingOuterLocalVariable: Exclude: - 'lib/roda/endpoints/endpoint/item.rb' # Offense count: 3 Metrics/AbcSize: Max: 21 # Offense count: 1 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 81 # Offense count: 4 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 18 # Offense count: 1 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/roda/endpoints/endpoint/class_interface.rb'