-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop-spaces.yml
53 lines (41 loc) · 1.16 KB
/
.rubocop-spaces.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
#
# rubocop config file for auto-correction
#
# Do this:
# bundle exec rubocop -a -c ./rubocop-spaces.yml
#
AllCops:
# Disable all Cops
DisabledByDefault: true
DisplayCopNames: true
# Enables the result cache if true. Can be overridden by the --cache command
# line option.
UseCache: false
# Threshold for how many files can be stored in the result cache before some
# of the files are automatically removed.
MaxFilesInCache: 20000
# The cache will be stored in "rubocop_cache" under this directory. The name
# "/tmp" is special and will be converted to the system temporary directory,
# which is "/tmp" on Unix-like systems, but could be something else on other
# systems.
CacheRootDirectory: /tmp
Style/StringLiterals:
Enabled: true
Style/TrailingWhitespace:
Enabled: true
Style/TrailingWhitespace:
Enabled: true
Style/TrailingBlankLines:
Enabled: true
Style/BlockEndNewline:
Enabled: true
Style/EmptyLines:
Enabled: true
Style/EmptyLinesAroundBlockBody:
Enabled: true
Style/EmptyLinesAroundClassBody:
Enabled: true
Style/EmptyLinesAroundMethodBody:
Enabled: true
Style/EmptyLinesAroundModuleBody:
Enabled: true