rubocop-salemove 1.1.0 → 1.3.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 +9 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af302e05ae96e2bcfcc4e60649c3a29863f10853fc9d58b8162f9519efc55209
4
- data.tar.gz: 5ee7e9273021322ccd2bb29ce48f0daa93519602d4c22a2bb4625221932762a3
3
+ metadata.gz: 0ccf662087e6396a0491b5db104985c232525df8def7c6ef72f16e106183fad9
4
+ data.tar.gz: 77764b56e21d84cc0ec7b7a28278d51dbf270f535423dcad7fdecacc6832572a
5
5
  SHA512:
6
- metadata.gz: d8b32ad9f4f37576dd5b7aa50caee79e24499cd6a7d170a816453f3aa428f69fcce2fd2ca23b2f8f5f2ea4b6922569d47b1e72d490eb1553ceff8a5af1fc1c4a
7
- data.tar.gz: 6f6a53a928c4bdad4ee1d71fd713684cab72a6b65c2e062bc0628838b0a60a010c5c94f78046617cb9cad725567745ff32013bbed27f4631454a3d3e12564b0b
6
+ metadata.gz: 82cdbd3fb206db06fe965ee569bba4a10efa538e06b65b061c6d9e8e878ddd754fe623c2cf0c422dad97dbac840a6419edd52b3e96ceb9c2dfcc7fa46c153d07
7
+ data.tar.gz: 4951c430821d53fd2dfa0ca169e8860a1b03be5f1ac1f9f80ce4510f5bf08adcaf52cc07e47959fd7b6cb0767b33ec8d4cf708ac32cdbf14c310091f165f80ba
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.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.13'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '4.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '2.13'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '4.0'
41
47
  description: Shared RuboCop configuration for SaleMove projects
42
48
  email: techmovers@salemove.com
43
49
  executables: []