-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.yml
44 lines (41 loc) · 875 Bytes
/
default.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
require: rubocop-rails
AllCops:
DisabledByDefault: true
SuggestExtensions: false
Exclude:
- "vendor/**/*"
- 'tmp/**/*'
Lint/Syntax:
Enabled: true
Layout/LineLength:
Max: 200
Layout/EmptyLines:
Enabled: true
Layout/EmptyLineBetweenDefs:
Enabled: true
Layout/EmptyLinesAroundArguments:
Enabled: true
Layout/EmptyLinesAroundBlockBody:
Enabled: true
Layout/IndentationConsistency:
Enabled: true
Layout/BlockAlignment:
Enabled: true
Layout/ArgumentAlignment:
Enabled: true
EnforcedStyle: with_fixed_indentation
Layout/FirstHashElementIndentation:
Enabled: true
EnforcedStyle: consistent
Layout/HashAlignment:
Enabled: true
Rails/HasManyOrHasOneDependent:
Enabled: true
Rails/ActionFilter:
Enabled: true
Rails/AddColumnIndex:
Enabled: true
Rails/AfterCommitOverride:
Enabled: true
Rails/CreateTableWithTimestamps:
Enabled: true