forked from Automattic/pocket-casts-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
55 lines (45 loc) · 1.18 KB
/
.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
46
47
48
49
50
51
52
53
54
55
AllCops:
Exclude:
- DerivedData/**/*
- Pods/**/*
- vendor/**/*
NewCops: enable
SuggestExtensions:
# For some reason, RuboCop suggests installing this, even though we don't use Rake
rubocop-rake: false
Layout/LineLength:
Exclude:
- 'scripts/themes/generate_themes.rb'
- fastlane/Fastfile
Metrics/AbcSize:
Exclude:
- 'scripts/themes/generate_themes.rb'
Metrics/BlockLength:
Exclude:
- fastlane/*file
- 'scripts/themes/generate_themes.rb'
Metrics/BlockNesting:
Exclude:
- fastlane/*file
- 'scripts/themes/generate_themes.rb'
Metrics/CyclomaticComplexity:
Exclude:
- 'scripts/themes/generate_themes.rb'
Metrics/MethodLength:
Exclude:
- 'scripts/themes/generate_themes.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'scripts/themes/generate_themes.rb'
Naming/AsciiIdentifiers:
Exclude:
# Uses rosé in code generation. If we decide to address this, it should be
# in a dedicated commit that updates the consuming Swift code, too.
- 'scripts/themes/generate_themes.rb'
Naming/FileName:
Exclude:
- fastlane/*file
- '**/*.podspec'
Style/Documentation:
Exclude:
- 'scripts/themes/generate_themes.rb'