servactory-rubocop 0.3.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0daa09fa53b6baa87d6cd3af4779ff15d87962a845174e18676d66ee4b11c21
4
- data.tar.gz: d2a0c8e26c623826d75760ed37675a5ecfeadaec18d1f6a65c051df0b4a09461
3
+ metadata.gz: 447de3e387ed80ba7a16a0db585ff6761e804bdf7628eb16c7b8ea87702105c3
4
+ data.tar.gz: 72568d651f2b1efa8082a1315982e0f33c0a42048c22496f149f0b824bfd1744
5
5
  SHA512:
6
- metadata.gz: 6b3685006c8954171eaca827a6c835c8d5319b6d3bd155e6d8eaadc093710dd53d30c8a4b7d9b7c0fa7d5fba69ef9c326b13765ac2f196a635adad845a339cbe
7
- data.tar.gz: e928b1e0b1bd2f2553515e28bbf2f3a041036382c8dc0e31f98596d557f901ad756011102e541455cd0e5c1fa14ece412e5d524b23181d24bfa30574e21b48b4
6
+ metadata.gz: aeaaec32306dcc66445a9cceb31f357888eff52c9c24939d084fc64184b271e0dc6d43f629b1189df0617475d67f3e7599c10cca11528f22e88f86c0573d9d8d
7
+ data.tar.gz: aac2a54d9745c89b6a4f07c16249f9f92ec33af2b82602bdfe0200523ec1b499db0184ac8f43626846b51dc11194af9f30417a4f9e06849a3af91b754fb56e25
@@ -11,7 +11,6 @@ inherit_mode:
11
11
  - Exclude
12
12
 
13
13
  AllCops:
14
- DisabledByDefault: true
15
14
  NewCops: enable
16
15
 
17
16
  Style/HashSyntax:
data/rubocop-rails.yml ADDED
@@ -0,0 +1,64 @@
1
+ require:
2
+ - rubocop-factory_bot
3
+ - rubocop-performance
4
+ - rubocop-rails
5
+ - rubocop-rake
6
+ - rubocop-rspec
7
+ - rubocop-rspec_rails
8
+
9
+ inherit_mode:
10
+ merge:
11
+ - Exclude
12
+
13
+ AllCops:
14
+ NewCops: enable
15
+
16
+ ################################################################################
17
+
18
+ Style/ClassAndModuleChildren:
19
+ EnforcedStyle: compact
20
+ Exclude:
21
+ - config/application.rb
22
+
23
+ Style/Documentation:
24
+ Enabled: false
25
+
26
+ Style/HashSyntax:
27
+ EnforcedShorthandSyntax: always
28
+
29
+ Style/StringLiterals:
30
+ EnforcedStyle: double_quotes
31
+
32
+ ################################################################################
33
+
34
+ Rails/Output:
35
+ Exclude:
36
+ - db/**/*.rb
37
+
38
+ ################################################################################
39
+
40
+ RSpec/EmptyExampleGroup:
41
+ Exclude:
42
+ - spec/requests/**/*.rb
43
+
44
+ RSpec/ExampleLength:
45
+ Max: 20
46
+
47
+ RSpec/MultipleMemoizedHelpers:
48
+ Max: 16
49
+
50
+ RSpec/NamedSubject:
51
+ EnforcedStyle: named_only
52
+
53
+ RSpec/NestedGroups:
54
+ Max: 10
55
+
56
+ RSpec/SpecFilePathFormat:
57
+ Include:
58
+ - "spec/**/*_spec.rb"
59
+ Exclude:
60
+ - "spec/requests/**/*_spec.rb"
61
+
62
+ RSpec/VariableName:
63
+ AllowedPatterns:
64
+ - Authorization
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servactory-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
@@ -115,7 +115,8 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - rubocop.yml
118
+ - rubocop-gem.yml
119
+ - rubocop-rails.yml
119
120
  homepage: https://github.com/servactory/rubocop
120
121
  licenses:
121
122
  - MIT