forked from openSUSE/osem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
39 lines (29 loc) · 773 Bytes
/
.rubocop.yml
File metadata and controls
39 lines (29 loc) · 773 Bytes
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
plugins:
- rubocop-rspec
- rubocop-rspec_rails
- rubocop-rails
- rubocop-capybara
- rubocop-performance
- rubocop-factory_bot
inherit_from: .rubocop_todo.yml
inherit_mode:
merge:
- Exclude
AllCops:
UseCache: true
CacheRootDirectory: tmp/rubocop_cache_rails_dir
MaxFilesInCache: 4000
Exclude:
- db/schema.rb
NewCops: enable
#################### Style ###########################
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
##################### Metrics ##################################
##################### Rails ##################################
##################### RSpec ##################################
RSpec/DescribeClass:
Exclude:
- "spec/views/**/*"
- "spec/ability/*"