servactory-rubocop 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop-gem.yml +20 -0
  3. data/rubocop-rails.yml +64 -0
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37f73666947c9d5f542c1633c87ca95c3dd5509328d7b43fe471ccbdd0a9a8a3
4
- data.tar.gz: f6777d0f0cd51e3824b3d87888172dbd70046043100c7f42c482efcf7b20a24f
3
+ metadata.gz: 447de3e387ed80ba7a16a0db585ff6761e804bdf7628eb16c7b8ea87702105c3
4
+ data.tar.gz: 72568d651f2b1efa8082a1315982e0f33c0a42048c22496f149f0b824bfd1744
5
5
  SHA512:
6
- metadata.gz: 53cc3d0fabc5863d8ed45fc313f70e80e63857e8be4dee3604e1d3d992fa6505b1b69c9eb9caffed9e67622efce80598b2ddc8fac3ac060bbc4c43bc7b53aa84
7
- data.tar.gz: 240da3e0cd5442af9fa74a30ca91135d70f998ddb00a969913685a8918d699a501c87750e11b5b2499bc42728ff8e75afc7c1d36c67886aae80c4ae1a30cb665
6
+ metadata.gz: aeaaec32306dcc66445a9cceb31f357888eff52c9c24939d084fc64184b271e0dc6d43f629b1189df0617475d67f3e7599c10cca11528f22e88f86c0573d9d8d
7
+ data.tar.gz: aac2a54d9745c89b6a4f07c16249f9f92ec33af2b82602bdfe0200523ec1b499db0184ac8f43626846b51dc11194af9f30417a4f9e06849a3af91b754fb56e25
data/rubocop-gem.yml ADDED
@@ -0,0 +1,20 @@
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
+ Style/HashSyntax:
17
+ EnforcedShorthandSyntax: always
18
+
19
+ Style/StringLiterals:
20
+ EnforcedStyle: double_quotes
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.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
@@ -114,7 +114,9 @@ email:
114
114
  executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
- files: []
117
+ files:
118
+ - rubocop-gem.yml
119
+ - rubocop-rails.yml
118
120
  homepage: https://github.com/servactory/rubocop
119
121
  licenses:
120
122
  - MIT