rubocop-ruby3_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,45 +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
- plugins:
11
- # Lint Markdown code examples through RuboCop's plugin API.
12
- - rubocop-md
13
- # Rubygems, and Rails apps have Rakefile as a convention, and if they don't, why not?
14
- # Other Ruby projects don't have a Rakefile by default, so if needed we could add a ruby_vanilla.yml.
15
- # With Rakefile seems more common than without for projects that bother to install a linter.
16
- - rubocop-rake
17
- # Warn about thread unsafe code in the broad LTS Ruby profile.
18
- - rubocop-thread_safety
19
-
20
- require:
21
- # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
22
- - standard-rubocop-lts
23
- # RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
24
- - rubocop/gradual/patch
25
-
26
- # Rules are overridden in a LIFO stack.
27
- # This is the opposite of what you might expect.
28
- inherit_gem:
29
- standard-rubocop-lts: config/ruby-3.2.yml
30
-
31
- inherit_from:
32
- - strict/ruby.yml
33
-
34
- AllCops:
35
- # When the Ruby community, via RuboCop, adopts a new standard
36
- # (with additional filtering by standard.rb) it is good enough for us!
37
- NewCops: enable
38
-
39
- # Metrics cops are disabled in Standard by default
40
- Metrics:
41
- Enabled: true
42
-
43
- # Ruby specific customizations
44
- Layout/LineLength:
45
- 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-ruby3_2: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
9
- # # rubocop-ruby3_2: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
10
- # # rubocop-ruby3_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-ruby3_2: rubocop.yml # for the ruby + rspec
13
-
14
- inherit_from:
15
- - rubocop-lts/rubygem_rspec.yml