-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
39 lines (31 loc) · 639 Bytes
/
.rubocop.yml
File metadata and controls
39 lines (31 loc) · 639 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
38
39
---
inherit_from:
- https://relaxed.ruby.style/rubocop.yml
plugins:
- rubocop-packaging
- rubocop-performance
- rubocop-rspec
AllCops:
Exclude:
- bin/*
- extra/**/*
- spec/dummy_rails/**/*
- vendor/**/*
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.0
Lint/MissingSuper:
Exclude:
- lib/tiny_admin/views/**/*
Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true
RSpec/ExampleLength:
Max: 20
Style/ExplicitBlockArgument:
Enabled: false
Style/GuardClause:
Exclude:
- lib/tiny_admin/router.rb
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes