rubocop-ruby2_2 3.0.2 → 3.0.4

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.
data/rubocop-lts/ruby.yml DELETED
@@ -1,43 +0,0 @@
1
- # Customizations/Deviations from Standard for Ruby Coding Standards
2
-
3
- # We want Exclude, and Include, directives from different
4
- # config files to get merged, not overwritten
5
- inherit_mode:
6
- merge:
7
- - Exclude
8
- - Include
9
-
10
- require:
11
- # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
12
- - standard-rubocop-lts
13
- # RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
14
- - rubocop/gradual/patch
15
-
16
- # Rules are overridden in a LIFO stack.
17
- # This is the opposite of what you might expect.
18
- inherit_gem:
19
- standard-rubocop-lts: config/ruby-2.2.yml
20
-
21
- inherit_from:
22
- - strict/ruby.yml
23
-
24
- AllCops:
25
- # When the Ruby community, via RuboCop, adopts a new standard
26
- # (with additional filtering by standard.rb) it is good enough for us!
27
- NewCops: enable
28
-
29
- # Metrics cops are disabled in Standard by default
30
- Metrics:
31
- Enabled: true
32
-
33
- plugins:
34
- # Lint Markdown code examples through RuboCop's plugin API.
35
- - rubocop-md
36
- # Rubygems have Rakefile as a convention, and if they don't, why not?
37
- - rubocop-rake
38
- # Warn about thread unsafe code in the broad LTS Ruby profile.
39
- - rubocop-thread_safety
40
-
41
- # Ruby specific customizations
42
- Layout/LineLength:
43
- Max: 120
@@ -1,6 +0,0 @@
1
- # Customizations/Deviations from Standard for RuboCop-LTS Ruby w/ RSpec Coding Standards
2
- inherit_from:
3
- - ruby.yml
4
- - rspec.yml
5
-
6
- # Ruby/RSpec specific customizations
@@ -1,6 +0,0 @@
1
- # Customizations/Deviations from Standard for RubyGem Coding Standards
2
- inherit_from:
3
- - ruby.yml
4
-
5
- plugins:
6
- - rubocop-packaging
@@ -1,4 +0,0 @@
1
- # Customizations/Deviations from Standard for RubyGem w/ RSpec Coding Standards
2
- inherit_from:
3
- - rubygem.yml
4
- - rspec.yml
@@ -1,22 +0,0 @@
1
- # These Cops Must Always Be Enabled!
2
- # These Cops check for things that are *literally* bugs,
3
- # and no code should ever be released that fails these cops.
4
- #
5
- # The Exclude: [] is crucial here:
6
- # even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
7
- # thus, re-activating these cops for all the files.
8
- #
9
- # These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
10
- # Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
11
- #
12
- Rails/Output: # Don't leave puts-debugging
13
- Enabled: true
14
- Exclude: []
15
-
16
- Rails/FindEach: # each could severely affect the performance, use find_each
17
- Enabled: true
18
- Exclude: []
19
-
20
- Rails/UniqBeforePluck: # uniq.pluck and not pluck.uniq
21
- Enabled: true
22
- Exclude: []
@@ -1,14 +0,0 @@
1
- # These Cops Must Always Be Enabled!
2
- # These Cops check for things that are *literally* bugs,
3
- # and no code should ever be released that fails these cops.
4
- #
5
- # The Exclude: [] is crucial here:
6
- # even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
7
- # thus, re-activating these cops for all the files.
8
- #
9
- # These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
10
- # Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
11
- #
12
- RSpec/Focus: # run ALL tests on CI
13
- Enabled: true
14
- Exclude: []
@@ -1,14 +0,0 @@
1
- # These Cops Must Always Be Enabled!
2
- # These Cops check for things that are *literally* bugs,
3
- # and no code should ever be released that fails these cops.
4
- #
5
- # The Exclude: [] is crucial here:
6
- # even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
7
- # thus, re-activating these cops for all the files.
8
- #
9
- # These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
10
- # Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
11
- #
12
- Lint/Debugger: # don't leave binding.pry
13
- Enabled: true
14
- Exclude: []
data/rubocop.yml DELETED
@@ -1,15 +0,0 @@
1
- # Change the file you inherit if you:
2
- # * use Rails,
3
- # * are creating a RubyGem, or
4
- # * don't use RSpec
5
- # As follows:
6
- # inherit_gem:
7
- # # Pick one:
8
- # # rubocop-ruby2_2: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
9
- # # rubocop-ruby2_2: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
10
- # # rubocop-ruby2_2: rubocop-lts/rubygem_rspec.yml # or rubocop-lts/rubygem.yml w/o rspec
11
- # # Convention over configuration, hence loading this file just only Ruby and RSpec defaults:
12
- # rubocop-ruby2_2: rubocop.yml # for the ruby + rspec
13
-
14
- inherit_from:
15
- - rubocop-lts/rubygem_rspec.yml