File tree Expand file tree Collapse file tree 3 files changed +184
-60
lines changed Expand file tree Collapse file tree 3 files changed +184
-60
lines changed Original file line number Diff line number Diff line change 4
4
TargetRubyVersion : 2.4
5
5
TargetRailsVersion : 5.2
6
6
7
+ NewCops : enable
8
+
7
9
Exclude :
8
10
- ' **/vendor/**/*'
9
11
- ' **/tmp/**/*'
@@ -33,20 +35,20 @@ Layout/CaseIndentation:
33
35
Layout/EmptyLineBetweenDefs :
34
36
AllowAdjacentOneLineDefs : true
35
37
38
+ Layout/SpaceAroundEqualsInParameterDefault :
39
+ Enabled : false
40
+
36
41
Layout/SpaceBeforeBlockBraces :
37
42
# "space" is used more than "no_space".
38
43
# But "no_space" is more natural in one liner.
39
44
# str = path.to_s.split(%r{[/\\]}).select{|p| !p.blank?}.join("/")
40
45
Enabled : false
41
46
42
- # You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
43
47
Layout/SpaceInsideBlockBraces :
44
- EnforcedStyle : no_space
45
- SpaceBeforeBlockParameters : false
48
+ Enabled : false
46
49
47
- # You can see results by "rubocop --only Layout/SpaceInsideHashLiteralBraces"
48
50
Layout/SpaceInsideHashLiteralBraces :
49
- EnforcedStyle : no_space
51
+ Enabled : false
50
52
51
53
Lint/RaiseException :
52
54
Enabled : true
@@ -123,6 +125,9 @@ Style/IdenticalConditionalBranches:
123
125
- ' config/initializers/10-patches.rb'
124
126
- ' lib/redmine/wiki_formatting/textile/redcloth3.rb'
125
127
128
+ Style/RaiseArgs :
129
+ Enabled : false
130
+
126
131
Style/TrailingCommaInArrayLiteral :
127
132
Enabled : false
128
133
You can’t perform that action at this time.
0 commit comments