diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 03e026ccee9..ca5afde75b1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +require: rubocop-rspec + AllCops: TargetRubyVersion: 2.1 # Cop names are not displayed in offense messages by default. Change behavior @@ -1071,3 +1073,51 @@ Rails/TimeZone: # Use validates :attribute, hash of validations. Rails/Validation: Enabled: false + +##################### RSpec ################################## + +RSpec/AnyInstance: + Enabled: false + +RSpec/DescribeClass: + Enabled: false + +RSpec/DescribeMethod: + Enabled: false + +RSpec/DescribedClass: + Enabled: false + +RSpec/ExampleLength: + Enabled: false + Max: 5 + +RSpec/ExampleWording: + Enabled: false + CustomTransform: + be: is + have: has + not: does not + IgnoredWords: [] + +RSpec/FilePath: + Enabled: false + CustomTransform: + RuboCop: rubocop + RSpec: rspec + +RSpec/Focus: + Enabled: true + +RSpec/InstanceVariable: + Enabled: false + +RSpec/MultipleDescribes: + Enabled: false + +RSpec/NotToNot: + EnforcedStyle: not_to + Enabled: false + +RSpec/VerifiedDoubles: + Enabled: false |