rubocop-config-prettier 0.1.7 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e9fa52ed06f89c0e8b406c772ec98211532e93828ef728dbfdb8f20c85357c0
4
- data.tar.gz: 767be8a1888fcf9f4dfdda38aca061a3dba8380131b51494665d36de0ed315a1
3
+ metadata.gz: 0ef65aa3c4337456689efb15e44a8cf84cbf576552321bf91fece37738ed3747
4
+ data.tar.gz: 99ed071be19038d038fdb77a46dd27c59c6e351f9ed5b5a2ef33bc99b731eace
5
5
  SHA512:
6
- metadata.gz: b950628f3a9b21bb04645d6e38259956ed2a7c0af844b82abe6567c837a0b12ad60292ce99a945e37dc8b783b4cfcea5c7351628eb0d9e4029f331889fe01559
7
- data.tar.gz: f924156a1d2431dc6a64e13258fa06a698c5cb69a363b5480ab3d1d406add99826871cdd074a826e56af78122a2b0b2fc86629d76ccf3c20d101a5329562b5fd
6
+ metadata.gz: 5c09c045877abfbde79e3770177b793a9f6a2b52b55e0554828263433ca52a1179c9e1b9e399146155ecd443f525de40264e0c6d092f9c8942a72c3323e600d6
7
+ data.tar.gz: 6de042c62d3684e6c90cc0019a06f39aebf32bc5dd9f39d1b62fd0ecc1cde1a0000583bb20cc254f651894c780cbf489c250781124a6e30982bd73a531559c67
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-config-prettier (0.1.7)
4
+ rubocop-config-prettier (0.1.12)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  diff-lcs (1.3)
10
- rake (10.5.0)
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 (~> 10.0)
30
+ rake (~> 12.0)
31
31
  rspec (~> 3.0)
32
32
  rubocop-config-prettier!
33
33
 
34
34
  BUNDLED WITH
35
- 2.1.2
35
+ 2.1.4
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,7 +108,7 @@ Layout/FirstMethodArgumentLineBreak:
108
108
  Layout/FirstMethodParameterLineBreak:
109
109
  Enabled: false
110
110
 
111
- Layout/FirstParameterIndentation:
111
+ Layout/IndentFirstArgument:
112
112
  Enabled: false
113
113
 
114
114
  # Layout/HeredocArgumentClosingParenthesis
@@ -121,6 +121,9 @@ Layout/HashAlignment:
121
121
  Layout/IndentationConsistency:
122
122
  Enabled: false
123
123
 
124
+ Layout/IndentationStyle:
125
+ Enabled: false
126
+
124
127
  Layout/IndentationWidth:
125
128
  Enabled: false
126
129
 
@@ -246,9 +249,6 @@ Layout/SpaceInsideReferenceBrackets:
246
249
  Layout/SpaceInsideStringInterpolation:
247
250
  Enabled: false
248
251
 
249
- Layout/Tab:
250
- Enabled: false
251
-
252
252
  Layout/TrailingEmptyLines:
253
253
  Enabled: false
254
254
 
@@ -282,8 +282,7 @@ Style/IfWithSemicolon:
282
282
  Style/Lambda:
283
283
  Enabled: false
284
284
 
285
- Style/LambdaCall:
286
- Enabled: false
285
+ # Style/LambdaCall
287
286
 
288
287
  Style/MethodCallWithoutArgsParentheses:
289
288
  Enabled: false
@@ -309,6 +308,9 @@ Style/NestedTernaryOperator:
309
308
  Style/NumericLiterals:
310
309
  Enabled: false
311
310
 
311
+ Style/PercentLiteralDelimiters:
312
+ Enabled: false
313
+
312
314
  Style/RedundantBegin:
313
315
  Enabled: false
314
316
 
@@ -334,8 +336,7 @@ Style/StringLiteralsInInterpolation:
334
336
 
335
337
  # Style/SymbolArray
336
338
 
337
- Style/SymbolProc:
338
- Enabled: false
339
+ # Style/SymbolProc
339
340
 
340
341
  Style/TrailingBodyOnClass:
341
342
  Enabled: false
data/config/rubocop.yml CHANGED
@@ -106,7 +106,7 @@ Layout/FirstMethodArgumentLineBreak:
106
106
  Layout/FirstMethodParameterLineBreak:
107
107
  Enabled: false
108
108
 
109
- Layout/FirstParameterIndentation:
109
+ Layout/IndentFirstArgument:
110
110
  Enabled: false
111
111
 
112
112
  # Layout/HeredocArgumentClosingParenthesis
@@ -119,6 +119,9 @@ Layout/HashAlignment:
119
119
  Layout/IndentationConsistency:
120
120
  Enabled: false
121
121
 
122
+ Layout/IndentationStyle:
123
+ Enabled: false
124
+
122
125
  Layout/IndentationWidth:
123
126
  Enabled: false
124
127
 
@@ -244,9 +247,6 @@ Layout/SpaceInsideReferenceBrackets:
244
247
  Layout/SpaceInsideStringInterpolation:
245
248
  Enabled: false
246
249
 
247
- Layout/Tab:
248
- Enabled: false
249
-
250
250
  Layout/TrailingEmptyLines:
251
251
  Enabled: false
252
252
 
@@ -307,6 +307,9 @@ Style/NestedTernaryOperator:
307
307
  Style/NumericLiterals:
308
308
  Enabled: false
309
309
 
310
+ Style/PercentLiteralDelimiters:
311
+ Enabled: false
312
+
310
313
  Style/RedundantBegin:
311
314
  Enabled: false
312
315
 
@@ -1,7 +1,7 @@
1
1
  module Rubocop
2
2
  module Config
3
3
  module Prettier
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.12"
5
5
  end
6
6
  end
7
7
  end
@@ -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", "~> 10.0"
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.7
4
+ version: 0.1.12
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: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2021-02-17 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: '10.0'
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: '10.0'
40
+ version: '12.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -69,15 +69,15 @@ files:
69
69
  - Rakefile
70
70
  - bin/console
71
71
  - bin/setup
72
+ - config/awesomecode-rubocop.yml
72
73
  - config/rubocop.yml
73
- - config/xinminlabs-rubocop.yml
74
74
  - lib/rubocop/config/prettier.rb
75
75
  - lib/rubocop/config/prettier/version.rb
76
76
  - rubocop-config-prettier.gemspec
77
77
  homepage: https://github.com/xinminlabs/rubocop-config-prettier
78
78
  licenses: []
79
79
  metadata: {}
80
- post_install_message:
80
+ post_install_message:
81
81
  rdoc_options: []
82
82
  require_paths:
83
83
  - lib
@@ -92,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.1.2
96
- signing_key:
95
+ rubygems_version: 3.1.4
96
+ signing_key:
97
97
  specification_version: 4
98
98
  summary: Turns off all rules that are unnecessary or might conflict with prettier
99
99
  plugin ruby.