rubocop-salemove 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/default.yml +45 -18
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af302e05ae96e2bcfcc4e60649c3a29863f10853fc9d58b8162f9519efc55209
4
- data.tar.gz: 5ee7e9273021322ccd2bb29ce48f0daa93519602d4c22a2bb4625221932762a3
3
+ metadata.gz: e4724eaf1e32fb7b72bb8e41fa3d585f9cbcfe7dc176032b39abf11dc0cde630
4
+ data.tar.gz: c1e890bf3be2d271c05a04d0ece921a6d4857ddae7c9473fb575d8b4d0b25e7f
5
5
  SHA512:
6
- metadata.gz: d8b32ad9f4f37576dd5b7aa50caee79e24499cd6a7d170a816453f3aa428f69fcce2fd2ca23b2f8f5f2ea4b6922569d47b1e72d490eb1553ceff8a5af1fc1c4a
7
- data.tar.gz: 6f6a53a928c4bdad4ee1d71fd713684cab72a6b65c2e062bc0628838b0a60a010c5c94f78046617cb9cad725567745ff32013bbed27f4631454a3d3e12564b0b
6
+ metadata.gz: 46ee7bacfd90038e9e68ecb44135a34cfc2ac89ad5c383597ee76a8410b745adf952e182b72d8ff9f781e383c24e26741af103f82b1983f7dc11bd2560f764f8
7
+ data.tar.gz: 72d09101e14f6895fc9144fdec797c34568e4f9f1e8fe736a6568a84a79a46903d68426a0c27f265b2e07f0cd3802716dacaa1617d655ad19bf3d24d70e10a68
data/config/default.yml CHANGED
@@ -1,45 +1,72 @@
1
1
  require: rubocop-rspec
2
2
 
3
3
  AllCops:
4
- DisplayCopNames: yes
4
+ DisplayCopNames: true
5
5
  NewCops: enable
6
6
  SuggestExtensions: false
7
7
 
8
+ Layout/FirstArgumentIndentation:
9
+ EnforcedStyle: consistent
10
+
11
+ Layout/FirstArrayElementIndentation:
12
+ EnforcedStyle: consistent
13
+
14
+ Layout/FirstHashElementIndentation:
15
+ EnforcedStyle: consistent
16
+
17
+ Layout/LineLength:
18
+ Max: 120
19
+
8
20
  Layout/MultilineMethodCallIndentation:
9
21
  EnforcedStyle: indented
10
22
 
23
+ Layout/MultilineMethodDefinitionBraceLayout:
24
+ EnforcedStyle: new_line
25
+
11
26
  Layout/MultilineOperationIndentation:
12
27
  EnforcedStyle: indented
13
28
 
14
29
  Layout/ParameterAlignment:
15
30
  EnforcedStyle: with_fixed_indentation
16
31
 
17
- Layout/FirstHashElementIndentation:
18
- EnforcedStyle: consistent
32
+ Layout/SpaceInsideHashLiteralBraces:
33
+ EnforcedStyle: no_space
19
34
 
20
- Layout/FirstArrayElementIndentation:
21
- EnforcedStyle: consistent
35
+ Metrics/BlockLength:
36
+ Enabled: false
22
37
 
23
- Layout/FirstArgumentIndentation:
24
- EnforcedStyle: consistent
38
+ Metrics/MethodLength:
39
+ Max: 15
25
40
 
26
- Layout/SpaceInsideHashLiteralBraces:
27
- EnforcedStyle: no_space
41
+ Naming/MemoizedInstanceVariableName:
42
+ EnforcedStyleForLeadingUnderscores: optional
28
43
 
29
- Layout/MultilineMethodDefinitionBraceLayout:
30
- EnforcedStyle: new_line
44
+ Style/Alias:
45
+ EnforcedStyle: prefer_alias_method
31
46
 
32
- Layout/LineLength:
33
- Max: 120
47
+ Style/Documentation:
48
+ Enabled: false
34
49
 
35
50
  Style/EmptyElse:
36
51
  EnforcedStyle: empty
37
52
 
38
- Style/Documentation:
39
- Enabled: no
53
+ RSpec/ExampleLength:
54
+ Enabled: false
40
55
 
41
- RSpec/NoExpectationExample:
42
- Enabled: no
56
+ RSpec/IndexedLet:
57
+ Max: 2
43
58
 
44
- RSpec/ExampleLength:
59
+ RSpec/MessageSpies:
60
+ Enabled: false
61
+
62
+ RSpec/MultipleExpectations:
63
+ Enabled: false
64
+
65
+ RSpec/MultipleMemoizedHelpers:
66
+ Enabled: false
67
+
68
+ RSpec/NestedGroups:
69
+ Max: 4
70
+
71
+ RSpec/NoExpectationExample:
45
72
  Enabled: false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-salemove
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove