rubocop-config-prettier 0.1.8 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/LICENSE +21 -0
- data/README.md +3 -0
- data/config/{xinminlabs-rubocop.yml → awesomecode-rubocop.yml} +7 -8
- data/config/rubocop.yml +6 -6
- data/lib/rubocop/config/prettier/version.rb +1 -1
- data/rubocop-config-prettier.gemspec +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41f77c45c90e0e20dce92db4166f114482da7ab6e51404600ba70711aefc0731
|
4
|
+
data.tar.gz: 2daa7093116616420751db9ba2371b902ea22d17277f403865df9322c0455f2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 666a9bf6d3304025744726a17ced0d626d23434dcaf5f4c31e4e8c734c2c606562c380c00a14a0df6e20c2b3f6382b29e4572fb91f5de7227558e91d5d6bec5e
|
7
|
+
data.tar.gz: 70053ebe07b504670ee1ecda83e54b5393697b4af031536d3c86c956ed63036a47e541cbc0d9c52e4187e9b5c024a7dcda47a7f5166fe4fe70600546c7c50b4b
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop-config-prettier (0.1.
|
4
|
+
rubocop-config-prettier (0.1.13)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
diff-lcs (1.3)
|
10
|
-
rake (
|
10
|
+
rake (12.3.3)
|
11
11
|
rspec (3.8.0)
|
12
12
|
rspec-core (~> 3.8.0)
|
13
13
|
rspec-expectations (~> 3.8.0)
|
@@ -27,9 +27,9 @@ PLATFORMS
|
|
27
27
|
|
28
28
|
DEPENDENCIES
|
29
29
|
bundler (~> 2.0)
|
30
|
-
rake (~>
|
30
|
+
rake (~> 12.0)
|
31
31
|
rspec (~> 3.0)
|
32
32
|
rubocop-config-prettier!
|
33
33
|
|
34
34
|
BUNDLED WITH
|
35
|
-
2.1.
|
35
|
+
2.1.4
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2021 Xinmin Labs
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
Turns off all rules that are unnecessary or might conflict with
|
4
4
|
[prettier plugin ruby](https://github.com/prettier/plugin-ruby).
|
5
5
|
|
6
|
+
`config/awesomecode-rubocop.yml` works for [our
|
7
|
+
fork](https://github.com/xinminlabs/plugin-ruby).
|
8
|
+
|
6
9
|
## Installation
|
7
10
|
|
8
11
|
Add this line to your application's Gemfile:
|
@@ -108,9 +108,6 @@ Layout/FirstMethodArgumentLineBreak:
|
|
108
108
|
Layout/FirstMethodParameterLineBreak:
|
109
109
|
Enabled: false
|
110
110
|
|
111
|
-
Layout/FirstParameterIndentation:
|
112
|
-
Enabled: false
|
113
|
-
|
114
111
|
# Layout/HeredocArgumentClosingParenthesis
|
115
112
|
|
116
113
|
Layout/HashAlignment:
|
@@ -121,6 +118,9 @@ Layout/HashAlignment:
|
|
121
118
|
Layout/IndentationConsistency:
|
122
119
|
Enabled: false
|
123
120
|
|
121
|
+
Layout/IndentationStyle:
|
122
|
+
Enabled: false
|
123
|
+
|
124
124
|
Layout/IndentationWidth:
|
125
125
|
Enabled: false
|
126
126
|
|
@@ -246,9 +246,6 @@ Layout/SpaceInsideReferenceBrackets:
|
|
246
246
|
Layout/SpaceInsideStringInterpolation:
|
247
247
|
Enabled: false
|
248
248
|
|
249
|
-
Layout/Tab:
|
250
|
-
Enabled: false
|
251
|
-
|
252
249
|
Layout/TrailingEmptyLines:
|
253
250
|
Enabled: false
|
254
251
|
|
@@ -282,8 +279,7 @@ Style/IfWithSemicolon:
|
|
282
279
|
Style/Lambda:
|
283
280
|
Enabled: false
|
284
281
|
|
285
|
-
Style/LambdaCall
|
286
|
-
Enabled: false
|
282
|
+
# Style/LambdaCall
|
287
283
|
|
288
284
|
Style/MethodCallWithoutArgsParentheses:
|
289
285
|
Enabled: false
|
@@ -309,6 +305,9 @@ Style/NestedTernaryOperator:
|
|
309
305
|
Style/NumericLiterals:
|
310
306
|
Enabled: false
|
311
307
|
|
308
|
+
Style/PercentLiteralDelimiters:
|
309
|
+
Enabled: false
|
310
|
+
|
312
311
|
Style/RedundantBegin:
|
313
312
|
Enabled: false
|
314
313
|
|
data/config/rubocop.yml
CHANGED
@@ -106,9 +106,6 @@ Layout/FirstMethodArgumentLineBreak:
|
|
106
106
|
Layout/FirstMethodParameterLineBreak:
|
107
107
|
Enabled: false
|
108
108
|
|
109
|
-
Layout/FirstParameterIndentation:
|
110
|
-
Enabled: false
|
111
|
-
|
112
109
|
# Layout/HeredocArgumentClosingParenthesis
|
113
110
|
|
114
111
|
Layout/HashAlignment:
|
@@ -119,6 +116,9 @@ Layout/HashAlignment:
|
|
119
116
|
Layout/IndentationConsistency:
|
120
117
|
Enabled: false
|
121
118
|
|
119
|
+
Layout/IndentationStyle:
|
120
|
+
Enabled: false
|
121
|
+
|
122
122
|
Layout/IndentationWidth:
|
123
123
|
Enabled: false
|
124
124
|
|
@@ -244,9 +244,6 @@ Layout/SpaceInsideReferenceBrackets:
|
|
244
244
|
Layout/SpaceInsideStringInterpolation:
|
245
245
|
Enabled: false
|
246
246
|
|
247
|
-
Layout/Tab:
|
248
|
-
Enabled: false
|
249
|
-
|
250
247
|
Layout/TrailingEmptyLines:
|
251
248
|
Enabled: false
|
252
249
|
|
@@ -307,6 +304,9 @@ Style/NestedTernaryOperator:
|
|
307
304
|
Style/NumericLiterals:
|
308
305
|
Enabled: false
|
309
306
|
|
307
|
+
Style/PercentLiteralDelimiters:
|
308
|
+
Enabled: false
|
309
|
+
|
310
310
|
Style/RedundantBegin:
|
311
311
|
Enabled: false
|
312
312
|
|
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 2.0"
|
26
|
-
spec.add_development_dependency "rake", "~>
|
26
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-config-prettier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '12.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '12.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,19 +65,20 @@ files:
|
|
65
65
|
- ".travis.yml"
|
66
66
|
- Gemfile
|
67
67
|
- Gemfile.lock
|
68
|
+
- LICENSE
|
68
69
|
- README.md
|
69
70
|
- Rakefile
|
70
71
|
- bin/console
|
71
72
|
- bin/setup
|
73
|
+
- config/awesomecode-rubocop.yml
|
72
74
|
- config/rubocop.yml
|
73
|
-
- config/xinminlabs-rubocop.yml
|
74
75
|
- lib/rubocop/config/prettier.rb
|
75
76
|
- lib/rubocop/config/prettier/version.rb
|
76
77
|
- rubocop-config-prettier.gemspec
|
77
78
|
homepage: https://github.com/xinminlabs/rubocop-config-prettier
|
78
79
|
licenses: []
|
79
80
|
metadata: {}
|
80
|
-
post_install_message:
|
81
|
+
post_install_message:
|
81
82
|
rdoc_options: []
|
82
83
|
require_paths:
|
83
84
|
- lib
|
@@ -92,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
93
|
- !ruby/object:Gem::Version
|
93
94
|
version: '0'
|
94
95
|
requirements: []
|
95
|
-
rubygems_version: 3.1.
|
96
|
-
signing_key:
|
96
|
+
rubygems_version: 3.1.6
|
97
|
+
signing_key:
|
97
98
|
specification_version: 4
|
98
99
|
summary: Turns off all rules that are unnecessary or might conflict with prettier
|
99
100
|
plugin ruby.
|