forked from zinc-collective/convene
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
52 lines (39 loc) · 827 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
inherit_from: .rubocop_todo.yml
require:
- standard
- rubocop-rails
- rubocop-rspec
- rubocop-capybara
- rubocop-factory_bot
inherit_gem:
standard: config/base.yml
pundit: config/rubocop-rspec.yml
AllCops:
Exclude:
- db/schema.rb
- bin/*
- vendor/bundle/**/*
NewCops: enable
RSpec/Capybara/FeatureMethods:
Exclude:
- '**/*_system_spec.rb'
- spec/system/**/*_spec.rb
RSpec/MultipleExpectations:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/NestedGroups:
Max: 5
RSpec/ExampleLength:
Max: 10
Exclude:
- '**/*_system_spec.rb'
- spec/system/**/*_spec.rb
Style/TrailingCommaInArrayLiteral:
Exclude:
- db/schema.rb
Rails/CreateTableWithTimestamps:
Exclude:
- db/schema.rb
Capybara/ClickLinkOrButtonStyle:
EnforcedStyle: strict