-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.rubocop.yml
More file actions
37 lines (29 loc) · 621 Bytes
/
.rubocop.yml
File metadata and controls
37 lines (29 loc) · 621 Bytes
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
# frozen_string_literal: true
plugins:
- rubocop-minitest
- rubocop-performance
- rubocop-thread_safety
inherit_gem:
standard: config/base.yml
standard-performance: config/base.yml
AllCops:
NewCops: enable
TargetRubyVersion: 3.2
Include:
- "**/*.rb"
- "**/*.gemspec"
- "**/Gemfile"
- "**/Rakefile"
- Gemfile.lint
# Layout
Layout/LineLength:
Max: 100
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: space
# ThreadSafety
ThreadSafety/ClassAndModuleAttributes:
Enabled: false
ThreadSafety/ClassInstanceVariable:
Enabled: false
ThreadSafety/NewThread:
Enabled: false