forked from RailsEventStore/rails_event_store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
48 lines (37 loc) · 1.19 KB
/
.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
AllCops:
TargetRubyVersion: 2.5
Exclude:
- rails_event_store_active_record/lib/rails_event_store_active_record/generators/templates/*
- bounded_context/lib/generators/templates/*
- support/helpers/0_18_2_migration_template.rb
- contrib/**/*
- railseventstore.org/**/*
- bounded_context/spec/dummy_*/**/*
- "**/bin/*"
- ruby_event_store-browser/elm/node_modules/**/*
Lint/UselessAssignment:
Exclude:
- ruby_event_store/lib/ruby_event_store/spec/event_repository_lint.rb
- "**/spec/*"
Lint/SuppressedException:
Enabled: false
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/ClassAndModuleChildren:
EnforcedStyle: nested
AutoCorrect: true
Style/StringLiterals:
EnforcedStyle: double_quotes