2018-09-15 10:16:10 -04:00
|
|
|
inherit_from:
|
|
|
|
- https://raw.githubusercontent.com/thoughtbot/guides/master/style/ruby/.rubocop.yml
|
2018-09-27 21:35:05 -04:00
|
|
|
AllCops:
|
2018-10-04 21:07:56 -04:00
|
|
|
TargetRubyVersion: 2.3
|
2018-09-27 21:35:05 -04:00
|
|
|
Exclude:
|
|
|
|
- 'gemfiles/*'
|
2018-09-27 21:43:33 -04:00
|
|
|
- 'tmp/**/*'
|
2018-09-15 10:16:10 -04:00
|
|
|
|
|
|
|
# TODO:
|
|
|
|
# This configuration was generated by
|
|
|
|
# `rubocop --auto-gen-config`
|
|
|
|
# on 2018-09-18 22:44:09 -0400 using RuboCop version 0.54.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
|
|
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
|
|
Metrics/BlockLength:
|
|
|
|
Max: 26
|
|
|
|
|
|
|
|
# Offense count: 196
|
|
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
|
|
# URISchemes: http, https
|
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 189
|
|
|
|
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
|
|
|
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
|
|
|
# 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:
|
2018-10-07 18:02:54 -04:00
|
|
|
- 'spec/**/*'
|
2018-09-15 10:16:10 -04:00
|
|
|
|
|
|
|
# Configuration parameters: .
|
|
|
|
# SupportedStyles: annotated, template, unannotated
|
|
|
|
Style/FormatStringToken:
|
|
|
|
EnforcedStyle: unannotated
|
|
|
|
|
|
|
|
# Offense count: 4
|
|
|
|
Style/MethodMissing:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/factory_bot/decorator.rb'
|
|
|
|
- 'lib/factory_bot/decorator/invocation_tracker.rb'
|
|
|
|
- 'lib/factory_bot/definition_proxy.rb'
|
|
|
|
- 'lib/factory_bot/evaluator.rb'
|
|
|
|
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: MinSize.
|
|
|
|
# SupportedStyles: percent, brackets
|
|
|
|
Style/SymbolArray:
|
|
|
|
EnforcedStyle: brackets
|