forked from wordpress-mobile/WordPress-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
43 lines (35 loc) · 838 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
AllCops:
Exclude:
- DerivedData/**/*
- Pods/**/*
- vendor/**/*
- WordPressAuthenticator/**/*
- WordPressKit/**/*
NewCops: enable
Metrics/BlockLength:
# "xfiles" is a standin for `Fast-`, `Pod-`, and `Rake-file`
Exclude: &xfiles
- fastlane/Fastfile
- fastlane/lanes/*.rb
- Podfile
- Rakefile
Metrics/MethodLength:
Max: 30
Exclude: *xfiles
Layout/LineLength:
Max: 165
Exclude: *xfiles
Layout/EmptyLines:
Exclude: *xfiles
Style/MutableConstant:
Exclude:
# CocoaPods mutates some input values.
# It's simpler to relax this rule than to address each individually by passing mutable copies.
- Gutenberg/cocoapods_helpers.rb
Style/AsciiComments:
Exclude: *xfiles
Naming/FileName:
Exclude:
- fastlane/Matchfile
Style/HashSyntax:
EnforcedShorthandSyntax: never