rubocop-katana 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +81 -6
- data/lib/rubocop/katana/version.rb +1 -1
- metadata +1 -6
- data/config/allcops.yml +0 -15
- data/config/layout.yml +0 -18
- data/config/lint.yml +0 -3
- data/config/metrics.yml +0 -8
- data/config/style.yml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65dd4760224cceb2bce78a268f62d189ee3d2884b788a82b952a3dfb7a35decb
|
4
|
+
data.tar.gz: 3ff86ec264b3d7a97ad3f1e8052c4465e82b3e338fff3519d4d83ed92f8c397d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 720c4cc5cc59205148e10477701e5644150bb365110852a648425b023e57db9da37a1cb707c57209fea391fbf425ca2fcdc6e853d36a8ab380249dd7e9a52794
|
7
|
+
data.tar.gz: 474f570415d58c740cc0d34f8955b373967a077b20dad21b9fbd23ab635ceaa20630e47e45861424e275656dcfacb58af73fecd987061267f6fa00f74c5edaed
|
data/config/default.yml
CHANGED
@@ -2,12 +2,87 @@ inherit_gem:
|
|
2
2
|
rubocop-rails:
|
3
3
|
- config/rails.yml
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
- config/style.yml
|
9
|
-
- config/metrics.yml
|
10
|
-
- config/layout.yml
|
5
|
+
# ========================
|
6
|
+
# = Global configuration =
|
7
|
+
# ========================
|
11
8
|
|
12
9
|
Rails:
|
13
10
|
Enabled: true
|
11
|
+
|
12
|
+
AllCops:
|
13
|
+
UseCache: true
|
14
|
+
CacheRootDirectory: tmp/rubocop
|
15
|
+
DisplayCopNames: true
|
16
|
+
DisplayStyleGuide: true
|
17
|
+
TargetRubyVersion: 2.5
|
18
|
+
# Include:
|
19
|
+
Exclude:
|
20
|
+
- 'bin/*'
|
21
|
+
- 'lib/tasks/**/*'
|
22
|
+
- 'Gemfile'
|
23
|
+
- 'db/**/*'
|
24
|
+
- 'config/**/*'
|
25
|
+
- 'script/**/*'
|
26
|
+
- '**/Rakefile'
|
27
|
+
- '**/config.ru'
|
28
|
+
|
29
|
+
# =============
|
30
|
+
# = Lint cops =
|
31
|
+
# =============
|
32
|
+
Lint/AmbiguousBlockAssociation:
|
33
|
+
Exclude:
|
34
|
+
- 'spec/**/*'
|
35
|
+
|
36
|
+
# ==============
|
37
|
+
# = Style cops =
|
38
|
+
# ==============
|
39
|
+
Style/AndOr:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
Style/ClassAndModuleChildren:
|
43
|
+
Exclude:
|
44
|
+
- 'app/**/*'
|
45
|
+
|
46
|
+
Style/Documentation:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
Style/StringLiterals:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
Style/EmptyMethod:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
# ================
|
56
|
+
# = Metrics cops =
|
57
|
+
# ================
|
58
|
+
Metrics/LineLength:
|
59
|
+
Max: 90
|
60
|
+
Exclude:
|
61
|
+
- 'spec/spec_helper.rb'
|
62
|
+
|
63
|
+
Metrics/BlockLength:
|
64
|
+
Exclude:
|
65
|
+
- 'spec/**/*'
|
66
|
+
|
67
|
+
# ===============
|
68
|
+
# = Layout cops =
|
69
|
+
# ===============
|
70
|
+
|
71
|
+
Layout/ElseAlignment:
|
72
|
+
Enabled: false
|
73
|
+
|
74
|
+
Layout/EndAlignment:
|
75
|
+
Enabled: false
|
76
|
+
|
77
|
+
Layout/EmptyLinesAroundClassBody:
|
78
|
+
Enabled: false
|
79
|
+
|
80
|
+
Layout/EmptyLinesAroundModuleBody:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
Layout/EmptyLinesAroundBlockBody:
|
84
|
+
Exclude:
|
85
|
+
- 'spec/**/*'
|
86
|
+
|
87
|
+
Layout/IndentationWidth:
|
88
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-katana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bodacious
|
@@ -88,12 +88,7 @@ extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
90
|
- README.md
|
91
|
-
- config/allcops.yml
|
92
91
|
- config/default.yml
|
93
|
-
- config/layout.yml
|
94
|
-
- config/lint.yml
|
95
|
-
- config/metrics.yml
|
96
|
-
- config/style.yml
|
97
92
|
- lib/rubocop/katana.rb
|
98
93
|
- lib/rubocop/katana/version.rb
|
99
94
|
homepage: https://github.com/katanacode/rubocop-katana
|
data/config/allcops.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
UseCache: true
|
3
|
-
DisplayCopNames: true
|
4
|
-
DisplayStyleGuide: true
|
5
|
-
TargetRubyVersion: 2.5
|
6
|
-
# Include:
|
7
|
-
Exclude:
|
8
|
-
- 'bin/*'
|
9
|
-
- 'lib/tasks/**/*'
|
10
|
-
- 'Gemfile'
|
11
|
-
- 'db/**/*'
|
12
|
-
- 'config/**/*'
|
13
|
-
- 'script/**/*'
|
14
|
-
- '**/Rakefile'
|
15
|
-
- '**/config.ru'
|
data/config/layout.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
Layout/ElseAlignment:
|
2
|
-
Enabled: false
|
3
|
-
|
4
|
-
Layout/EndAlignment:
|
5
|
-
Enabled: false
|
6
|
-
|
7
|
-
Layout/EmptyLinesAroundClassBody:
|
8
|
-
Enabled: false
|
9
|
-
|
10
|
-
Layout/EmptyLinesAroundModuleBody:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
Layout/EmptyLinesAroundBlockBody:
|
14
|
-
Exclude:
|
15
|
-
- 'spec/**/*'
|
16
|
-
|
17
|
-
Layout/IndentationWidth:
|
18
|
-
Enabled: false
|
data/config/lint.yml
DELETED
data/config/metrics.yml
DELETED