rubocop-config-cowtech 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +3 -0
- data/README.md +32 -0
- data/main.yml +88 -0
- data/rubocop-config-cowtech.gemspec +21 -0
- metadata +50 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5a916d412dc41c7d2a8b716cc0f14c666cc17c37
|
4
|
+
data.tar.gz: ca42c74943a410a74e3e032438ce8703d056bf14
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: '048de557bc2456639561791e6ae3a8d4b22af0d0300c548f578636e6c61f537a1425c538d9ff1840620fd1216f43b5578a7c8a304919a7c929b177f9c8a4952d'
|
7
|
+
data.tar.gz: 2d80fdd882c72eea139596752666fe3f6a9b01ad8a1fc7e57fb660f5e246f96858b4a52a6c9a5cf26922c8ddc7f02917ca6ab132cb8bb8194834f2dfc72e0a70
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg/
|
data/CHANGELOG.md
ADDED
data/README.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# rubocop-config-cowtech
|
2
|
+
|
3
|
+
[![Package Version](https://badge.fury.io/rb/rubocop-config-cowtech.png)](http://badge.fury.io/js/rubocop-config-cowtech)
|
4
|
+
[![Dependency Status](https://gemnasium.com/ShogunPanda/rubocop-config-cowtech.png)](https://gemnasium.com/ShogunPanda/rubocop-config-cowtech)
|
5
|
+
|
6
|
+
CowTech style rubocop config
|
7
|
+
|
8
|
+
https://github.com/ShogunPanda/rubocop-config-cowtech
|
9
|
+
|
10
|
+
## Usage
|
11
|
+
|
12
|
+
In your rubocop configuration file, insert the following statements:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
inherit_gem:
|
16
|
+
rubocop-config-cowtech: main.yml
|
17
|
+
```
|
18
|
+
|
19
|
+
## Contributing to rubocop-config-cowtech
|
20
|
+
|
21
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
22
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
23
|
+
* Fork the project.
|
24
|
+
* Start a feature/bugfix branch.
|
25
|
+
* Commit and push until you are happy with your contribution.
|
26
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
27
|
+
|
28
|
+
## Copyright
|
29
|
+
|
30
|
+
Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
|
31
|
+
|
32
|
+
Licensed under the MIT license, which can be found at http://opensource.org/licenses/MIT.
|
data/main.yml
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
#
|
2
|
+
# This file is part of the rubocopy-config-cowtech gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
|
3
|
+
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
4
|
+
#
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
TargetRubyVersion: 2.3
|
8
|
+
Include:
|
9
|
+
- "*/**/.rb"
|
10
|
+
- "config.ru"
|
11
|
+
- "Rakefile"
|
12
|
+
- "Gemfile"
|
13
|
+
Exclude:
|
14
|
+
- "config/**/*"
|
15
|
+
- "db/**/*"
|
16
|
+
- "spec/**/*"
|
17
|
+
|
18
|
+
AbcSize:
|
19
|
+
Max: 20
|
20
|
+
|
21
|
+
Alias:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
AsciiComments:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
BracesAroundHashParameters:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
CyclomaticComplexity:
|
31
|
+
Max: 20
|
32
|
+
|
33
|
+
ClassLength:
|
34
|
+
Max: 200
|
35
|
+
|
36
|
+
Documentation:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
EachWithObject:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
FormatString:
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
FrozenStringLiteralComment:
|
46
|
+
Enabled: false
|
47
|
+
|
48
|
+
IndentationConsistency:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
Lambda:
|
52
|
+
Enabled: false
|
53
|
+
|
54
|
+
LineLength:
|
55
|
+
Max: 160
|
56
|
+
|
57
|
+
MethodLength:
|
58
|
+
Max: 20
|
59
|
+
|
60
|
+
ModuleLength:
|
61
|
+
Max: 200
|
62
|
+
|
63
|
+
MultilineMethodCallIndentation:
|
64
|
+
Enabled: false
|
65
|
+
|
66
|
+
ParameterLists:
|
67
|
+
Max: 8
|
68
|
+
|
69
|
+
RegexpLiteral:
|
70
|
+
Enabled: false
|
71
|
+
|
72
|
+
SignalException:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
SpaceInsideHashLiteralBraces:
|
76
|
+
Enabled: false
|
77
|
+
|
78
|
+
StringLiterals:
|
79
|
+
Enabled: false
|
80
|
+
|
81
|
+
StringLiteralsInInterpolation:
|
82
|
+
Enabled: false
|
83
|
+
|
84
|
+
StringReplacement:
|
85
|
+
Enabled: false
|
86
|
+
|
87
|
+
WordArray:
|
88
|
+
Enabled: false
|
@@ -0,0 +1,21 @@
|
|
1
|
+
#
|
2
|
+
# This file is part of the rubocop-config-cowtech gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
|
3
|
+
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
4
|
+
#
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "rubocop-config-cowtech"
|
8
|
+
gem.version = "1.0.0"
|
9
|
+
gem.homepage = "https://github.com/ShogunPanda/rubocop-config-cowtech"
|
10
|
+
gem.summary = %q{CowTech style rubocop config.}
|
11
|
+
gem.description = %q{CowTech style rubocop config.}
|
12
|
+
gem.rubyforge_project = "rubocop-config-cowtech"
|
13
|
+
|
14
|
+
gem.authors = ["Shogun"]
|
15
|
+
gem.email = ["shogun@cowtech.it"]
|
16
|
+
gem.license = "MIT"
|
17
|
+
|
18
|
+
gem.files = `git ls-files`.split($\)
|
19
|
+
|
20
|
+
gem.required_ruby_version = ">= 2.3.0"
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubocop-config-cowtech
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shogun
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: CowTech style rubocop config.
|
14
|
+
email:
|
15
|
+
- shogun@cowtech.it
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- ".gitignore"
|
21
|
+
- CHANGELOG.md
|
22
|
+
- README.md
|
23
|
+
- main.yml
|
24
|
+
- rubocop-config-cowtech.gemspec
|
25
|
+
homepage: https://github.com/ShogunPanda/rubocop-config-cowtech
|
26
|
+
licenses:
|
27
|
+
- MIT
|
28
|
+
metadata: {}
|
29
|
+
post_install_message:
|
30
|
+
rdoc_options: []
|
31
|
+
require_paths:
|
32
|
+
- lib
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.3.0
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
requirements: []
|
44
|
+
rubyforge_project: rubocop-config-cowtech
|
45
|
+
rubygems_version: 2.6.9
|
46
|
+
signing_key:
|
47
|
+
specification_version: 4
|
48
|
+
summary: CowTech style rubocop config.
|
49
|
+
test_files: []
|
50
|
+
has_rdoc:
|