rubocop-katana 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d83816f2a22a37bded299e91bd1bc8ece23e298b34883c28decb08967ea71b8
4
- data.tar.gz: eb22950e7489de2ff0e4d3e59f01653c47295ce3351cdae0247a08dcab164934
3
+ metadata.gz: 65dd4760224cceb2bce78a268f62d189ee3d2884b788a82b952a3dfb7a35decb
4
+ data.tar.gz: 3ff86ec264b3d7a97ad3f1e8052c4465e82b3e338fff3519d4d83ed92f8c397d
5
5
  SHA512:
6
- metadata.gz: 2a758858f60776569cafb80c2b51fdedea5a69216cb1f2836e26ba0ac11d12100a1631cf194eccd69a302136cfc4a60868e54ed0a6206d1bdc452956d8670c3e
7
- data.tar.gz: 4dd8963ffe416611254149973d38903da518cb640e96628957fd16687d5c7ad2ddb7f3962baa0d86be23065184b9a265253fd1b69d9a068d932f708f13cbb558
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
- inherit_from:
6
- - config/allcops.yml
7
- - config/lint.yml
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
@@ -1,5 +1,5 @@
1
1
  module Rubocop
2
2
  module Katana
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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
@@ -1,3 +0,0 @@
1
- Lint/AmbiguousBlockAssociation:
2
- Exclude:
3
- - 'spec/**/*'
data/config/metrics.yml DELETED
@@ -1,8 +0,0 @@
1
- Metrics/LineLength:
2
- Max: 90
3
- Exclude:
4
- - 'spec/spec_helper.rb'
5
-
6
- Metrics/BlockLength:
7
- Exclude:
8
- - 'spec/**/*'
data/config/style.yml DELETED
@@ -1,15 +0,0 @@
1
- Style/AndOr:
2
- Enabled: false
3
-
4
- Style/ClassAndModuleChildren:
5
- Exclude:
6
- - 'app/**/*'
7
-
8
- Style/Documentation:
9
- Enabled: false
10
-
11
- Style/StringLiterals:
12
- Enabled: false
13
-
14
- Style/EmptyMethod:
15
- Enabled: false