wallaby-cop 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/wallaby-cop.rb +7 -0
- data/rubocop.yml +73 -0
- metadata +73 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 84eaf1995221bf8eb24a6cfeb13c85095c5d163fb3b9045adc3fc5ba5c099db8
|
4
|
+
data.tar.gz: b1761d8e681105271472eb3a3b5b76edc6fcb463763fe8aeabfd52a8c66b1a59
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2582ade1baf0e434b79aca44989232d93bda4c28c2ec539ff9b51852762e35e13d66afa6b55555d4ecfea0110d37f8aee62b9c3b2ac8ed25f50c08166d302d25
|
7
|
+
data.tar.gz: ded835f35fbe28561bdc7f0eb789e7e53b6cda52c7f3b319f743699b90427e306ab30f898a27bc2185d1924feb93f23ec3366038d8d9d8528285644c4a780e11
|
data/lib/wallaby-cop.rb
ADDED
data/rubocop.yml
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
Exclude:
|
6
|
+
- 'vendor/**/*'
|
7
|
+
- 'bin/rails'
|
8
|
+
- 'spec/rails_helper.rb'
|
9
|
+
- 'spec/spec_helper.rb'
|
10
|
+
- 'spec/dummy/**/*'
|
11
|
+
- 'spec/dummy/*'
|
12
|
+
- 'gemfiles/**/*'
|
13
|
+
|
14
|
+
Metrics/BlockLength:
|
15
|
+
CountComments: false
|
16
|
+
Max: 25
|
17
|
+
Exclude:
|
18
|
+
- '*.gemspec'
|
19
|
+
- 'spec/**/*.rb'
|
20
|
+
- 'wallaby.gemspec'
|
21
|
+
|
22
|
+
Metrics/AbcSize:
|
23
|
+
Exclude:
|
24
|
+
- 'app/views/**/*'
|
25
|
+
|
26
|
+
Metrics/MethodLength:
|
27
|
+
Exclude:
|
28
|
+
- 'app/views/**/*'
|
29
|
+
|
30
|
+
Style/Documentation:
|
31
|
+
Exclude:
|
32
|
+
- 'app/views/**/*'
|
33
|
+
- 'spec/**/*'
|
34
|
+
|
35
|
+
Style/SingleLineMethods:
|
36
|
+
Exclude:
|
37
|
+
- 'spec/**/*_spec.rb'
|
38
|
+
|
39
|
+
Metrics/LineLength:
|
40
|
+
Max: 120
|
41
|
+
Exclude:
|
42
|
+
- 'spec/**/*'
|
43
|
+
|
44
|
+
Style/PercentLiteralDelimiters:
|
45
|
+
PreferredDelimiters:
|
46
|
+
default: ()
|
47
|
+
'%i': ()
|
48
|
+
'%w': ()
|
49
|
+
'%W': ()
|
50
|
+
|
51
|
+
Style/FormatStringToken:
|
52
|
+
Exclude:
|
53
|
+
- 'spec/**/*_spec.rb'
|
54
|
+
|
55
|
+
Style/FrozenStringLiteralComment:
|
56
|
+
Enabled: false
|
57
|
+
|
58
|
+
Layout/EmptyLinesAroundArguments:
|
59
|
+
Exclude:
|
60
|
+
- 'spec/**/*_spec.rb'
|
61
|
+
|
62
|
+
Layout/HashAlignment:
|
63
|
+
Exclude:
|
64
|
+
- 'spec/**/*_spec.rb'
|
65
|
+
|
66
|
+
Rails/ApplicationRecord:
|
67
|
+
Enabled: false
|
68
|
+
|
69
|
+
Rails/LinkToBlank:
|
70
|
+
Enabled: false
|
71
|
+
|
72
|
+
Rails/HttpPositionalArguments:
|
73
|
+
Enabled: false
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wallaby-cop
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tianwen Chen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-12-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop-rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Rubocop configuration for Wallaby projects
|
42
|
+
email:
|
43
|
+
- me@tian.im
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- lib/wallaby-cop.rb
|
49
|
+
- rubocop.yml
|
50
|
+
homepage: https://github.com/wallaby-rails/wallaby-cop
|
51
|
+
licenses:
|
52
|
+
- MIT
|
53
|
+
metadata: {}
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options: []
|
56
|
+
require_paths:
|
57
|
+
- lib
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements: []
|
69
|
+
rubygems_version: 3.0.6
|
70
|
+
signing_key:
|
71
|
+
specification_version: 4
|
72
|
+
summary: Rubocop configuration for Wallaby projects
|
73
|
+
test_files: []
|