File tree 3 files changed +154
-106
lines changed
3 files changed +154
-106
lines changed Original file line number Diff line number Diff line change 2
2
AllCops :
3
3
Exclude :
4
4
- vendor/**/*
5
- Style/Encoding :
6
- Enabled : false
7
5
Documentation :
8
6
Enabled : false
9
- ParameterAlignment :
7
+ Layout/ ParameterAlignment :
10
8
Enabled : true
11
9
HashSyntax :
12
10
Enabled : true
13
11
LineLength :
14
12
Enabled : false
15
13
EmptyLinesAroundBlockBody :
16
14
Enabled : false
15
+ Style/Encoding :
16
+ Enabled : false
17
17
MethodLength :
18
18
Max : 40
19
19
NumericLiterals :
20
20
MinDigits : 10
21
21
Metrics/BlockLength :
22
- Max : 42
22
+ Max : 45 # needed for 6.1.1
23
23
Metrics/CyclomaticComplexity :
24
24
Max : 10
25
25
Metrics/PerceivedComplexity :
26
26
Max : 10
27
27
Metrics/AbcSize :
28
28
Max : 30
29
+ # Lint/AmbiguousBlockAssociation is incompatible with RSpec
30
+ # https://github.com/rubocop-hq/rubocop/issues/4222
31
+ Lint/AmbiguousBlockAssociation :
32
+ Enabled : false
33
+ Lint/AmbiguousRegexpLiteral :
34
+ Enabled : false
35
+ Style/NumericPredicate :
36
+ Enabled : false
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- #!/usr/bin/env rake
4
- # encoding: utf-8
3
+ # !/usr/bin/env rake
5
4
6
5
require 'rake/testtask'
7
6
require 'rubocop/rake_task'
You can’t perform that action at this time.
0 commit comments