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 +4 -4
- data/{rubocop.yml → rubocop-gem.yml} +0 -1
- data/rubocop-rails.yml +64 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 447de3e387ed80ba7a16a0db585ff6761e804bdf7628eb16c7b8ea87702105c3
|
4
|
+
data.tar.gz: 72568d651f2b1efa8082a1315982e0f33c0a42048c22496f149f0b824bfd1744
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeaaec32306dcc66445a9cceb31f357888eff52c9c24939d084fc64184b271e0dc6d43f629b1189df0617475d67f3e7599c10cca11528f22e88f86c0573d9d8d
|
7
|
+
data.tar.gz: aac2a54d9745c89b6a4f07c16249f9f92ec33af2b82602bdfe0200523ec1b499db0184ac8f43626846b51dc11194af9f30417a4f9e06849a3af91b754fb56e25
|
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.
|
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
|