Skip to content

Commit aef73e5

Browse files
committed
build(rubocop): Merge rubocop-shared.yml into rubocop.yml
1 parent 6d74b53 commit aef73e5

File tree

2 files changed

+74
-89
lines changed

2 files changed

+74
-89
lines changed

.rubocop-shared.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

.rubocop.yml

Lines changed: 74 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,86 @@
1-
inherit_from:
2-
- .rubocop-shared.yml
3-
41
AllCops:
52
Exclude:
63
- db/schema.rb
74
- vendor/**/*
85
- bin/**/*
9-
- test/dummy/bin/**/*
10-
- test/dummy/db/schema.rb
6+
7+
Bundler/OrderedGems:
8+
Enabled: false
119

1210
Gemspec/OrderedDependencies:
1311
Enabled: false
1412

13+
Lint/AmbiguousRegexpLiteral:
14+
Enabled: false
15+
16+
Layout/SpaceInsideArrayLiteralBrackets:
17+
Enabled: false
18+
19+
Metrics/AbcSize:
20+
Enabled: false
21+
1522
Metrics/BlockLength:
1623
Exclude:
1724
- test/**/*
18-
- config/routes.rb
25+
- config/**/*
26+
27+
Metrics/ClassLength:
28+
Enabled: false
29+
30+
Metrics/CyclomaticComplexity:
31+
Max: 10
32+
33+
Metrics/PerceivedComplexity:
34+
Max: 10
35+
36+
Metrics/LineLength:
37+
Enabled: false
38+
39+
Metrics/MethodLength:
40+
Enabled: false
41+
42+
Naming/AccessorMethodName:
43+
Enabled: false
44+
45+
Style/ClassAndModuleChildren:
46+
Enabled: false
47+
48+
Style/ConditionalAssignment:
49+
Enabled: false
50+
51+
Style/Documentation:
52+
Enabled: false
53+
54+
Style/GuardClause:
55+
Enabled: false
56+
57+
Style/HashSyntax:
58+
Exclude:
59+
- db/migrate/*
60+
61+
Style/PercentLiteralDelimiters:
62+
Enabled: false
63+
64+
Style/IfUnlessModifier:
65+
Enabled: false
66+
67+
Style/StringLiterals:
68+
Enabled: false
69+
70+
Style/TrailingCommaInArguments:
71+
Enabled: false
72+
73+
TrailingCommaInHashLiteral:
74+
Enabled: false
75+
76+
Style/EmptyMethod:
77+
EnforcedStyle: expanded
78+
79+
Style/FrozenStringLiteralComment:
80+
Enabled: false
81+
82+
Style/SymbolArray:
83+
Enabled: false
84+
85+
Style/WordArray:
86+
Enabled: false

0 commit comments

Comments
 (0)