boxt_rubocop 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/config/default.yml +64 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1744a7d3b5eec56f26ffb86af39b0bf4ff4178a59f9480f4129fcbccbff30c0e
|
4
|
+
data.tar.gz: d0a3ab0c0b3946e9800c3b254c856a24d960e521f6f70e21296c57fd602855b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3790f37f11cb18067d2e9419ec525d35b04938f47422529fd6be992962cd90e5309d55ad727b8a9e364a95d26831ed797dd24f647e35bbc30eac61a478402433
|
7
|
+
data.tar.gz: 52c2d7a75751ea244e9f89687fbcc83a69e47171e8f922ce364d7b4059ed36fc4379d81f105efd400dc8611a68f00a42b38f54752eee11deb8bbf388f8f85bbf
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/config/default.yml
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- "**/*/schema.rb"
|
4
|
+
- Gemfile.lock
|
5
|
+
- node_modules/**/*
|
6
|
+
- tmp/**/*
|
7
|
+
- vendor/**/*
|
8
|
+
NewCops: enable
|
9
|
+
|
10
|
+
Boxt/ApiPathFormat:
|
11
|
+
Description: 'Ensure that the API path uses kebab case'
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Layout/ClassStructure:
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
Layout/LineLength:
|
18
|
+
Exclude:
|
19
|
+
- config/routes.rb
|
20
|
+
- config/routes/*
|
21
|
+
Max: 120
|
22
|
+
|
23
|
+
Metrics/AbcSize:
|
24
|
+
Exclude:
|
25
|
+
- db/migrate/**/*
|
26
|
+
|
27
|
+
Metrics/BlockLength:
|
28
|
+
CountAsOne: ["array", "hash"]
|
29
|
+
Exclude:
|
30
|
+
- "*.gemspec"
|
31
|
+
- Gemfile
|
32
|
+
- config/environments/*
|
33
|
+
- config/routes.rb
|
34
|
+
- config/routes/*
|
35
|
+
- db/migrate/**/*
|
36
|
+
- lib/tasks/**/*
|
37
|
+
- spec/**/*
|
38
|
+
- test/**/*
|
39
|
+
|
40
|
+
Metrics/ClassLength:
|
41
|
+
CountAsOne: ["array", "hash"]
|
42
|
+
Exclude:
|
43
|
+
- db/migrate/**/*
|
44
|
+
- spec/**/*
|
45
|
+
- test/**/*
|
46
|
+
|
47
|
+
Metrics/MethodLength:
|
48
|
+
CountAsOne: ["array", "heredoc", "hash"]
|
49
|
+
Exclude:
|
50
|
+
- db/migrate/**/*
|
51
|
+
- spec/**/*
|
52
|
+
- test/**/*
|
53
|
+
|
54
|
+
Metrics/ModuleLength:
|
55
|
+
CountAsOne: ["array", "hash"]
|
56
|
+
|
57
|
+
Style/Documentation:
|
58
|
+
Enabled: false
|
59
|
+
|
60
|
+
Style/DoubleNegation:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
Style/StringLiterals:
|
64
|
+
EnforcedStyle: double_quotes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- README.md
|
106
106
|
- Rakefile
|
107
107
|
- VERSION
|
108
|
+
- config/default.yml
|
108
109
|
- lib/boxt_rubocop.rb
|
109
110
|
- lib/rubocop/boxt.rb
|
110
111
|
- lib/rubocop/boxt/inject.rb
|