Skip to content

Commit 3a97549

Browse files
authored
Merge pull request #442 from nodeg/rubocop_performance
2 parents 930a32f + fdcf925 commit 3a97549

67 files changed

Lines changed: 1078 additions & 697 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.rubocop.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
inherit_from: .rubocop_todo.yml
22

33
plugins:
4+
- rubocop-performance
45
- rubocop-rake
56
- rubocop-rspec
67

78
AllCops:
8-
NewCops: disable
9+
NewCops: enable
910
TargetRubyVersion: 3.4
1011
Exclude:
11-
- 'lib/template/*.spec'
12+
- "lib/template/*.spec"
13+
- "vendor/**/*"
14+
- "tmp/**/*"
15+
16+
Style/FrozenStringLiteralComment:
17+
Enabled: true
18+
EnforcedStyle: always
1219

1320
Layout/LineLength:
1421
Max: 140
@@ -31,5 +38,11 @@ Metrics/PerceivedComplexity:
3138
Style/StringLiterals:
3239
EnforcedStyle: double_quotes
3340

41+
Style/StringLiteralsInInterpolation:
42+
EnforcedStyle: double_quotes
43+
3444
Style/MultilineBlockChain:
3545
Enabled: false
46+
47+
RSpec/MultipleExpectations:
48+
Max: 10

0 commit comments

Comments
 (0)