-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
38 lines (30 loc) · 889 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
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml
# https://github.com/bbatsov/rubocop/blob/master/config/disabled.yml
# https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
require:
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.5
Exclude:
- 'vendor/**/*'
- 'test/**/*'
- 'bin/console'
- 'bin/setup'
- 'Rakefile'
- 'lib/geetest_ruby_sdk/version.rb'
# This cop checks whether the source file has a utf-8 encoding comment or not.
# This check makes sense only for code that should support Ruby 1.9,
# since in 2.0+ utf-8 is the default source file encoding.
Style/Encoding:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/MutableConstant:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*'