softmaker-rubocop-rspec 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 804dcd9813b6abe3650bceac6faf712f28319f5665caa6d55ac0d8817db33ed0
4
+ data.tar.gz: d5d6b40e914ca622f9c48333e8971b493b3433bcb13870e471dbffb4bceeacdb
5
+ SHA512:
6
+ metadata.gz: 5be42d9a3af0ba14494c32103133af61e980668b29f5aeccbfe7957fcbcee7bf1570d1c3ba8160f68710a57b1d1956bbf063951006de18ddaa34dfbb331e9f1f
7
+ data.tar.gz: 0e397363fd43bf3ee1d1eff2c7aa376bb98d9b787b842a481580ec2aec3c3d14cd29d3c2fb410f7cddbc73f0648ca229abad0535d93551953aac91e148170f5a
data/.rubocop.yml ADDED
@@ -0,0 +1 @@
1
+ inherit_from: default.yml
data/default.yml ADDED
@@ -0,0 +1,91 @@
1
+ require:
2
+ - rubocop-rails
3
+ - rubocop-performance
4
+ - rubocop-rspec
5
+
6
+ inherit_mode:
7
+ merge:
8
+ - Exclude
9
+
10
+ AllCops:
11
+ NewCops: enable
12
+ Exclude:
13
+ - db/**/*
14
+ - script/**/*
15
+ - bin/**/*
16
+ - logs/**/*
17
+ - log/**/*
18
+
19
+ Layout/LineLength:
20
+ Max: 120
21
+
22
+ Metrics/AbcSize:
23
+ Max: 15
24
+
25
+ Metrics/BlockLength:
26
+ Max: 25
27
+ Exclude:
28
+ - "**/*_spec.rb"
29
+
30
+ Metrics/BlockNesting:
31
+ Max: 3
32
+ Exclude:
33
+ - "**/*_spec.rb"
34
+
35
+ Metrics/ClassLength:
36
+ Max: 100
37
+
38
+ Metrics/CyclomaticComplexity:
39
+ Max: 6
40
+
41
+ Metrics/MethodLength:
42
+ Max: 15
43
+
44
+ Metrics/ModuleLength:
45
+ Max: 100
46
+ Exclude:
47
+ - "**/*_spec.rb"
48
+
49
+ Metrics/ParameterLists:
50
+ Max: 5
51
+
52
+ Metrics/PerceivedComplexity:
53
+ Max: 10
54
+
55
+ Style/Documentation:
56
+ Enabled: false
57
+
58
+ Style/HashEachMethods:
59
+ Enabled: true
60
+
61
+ Style/HashTransformKeys:
62
+ Enabled: true
63
+
64
+ Style/HashTransformValues:
65
+ Enabled: true
66
+
67
+ RSpec/ContextWording:
68
+ Enabled: false
69
+
70
+ RSpec/NestedGroups:
71
+ Enabled: false
72
+
73
+ RSpec/MultipleExpectations:
74
+ Max: 5
75
+
76
+ Style/AndOr:
77
+ Include:
78
+ - app/controllers/**/*_controller.rb
79
+ EnforcedStyle: conditionals
80
+
81
+ Rails/SkipsModelValidations:
82
+ Exclude:
83
+ - "**/*_spec.rb"
84
+
85
+ Lint/AmbiguousBlockAssociation:
86
+ Exclude:
87
+ - spec/**/*
88
+
89
+ RSpec/EmptyExampleGroup:
90
+ Exclude:
91
+ - spec/requests/**/*
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SoftmakerRuboCopRSpec
4
+ VERSION = '0.0.0'
5
+ end
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: softmaker-rubocop-rspec
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Softmaker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.22.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.22.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-performance
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.11.5
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.11.5
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.5.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.5.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.12.2
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.12.2
69
+ description:
70
+ email: brandbricksmailer@gmail.com
71
+ executables: []
72
+ extensions: []
73
+ extra_rdoc_files: []
74
+ files:
75
+ - ".rubocop.yml"
76
+ - default.yml
77
+ - lib/softmaker_rubocop_rspec.rb
78
+ homepage: https://github.com/brand-bricks/softmaker-rubocop-rspec
79
+ licenses:
80
+ - MIT
81
+ metadata: {}
82
+ post_install_message:
83
+ rdoc_options: []
84
+ require_paths:
85
+ - lib
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ requirements: []
97
+ rubygems_version: 3.1.2
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Softmaker rubocop configuration
101
+ test_files: []