rubocop-config-rufo 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0b348b09b5d3629dc5dabe48fe8f4171cff97313
4
+ data.tar.gz: 9d14a755baea340075c12aa3e692c1d194d9c44b
5
+ SHA512:
6
+ metadata.gz: 44c8f3627158096aa801618b0db1a19d112e9188914ef24bb70ae61efbb60416190cb32c707ff86fc732f9c437123a5b1039b4b66d5bf468564f4f6bb0e3f465
7
+ data.tar.gz: 450c7c4cad3e53f3541ad63049f305e2f99d35f443d32392ea97d46e37fe44896d744865e8fc87d12abebf11d225fa9f37070d956ad620fd7bc9fc3a36cc8cb4
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.4.3
7
+ before_install: gem install bundler -v 1.17.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in rubocop-config-rufo.gemspec
6
+ gemspec
@@ -0,0 +1,31 @@
1
+ # Rubocop::Config::Rufo
2
+
3
+ Turns off all rubocop cops that are unnecessary or might conflict with rufo.
4
+
5
+ ## Installation
6
+
7
+ ```ruby
8
+ gem 'rubocop-config-rufo'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install rubocop-config-rufo
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rubocop-config-rufo.
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rubocop/config/rufo"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,10 @@
1
+ require "rubocop/config/rufo/version"
2
+
3
+ module Rubocop
4
+ module Config
5
+ module Rufo
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,7 @@
1
+ module Rubocop
2
+ module Config
3
+ module Rufo
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,28 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "rubocop/config/rufo/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rubocop-config-rufo"
8
+ spec.version = Rubocop::Config::Rufo::VERSION
9
+ spec.authors = ["Richard Huang"]
10
+ spec.email = ["flyerhzm@gmail.com"]
11
+
12
+ spec.summary = 'Turns off all rubocop cops that are unnecessary or might conflict with rufo.'
13
+ spec.description = 'Turns off all rubocop cops that are unnecessary or might conflict with rufo.'
14
+ spec.homepage = 'https://github.com/xinminlabs/rubocop-config-rufo'
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.17"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3.0"
28
+ end
@@ -0,0 +1,242 @@
1
+ Layout/AccessModifierIndentation:
2
+ Enabled: false
3
+
4
+ Layout/AlignArray:
5
+ Enabled: false
6
+
7
+ Layout/AlignHash:
8
+ Enabled: false
9
+
10
+ # Layout/AlignParameters
11
+
12
+ Layout/BlockAlignment:
13
+ Enabled: false
14
+
15
+ Layout/BlockEndNewline:
16
+ Enabled: false
17
+
18
+ Layout/CaseIndentation:
19
+ Enabled: false
20
+
21
+ # Layout/ClassStructure
22
+
23
+ Layout/ClosingHeredocIndentation:
24
+ Enabled: false
25
+
26
+ Layout/ClosingParenthesisIndentation:
27
+ Enabled: false
28
+
29
+ Layout/CommentIndentation:
30
+ Enabled: false
31
+
32
+ Layout/ConditionPosition:
33
+ Enabled: false
34
+
35
+ Layout/DefEndAlignment:
36
+ Enabled: false
37
+
38
+ # Layout/DotPosition
39
+
40
+ Layout/ElseAlignment:
41
+ Enabled: false
42
+
43
+ # Layout/EmptyComment
44
+
45
+ # Layout/EmptyLineAfterGuardClause
46
+ # Layout/EmptyLineAfterMagicComment
47
+
48
+ Layout/EmptyLineBetweenDefs:
49
+ Enabled: false
50
+
51
+ Layout/EmptyLines:
52
+ Enabled: false
53
+
54
+ Layout/EmptyLinesAroundAccessModifier:
55
+ Enabled: false
56
+
57
+ # Layout/EmptyLinesAroundArguments
58
+
59
+ Layout/EmptyLinesAroundBeginBody:
60
+ Enabled: false
61
+
62
+ Layout/EmptyLinesAroundBlockBody:
63
+ Enabled: false
64
+
65
+ Layout/EmptyLinesAroundClassBody:
66
+ Enabled: false
67
+
68
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
69
+ Enabled: false
70
+
71
+ Layout/EmptyLinesAroundMethodBody:
72
+ Enabled: false
73
+
74
+ Layout/EmptyLinesAroundModuleBody:
75
+ Enabled: false
76
+
77
+ Layout/EndAlignment:
78
+ Enabled: false
79
+
80
+ Layout/EndOfLine:
81
+ Enabled: false
82
+
83
+ Layout/ExtraSpacing:
84
+ Enabled: false
85
+
86
+ # Layout/FirstArrayElementLineBreak
87
+ # Layout/FirstHashElementLineBreak
88
+ # Layout/FirstMethodArgumentLineBreak
89
+ # Layout/FirstMethodParameterLineBreak
90
+
91
+ Layout/FirstParameterIndentation:
92
+ Enabled: false
93
+
94
+ Layout/IndentArray:
95
+ Enabled: false
96
+
97
+ Layout/IndentAssignment:
98
+ Enabled: false
99
+
100
+ Layout/IndentHash:
101
+ Enabled: false
102
+
103
+ # Layout/IndentHeredoc
104
+
105
+ Layout/IndentationConsistency:
106
+ Enabled: false
107
+
108
+ Layout/IndentationWidth:
109
+ Enabled: false
110
+
111
+ Layout/InitialIndentation:
112
+ Enabled: false
113
+
114
+ # Layout/LeadingBlankLines
115
+ # Layout/LeadingCommentSpace
116
+
117
+ Layout/MultilineArrayBraceLayout:
118
+ Enabled: false
119
+
120
+ Layout/MultilineAssignmentLayout:
121
+ Enabled: false
122
+
123
+ # Layout/MultilineBlockLayout
124
+
125
+ Layout/MultilineHashBraceLayout:
126
+ Enabled: false
127
+
128
+ Layout/MultilineMethodCallBraceLayout:
129
+ Enabled: false
130
+
131
+ Layout/MultilineMethodCallIndentation:
132
+ Enabled: false
133
+
134
+ Layout/MultilineMethodDefinitionBraceLayout:
135
+ Enabled: false
136
+
137
+ Layout/MultilineOperationIndentation:
138
+ Enabled: false
139
+
140
+ Layout/RescueEnsureAlignment:
141
+ Enabled: false
142
+
143
+ Layout/SpaceAfterColon:
144
+ Enabled: false
145
+
146
+ Layout/SpaceAfterComma:
147
+ Enabled: false
148
+
149
+ Layout/SpaceAfterMethodName:
150
+ Enabled: false
151
+
152
+ Layout/SpaceAfterNot:
153
+ Enabled: false
154
+
155
+ Layout/SpaceAfterSemicolon:
156
+ Enabled: false
157
+
158
+ Layout/SpaceAroundBlockParameters:
159
+ Enabled: false
160
+
161
+ Layout/SpaceAroundEqualsInParameterDefault:
162
+ Enabled: false
163
+
164
+ Layout/SpaceAroundKeyword:
165
+ Enabled: false
166
+
167
+ Layout/SpaceAroundOperators:
168
+ Enabled: false
169
+
170
+ Layout/SpaceBeforeBlockBraces:
171
+ Enabled: false
172
+
173
+ Layout/SpaceBeforeComma:
174
+ Enabled: false
175
+
176
+ Layout/SpaceBeforeComment:
177
+ Enabled: false
178
+
179
+ Layout/SpaceBeforeFirstArg:
180
+ Enabled: false
181
+
182
+ Layout/SpaceBeforeSemicolon:
183
+ Enabled: false
184
+
185
+ Layout/SpaceInLambdaLiteral:
186
+ Enabled: false
187
+
188
+ Layout/SpaceInsideArrayLiteralBrackets:
189
+ Enabled: false
190
+
191
+ Layout/SpaceInsideBlockBraces:
192
+ Enabled: false
193
+
194
+ Layout/SpaceInsideHashLiteralBraces:
195
+ Enabled: false
196
+
197
+ Layout/SpaceInsideParens:
198
+ Enabled: false
199
+
200
+ # Layout/SpaceInsidePercentLiteralDelimiters
201
+
202
+ Layout/SpaceInsideRangeLiteral:
203
+ Enabled: false
204
+
205
+ Layout/SpaceInsideReferenceBrackets:
206
+ Enabled: false
207
+
208
+ Layout/SpaceInsideStringInterpolation:
209
+ Enabled: false
210
+
211
+ Layout/Tab:
212
+ Enabled: false
213
+
214
+ Layout/TrailingBlankLines:
215
+ Enabled: false
216
+
217
+ Layout/TrailingWhitespace:
218
+ Enabled: false
219
+
220
+ Style/Semicolon:
221
+ Enabled: false
222
+
223
+ Style/StringLiterals:
224
+ Enabled: false
225
+
226
+ Style/StringLiteralsInInterpolation:
227
+ Enabled: false
228
+
229
+ Style/TrailingCommaInArguments:
230
+ Enabled: false
231
+
232
+ Style/TrailingCommaInArrayLiteral:
233
+ Enabled: false
234
+
235
+ Style/TrailingCommaInHashLiteral:
236
+ Enabled: false
237
+
238
+ Style/TrailingMethodEndStatement:
239
+ Enabled: false
240
+
241
+ Style/WhileUntilDo:
242
+ Enabled: false
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubocop-config-rufo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Richard Huang
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-01-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.17'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.17'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: Turns off all rubocop cops that are unnecessary or might conflict with
56
+ rufo.
57
+ email:
58
+ - flyerhzm@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - ".rspec"
65
+ - ".travis.yml"
66
+ - Gemfile
67
+ - README.md
68
+ - Rakefile
69
+ - bin/console
70
+ - bin/setup
71
+ - lib/rubocop/config/rufo.rb
72
+ - lib/rubocop/config/rufo/version.rb
73
+ - rubocop-config-rufo.gemspec
74
+ - rubocop.yml
75
+ homepage: https://github.com/xinminlabs/rubocop-config-rufo
76
+ licenses: []
77
+ metadata: {}
78
+ post_install_message:
79
+ rdoc_options: []
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ requirements: []
93
+ rubyforge_project:
94
+ rubygems_version: 2.6.14
95
+ signing_key:
96
+ specification_version: 4
97
+ summary: Turns off all rubocop cops that are unnecessary or might conflict with rufo.
98
+ test_files: []