File tree Expand file tree Collapse file tree 3 files changed +8
-28
lines changed
Expand file tree Collapse file tree 3 files changed +8
-28
lines changed Original file line number Diff line number Diff line change 1+ inherit_gem :
2+ main_branch_shared_rubocop_config : config/rubocop.yml
3+
14AllCops :
2- NewCops : enable
3- # Output extra information for each offense to make it easier to diagnose:
4- DisplayCopNames : true
5- DisplayStyleGuide : true
6- ExtraDetails : true
7- SuggestExtensions : false
8- # RuboCop enforces rules depending on the oldest version of Ruby which
9- # your project supports:
5+ # Pin this project to Ruby 3.1 in case the shared config above is upgraded to 3.2
6+ # or later.
107 TargetRubyVersion : 3.1
11-
12- # The default max line length is 80 characters
13- Layout/LineLength :
14- Max : 120
15-
16- # The DSL for RSpec and the gemspec file make it very hard to limit block length:
17- Metrics/BlockLength :
18- Exclude :
19- - " spec/**/*_spec.rb"
20- - " *.gemspec"
21-
22- Gemspec/DevelopmentDependencies :
23- EnforcedStyle : gemspec
Original file line number Diff line number Diff line change @@ -49,14 +49,9 @@ CLEAN << 'rspec-report.xml'
4949
5050require 'rubocop/rake_task'
5151
52- RuboCop ::RakeTask . new do |t |
53- t . options = %w[
54- --format progress
55- --format json --out rubocop-report.json
56- ]
57- end
52+ RuboCop ::RakeTask . new
5853
59- CLEAN << 'rubocop-report.json'
54+ # YARD
6055
6156unless RUBY_PLATFORM == 'java'
6257 # yard:build
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ Gem::Specification.new do |spec|
4444
4545 spec . add_development_dependency 'bundler-audit' , '~> 0.9'
4646 # spec.add_development_dependency 'debug', '~> 1.9'
47+ spec . add_development_dependency 'main_branch_shared_rubocop_config' , '~> 0.1'
4748 spec . add_development_dependency 'rake' , '~> 13.2'
4849 spec . add_development_dependency 'rspec' , '~> 3.13'
4950 spec . add_development_dependency 'rubocop' , '~> 1.66'
You can’t perform that action at this time.
0 commit comments