-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (38 loc) · 919 Bytes
/
.rubocop.yml
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
40
41
42
43
44
45
inherit_gem:
rubocop-github:
- config/default.yml
AllCops:
TargetRubyVersion: 3.1.4
NewCops: enable
Exclude:
- bin/**/*
- config/**/*
- db/schema.rb
- db/migrate/*.rb
- node_modules/**/*
- tmp/**/*
- vendor/**/*
- spec/**/*
Layout/EndAlignment:
AutoCorrect: true
Layout/IndentationWidth:
Width: 2
Style/HashSyntax:
Enabled: false
Style/StringLiterals:
Description: "Checks if uses of quotes match the configured preference."
StyleGuide: "#consistent-string-literals"
Enabled: true
EnforcedStyle: double_quotes
ConsistentQuotesInMultiline: true
Layout/LineLength:
Description: "Checks that line length does not exceed the configured limit."
Max: 100
AutoCorrect: true
Exclude:
- Gemfile
Bundler/OrderedGems:
Description: >-
Gems within groups in the Gemfile should be alphabetically sorted.
Enabled: true
ConsiderPunctuation: true