Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1370 commits
Select commit Hold shift + click to select a range
944d425
Merge branch 'fix_directive_combination_issue' of apiology.github.com…
apiology Jan 1, 2026
af41798
Merge remote-tracking branch 'origin/master' into remove_dead_file
apiology Jan 1, 2026
843817f
Merge branch 'stricter_unions' into union_type_enforcement
apiology Jan 1, 2026
3b58706
Merge remote-tracking branch 'origin/master' into pin_cache_refactor
apiology Jan 1, 2026
5117745
Merge remote-tracking branch 'origin/master' into try_again_removing_…
apiology Jan 1, 2026
d3fa03f
Merge remote-tracking branch 'origin/master' into doc_improvements
apiology Jan 1, 2026
be7ea1d
Merge remote-tracking branch 'origin/master' into pin_infer_assertion
apiology Jan 1, 2026
01f78a0
Merge remote-tracking branch 'origin/master' into method_alias_assert…
apiology Jan 1, 2026
f02a6e0
Merge remote-tracking branch 'origin/master' into fix_assignment_hand…
apiology Jan 1, 2026
30818ab
Merge remote-tracking branch 'origin/master' into cache_uncache_gem
apiology Jan 1, 2026
5f56c45
Merge remote-tracking branch 'origin/master' into add_regression_specs
apiology Jan 1, 2026
4aaf0be
Merge branch 'reduce_num_of_buid_jobs' into pin_cache_refactor
apiology Jan 1, 2026
51f443f
Merge branch 'reduce_num_of_buid_jobs' into improve_gemspecs_logic
apiology Jan 1, 2026
977b183
Improve signature combination
apiology Jan 2, 2026
82024fe
Merge branch 'better_signature_combination' into union_type_enforcement
apiology Jan 2, 2026
1587a81
Update annotations
apiology Jan 2, 2026
81927c8
Drop annotation
apiology Jan 2, 2026
1b93144
Fix RuboCop issue
apiology Jan 2, 2026
1f0c11d
Fix merge
apiology Jan 2, 2026
25b1148
Don't use solargraph-rspec branch
apiology Jan 2, 2026
f44141c
Fix merge
apiology Jan 2, 2026
9798505
Debug
apiology Jan 2, 2026
20e9649
Merge branch 'try_again_removing_node_modules_stubs' into pin_cache_r…
apiology Jan 2, 2026
93d8e53
Merge remote-tracking branch 'origin/master' into pin_cache_refactor
apiology Jan 2, 2026
5edcd2d
Add another use of stdlib dependencies in RBS
apiology Jan 2, 2026
8320f5b
Mock additional call
apiology Jan 2, 2026
6730e8f
Fix annotations
apiology Jan 2, 2026
9a88f53
Update types in rspec undercover
apiology Jan 2, 2026
00c2947
Debug
apiology Jan 2, 2026
5df17d5
Debug
apiology Jan 2, 2026
fe3f4f2
Merge remote-tracking branch 'origin/master' into improve_gemspecs_logic
apiology Jan 2, 2026
c22e310
Drop incorrect rbs collection use in spec
apiology Jan 2, 2026
e70af06
Merge branch 'pin_cache_refactor' into improve_solargraph_gems
apiology Jan 2, 2026
1842129
Merge branch 'master' into extract_gemspecs_logic_from_doc_map
apiology Jan 2, 2026
0d6b68b
Update rubocop todo
apiology Jan 2, 2026
2ddeefb
Merge branch 'union_type_enforcement' into union_type_enforcement_ivars
apiology Jan 2, 2026
d5d619e
Revert change
apiology Jan 3, 2026
8c42ebe
Fix RuboCop issue
apiology Jan 3, 2026
552e024
Fix annotations
apiology Jan 3, 2026
0f6862b
Fix annotations
apiology Jan 3, 2026
49b6338
RuboCop fix
apiology Jan 3, 2026
40a915f
Use "type arity" to guide signature combination
apiology Jan 3, 2026
11bf987
Update rubocop todo
apiology Jan 3, 2026
72131e8
Include return type arity in comparison
apiology Jan 3, 2026
334f4e0
Add dodgy return type
apiology Jan 3, 2026
a2e5964
Fix RuboCop issue
apiology Jan 3, 2026
5ba6b74
Merge branch 'better_signature_combination' into union_type_enforcement
apiology Jan 3, 2026
1dedc03
Merge branch 'union_type_enforcement' into union_type_enforcement_ivars
apiology Jan 3, 2026
0ac3cb4
Add Ruby 4.0 jobs
apiology Jan 4, 2026
3e3e4d9
Exclude another combo
apiology Jan 4, 2026
c7eefc2
Exclude another combo
apiology Jan 4, 2026
da2bf68
Merge branch 'reduce_num_of_buid_jobs' into generic_typechecking_impr…
apiology Jan 4, 2026
c0a8370
Merge branch 'generic_typechecking_improvements' into stricter_unions
apiology Jan 4, 2026
eafd807
Merge branch 'castwide:master' into stricter_unions
apiology Jan 4, 2026
94d17a2
Merge remote-tracking branch 'origin/master' into stricter_unions
apiology Jan 4, 2026
6e6e85d
Update rules to use report?
apiology Jan 4, 2026
fc3f645
Merge branch 'stricter_unions' of apiology.github.com:apiology/solarg…
apiology Jan 4, 2026
79a2b2a
Fix merge
apiology Jan 4, 2026
60df579
Fix merge
apiology Jan 4, 2026
0e706d7
Merge remote-tracking branch 'origin/master' into reduce_num_of_buid_…
apiology Jan 4, 2026
5bc6855
Merge remote-tracking branch 'origin/master' into add_regression_specs
apiology Jan 4, 2026
f7c5b44
Merge branch 'reduce_num_of_buid_jobs' into add_regression_specs
apiology Jan 4, 2026
cbb5511
Merge branch 'reduce_num_of_buid_jobs' into fix_assignment_handling
apiology Jan 4, 2026
d0b6d40
Merge branch 'reduce_num_of_buid_jobs' into extract_gemspecs_logic_fr…
apiology Jan 5, 2026
caa81d4
Drop dead code
apiology Jan 5, 2026
71931c5
Merge branch 'extract_gemspecs_logic_from_doc_map' of apiology.github…
apiology Jan 5, 2026
bf63f56
Merge branch 'reduce_num_of_buid_jobs' into better_signature_combination
apiology Jan 5, 2026
6e9fbfc
Merge branch 'extract_gemspecs_logic_from_doc_map' into improve_gemsp…
apiology Jan 5, 2026
2bca05a
Merge branch 'remove_dead_file' into 2025-01-05
apiology Jan 5, 2026
b8cc1ce
Merge branch 'reduce_num_of_buid_jobs' into 2025-01-05
apiology Jan 5, 2026
a536001
Merge branch 'doc_improvements' into 2025-01-05
apiology Jan 5, 2026
4c6a84e
Bump version to 0.59.0.dev.1
apiology Jan 6, 2026
23891c2
Merge branch 'fix_assignment_handling' into 2025-01-05
apiology Jan 6, 2026
494b295
Rename rule
apiology Jan 6, 2026
bfba515
Merge branch 'extract_gemspecs_logic_from_doc_map' into 2025-01-05
apiology Jan 6, 2026
6c35bdf
Merge branch 'generic_typechecking_improvements' into 2025-01-05
apiology Jan 6, 2026
4b3f9fb
Merge branch 'stricter_unions' into 2025-01-05
apiology Jan 6, 2026
0ccfcb0
Update RuboCop todo file
apiology Jan 6, 2026
df3d81a
Merge remote-tracking branch 'origin/master' into method_alias_assert…
apiology Jan 6, 2026
c8f4751
Update RuboCop todo file
apiology Jan 6, 2026
56b8087
Merge branch 'method_alias_assertions' into 2025-01-05
apiology Jan 6, 2026
4f16771
Ratchet rubocop TODO file
apiology Jan 6, 2026
1e0c0bf
Merge branch 'pin_infer_assertion' into 2025-01-05
apiology Jan 6, 2026
d06b9f7
Merge branch 'add_regression_specs' into 2025-01-05
apiology Jan 6, 2026
7ab8514
Move to skip:
apiology Jan 6, 2026
3f1d1e5
Mark spec as pending
apiology Jan 6, 2026
71f609c
Revert spec change
apiology Jan 6, 2026
60929ad
Merge remote-tracking branch 'origin/master' into intersection_types
apiology Jan 6, 2026
ba4f63e
Drop old workaround
apiology Jan 6, 2026
faa09e2
Merge branch 'intersection_types' into 2025-01-05
apiology Jan 6, 2026
3296a3c
Fix merge
apiology Jan 7, 2026
2a105fe
Merge branch 'better_signature_combination' into 2025-01-06
apiology Jan 7, 2026
522e07b
Merge branch 'pin_cache_refactor' into 2025-01-06
apiology Jan 7, 2026
f376a9b
Fix typechecking issues
apiology Jan 7, 2026
3c947d2
Revert doc
apiology Jan 7, 2026
19b28ad
Fix spelling
apiology Jan 7, 2026
6b5d2c3
Fix merge issue
apiology Jan 7, 2026
dec5e39
Merge branch 'improve_gemspecs_logic' into 2025-01-06
apiology Jan 7, 2026
b826d83
Exclude the current gemspec from pins brought in from gem
apiology Jan 8, 2026
c952002
Check pathname instead
apiology Jan 8, 2026
bcebe89
Add sg-ignore
apiology Jan 8, 2026
267c445
Avoid rbs pollution
apiology Jan 9, 2026
a5ecc28
Test with RBS 4.0.0.dev.5
apiology Jan 9, 2026
dd32db0
Merge branch 'reduce_num_of_buid_jobs' into rbs_gem_update
apiology Jan 9, 2026
47d749b
Open up in gemspec
apiology Jan 9, 2026
0a724ef
Fix missing spot
apiology Jan 9, 2026
2b7a786
Typecheck using RBS prereleases
apiology Jan 9, 2026
44543d4
Move point of ignoring cached gems for gem projects
apiology Jan 9, 2026
43c50ae
Merge branch 'avoid_rbs_pollution' into 2025-01-05
apiology Jan 9, 2026
8b9eae3
Merge branch '2025-01-05' into 2025-01-06
apiology Jan 9, 2026
c4a91f4
Fix issues resolving cgi escape functions
apiology Jan 10, 2026
02151a5
Be more careful marking things as stdlib
apiology Jan 10, 2026
14a8468
Reclassify rbs gem
apiology Jan 10, 2026
afa808b
Merge branch 'pin_cache_refactor' into 2025-01-06
apiology Jan 10, 2026
d5668fe
Fix merge
apiology Jan 10, 2026
93e410e
Merge branch 'avoid_rbs_pollution' into rbs_gem_update
apiology Jan 10, 2026
cde1073
Add sg-ignore
apiology Jan 10, 2026
e155ffa
Fix merge
apiology Jan 10, 2026
3ec765b
Merge remote-tracking branch 'origin/master' into fix_directive_combi…
apiology Jan 10, 2026
367b890
Merge branch 'fix_directive_combination_issue' into 2025-01-06
apiology Jan 10, 2026
b0b8368
Merge branch 'pin_cache_refactor' into improve_solargraph_gems
apiology Jan 10, 2026
f7816a6
Merge branch 'rbs_gem_update' into 2025-01-06
apiology Jan 10, 2026
d8dfcc0
Remove outdated workaround
apiology Jan 10, 2026
92f2313
Merge branch 'improve_solargraph_gems' into 2025-01-06
apiology Jan 10, 2026
4b92af3
Merge remote-tracking branch 'origin/master' into flow_sensitive_typi…
apiology Jan 10, 2026
0fad08f
Fix @sg-ignore name
apiology Jan 10, 2026
8cba48d
Merge branch 'intersection_types' into flow_sensitive_typing_2_0
apiology Jan 10, 2026
8656254
Restore workaround
apiology Jan 10, 2026
236734e
Restore workaround
apiology Jan 10, 2026
2018b83
Merge branch 'flow_sensitive_typing_2_0' into 2025-01-06
apiology Jan 10, 2026
a575014
Merge branch 'flow_sensitive_typing_2_0' into 2025-01-06
apiology Jan 11, 2026
16506e8
Fix method signature
apiology Jan 11, 2026
740db4e
Fix annotations
apiology Jan 11, 2026
4d1c21a
Add regression test and fix for issue found during future merge
apiology Jan 11, 2026
10a3355
Merge branch 'flow_sensitive_typing_2_0' into 2025-01-06
apiology Jan 11, 2026
29da3af
Add regression test and fix for issue found during future merge
apiology Jan 11, 2026
e53ad5a
Merge branch 'flow_sensitive_typing_2_0' into 2025-01-06
apiology Jan 11, 2026
170d8c8
Merge remote-tracking branch 'origin/master' into local_variable_prob…
apiology Jan 11, 2026
cf8c4df
Merge branch 'local_variable_probiing' into 2025-01-06
apiology Jan 11, 2026
29287ef
Merge branch 'local_variable_probiing' into or_support_in_flow_sensit…
apiology Jan 11, 2026
002c7b6
Merge branch 'stricter_unions' into or_support_in_flow_sensitive_typing
apiology Jan 11, 2026
9f9f775
Merge branch 'flow_sensitive_typing_2_0' into or_support_in_flow_sens…
apiology Jan 11, 2026
ab4d357
Merge branch '2025-01-06' into or_support_in_flow_sensitive_typing_merge
apiology Jan 11, 2026
b7b31a9
Fix merge
apiology Jan 11, 2026
9ac6e93
Fix merge
apiology Jan 11, 2026
1ee3f28
Merge pull request #25 from apiology/or_support_in_flow_sensitive_typ…
apiology Jan 11, 2026
099aea1
Merge remote-tracking branch 'origin/2025-01-06' into union_type_enfo…
apiology Jan 11, 2026
861fc02
Fix merge
apiology Jan 11, 2026
25691de
Fix merge
apiology Jan 11, 2026
e0deadf
Use correct field for self type resolution
apiology Jan 11, 2026
dbcd966
Fix 'solargraph pin --references ClassName' private method call
apiology Jan 11, 2026
4f4b6a0
Add error handling
apiology Jan 11, 2026
6456a8c
Merge branch 'improve_gemspecs_logic' into 2025-01-06
apiology Jan 11, 2026
7e23cee
Merge branch 'fix_shell_pin_references_method' into 2025-01-06
apiology Jan 11, 2026
176b506
Fix another location with another test case
apiology Jan 11, 2026
6531096
Merge branch 'resolve_self_correctly' into 2025-01-06
apiology Jan 11, 2026
45ea895
Drop now-unneeded @sg-ignore
apiology Jan 11, 2026
4366394
Merge branch 'resolve_self_correctly' into 2025-01-06
apiology Jan 11, 2026
92286c1
Don't log caching for each dependent library
apiology Jan 11, 2026
2e316d5
Drop logging entirely
apiology Jan 11, 2026
9dd6485
Merge branch '2025-01-06' into union_type_enforcement_merge
apiology Jan 12, 2026
458efed
Fix some types based on future branch feedback
apiology Jan 12, 2026
f10d17d
Merge branch 'improve_gemspecs_logic' into 2025-01-06
apiology Jan 12, 2026
3c96036
Merge branch '2025-01-06' into union_type_enforcement_merge
apiology Jan 12, 2026
45e5eca
Provide Gem::Specification to outside interface
apiology Jan 12, 2026
2d5456a
Provide Gem::Specification to outside interface
apiology Jan 12, 2026
4ce641d
Use #to_spec
apiology Jan 12, 2026
aa99710
Provide Gem::Specification to outside interface
apiology Jan 12, 2026
d9188e7
Fix typechecking error
apiology Jan 12, 2026
8eea21f
Use consistent bundler versions
apiology Jan 12, 2026
d8f9006
Merge branch 'improve_gemspecs_logic' into 2025-01-06
apiology Jan 12, 2026
ad6ee19
Fix type issue
apiology Jan 12, 2026
f54304e
Merge branch '2025-01-06' into union_type_enforcement_merge
apiology Jan 12, 2026
f88875c
Fix annotations based on future branch feedback
apiology Jan 12, 2026
9268eae
Add some @todos
apiology Jan 12, 2026
7f66b20
Merge branch 'pin_cache_refactor' into 2025-01-06
apiology Jan 12, 2026
0d00ac7
Merge branch '2025-01-06' into union_type_enforcement_merge
apiology Jan 12, 2026
e9f83e6
Fix annotations
apiology Jan 12, 2026
0a52fef
Fix annotations
apiology Jan 12, 2026
91e2491
Fix annotation
apiology Jan 12, 2026
b270c48
Add diff::lcs shim
apiology Jan 12, 2026
f301760
Merge branch '2025-01-12' into union_type_enforcement_ivars_merge
apiology Jan 12, 2026
7c35136
Improve spec expectations
apiology Jan 12, 2026
a78d58d
Add @sg-ignore
apiology Jan 12, 2026
d6ac342
Fix rspec checks to run on all types of PRs
apiology Jan 12, 2026
c5dbf24
Fix merge
apiology Jan 12, 2026
e4aac59
Merge remote-tracking branch 'origin/master' into cache_uncache_gem
apiology Jan 12, 2026
2d8f79c
Merge branch 'cache_uncache_gem' into cache_uncache_gem_merge_2
apiology Jan 12, 2026
40b62b4
Fix merge
apiology Jan 12, 2026
b9ebd26
Fix merge
apiology Jan 12, 2026
95ed300
Avoid rbs pollution (#1146)
apiology Jan 13, 2026
ce12a5f
Fix 'solargraph pin --references ClassName' private method call (#1150)
apiology Jan 13, 2026
620f60a
Manual rubocop fixes
apiology Jan 13, 2026
fbaa36a
Merge remote-tracking branch 'origin/master' into rubocop_manual_fixes_1
apiology Jan 13, 2026
c958939
Merge remote-tracking branch 'castwide/v0.59' into rubocop_manual_fix…
apiology Jan 13, 2026
40e3b8d
RuboCop manual fixes
apiology Jan 14, 2026
523d127
RuboCop manual fixes
apiology Jan 14, 2026
5ae5558
Improve memory efficiency of Position class (#1054)
lekemula Jan 14, 2026
1388af4
RuboCop manual fixes
apiology Jan 14, 2026
f9590f1
RuboCop manual fixes
apiology Jan 14, 2026
0fdb09f
RuboCop manual fixes
apiology Jan 14, 2026
b3affb0
RuboCop manual fixes
apiology Jan 14, 2026
68cd96d
RuboCop manual fixes
apiology Jan 14, 2026
fecbb8e
RuboCop manual fixes
apiology Jan 14, 2026
aed854a
RuboCop manual fixes
apiology Jan 14, 2026
80b8e7b
RuboCop manual fixes
apiology Jan 14, 2026
4c05f28
Raise InvalidOffsetError for offsets > text (#1155)
castwide Jan 14, 2026
be2c6f5
Refactor RbsMap::Conversions
apiology Jan 18, 2026
676da4c
Release 0.58.2
castwide Jan 19, 2026
504ba73
Complete other_type_to_type transition
apiology Jan 19, 2026
608d64b
Refactor
apiology Jan 20, 2026
9b15cfb
Refactor
apiology Jan 20, 2026
5d9f761
Refactor
apiology Jan 20, 2026
46f8063
Refactor
apiology Jan 20, 2026
5d8ffc8
Refactor
apiology Jan 20, 2026
f20d95d
Refactor
apiology Jan 20, 2026
8f1bf0f
Refactor
apiology Jan 20, 2026
55f9fc4
Refactor
apiology Jan 20, 2026
468ba97
Add @sg-ignores
apiology Jan 20, 2026
fc4c5b7
Fix tuple issue
apiology Jan 21, 2026
6ec089c
Refactor
apiology Jan 21, 2026
19329ef
Tuple -> Array()
apiology Jan 22, 2026
c8079e6
Add @sg-ignore
apiology Jan 22, 2026
7e29706
Use rooted names, clarify intent
apiology Jan 22, 2026
769bd50
Refactor
apiology Jan 23, 2026
f087eed
Remove TODOs, add asserts
apiology Jan 26, 2026
6979cb7
Fix solargraph-rspec spec failure
apiology Jan 27, 2026
23e4e74
Merge remote-tracking branch 'castwide/v0.59' into 2026-01-27
apiology Jan 27, 2026
0f4c07d
Merge branch '2026-01-27' into temp_solargraph_rspec_branch
apiology Jan 27, 2026
197c2db
Fix merge
apiology Jan 27, 2026
b4f5c75
Merge branch 'temp_solargraph_rspec_branch' into refactor_rbs_convers…
apiology Jan 27, 2026
039dd0d
Merge branch 'rubocop_manual_fixes_1' into 2026-01-27
apiology Jan 27, 2026
17a31a8
Merge remote-tracking branch 'lekemula/profile-command' into 2026-01-27
apiology Jan 27, 2026
b6cea8c
Adjust rubocop todo
apiology Jan 27, 2026
51d1750
Merge branch 'refactor_rbs_conversions' into 2026-01-27
apiology Jan 27, 2026
cbaf4af
Debug logging fixes
apiology Jan 29, 2026
4f75d7d
Merge branch 'v0.59' into better_logging_testing
apiology Jan 31, 2026
92a677f
Reproduce build problem with RBS pre-release
apiology Jan 31, 2026
3725fa9
Stop hard-coding bundler version
apiology Jan 31, 2026
d68c906
Use bundler preferred by setup-ruby step
apiology Jan 31, 2026
fa22741
Merge branch 'repro_rbs' into better_logging_testing
apiology Jan 31, 2026
4512d01
Fix merge
apiology Jan 31, 2026
97f06fc
Merge branch 'repro_rbs' into 2026-01-27
apiology Jan 31, 2026
e198275
Merge branch 'better_logging_testing' into 2026-01-27
apiology Jan 31, 2026
ce2c3b6
rubocop -a
apiology Jan 31, 2026
e906f6b
manual typechecking fixes
apiology Jan 31, 2026
d2573cc
Fix indentation
apiology Jan 31, 2026
7cb2fba
Sync @sg-ignores with CI
apiology Jan 31, 2026
7a71eed
rubocop -A
apiology Jan 31, 2026
725e85d
Fix typechecking issues
apiology Jan 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,12 @@ jobs:
- name: clone https://github.com/lekemula/solargraph-rspec/
run: |
cd ..
git clone https://github.com/lekemula/solargraph-rspec.git
# git clone https://github.com/lekemula/solargraph-rspec.git

# pending https://github.com/lekemula/solargraph-rspec/pull/31
git clone https://github.com/apiology/solargraph-rspec.git
cd solargraph-rspec
git checkout test_solargraph_prereleases
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
# see https://github.com/castwide/solargraph/actions/runs/19391419903/job/55485410493?pr=1119
#
# match version in Gemfile.lock and use same version below
bundler: 2.5.23
bundler-cache: false
bundler-cache: true
- name: Set rbs version
run: echo "gem 'rbs', '${{ matrix.rbs-version }}'" >> .Gemfile
# /home/runner/.rubies/ruby-head/lib/ruby/gems/3.5.0+2/gems/rbs-3.9.4/lib/rbs.rb:11:
Expand All @@ -83,9 +79,8 @@ jobs:
# starting from Ruby 3.6.0
- name: Work around legacy rbs deprecation on ruby > 3.4
run: echo "gem 'tsort'" >> .Gemfile
- name: Install gems
- name: Update gems
run: |
bundle _2.5.23_ install
bundle update rbs # use latest available for this Ruby version
- name: Update types
run: bundle exec rbs collection update
Expand All @@ -103,13 +98,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
# see https://github.com/castwide/solargraph/actions/runs/19391419903/job/55485410493?pr=1119
#
# match version in Gemfile.lock and use same version below
bundler: 2.5.23
bundler-cache: false
- name: Install gems
run: bundle install
bundler-cache: true
- name: Update types
run: bundle exec rbs collection update
- name: Run tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ coverage
/Makefile
/.pryrc
/.rspec-local
vendor/cache
37 changes: 32 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@ AllCops:
- "vendor/**/.*"
TargetRubyVersion: 3.0

Gemspec/RequiredRubyVersion:
Exclude:
- 'spec/fixtures/rdoc-lib/rdoc-lib.gemspec'
- 'spec/fixtures/rubocop-custom-version/specifications/rubocop-0.0.0.gemspec'
- 'spec/fixtures/vendored/vendor/do_not_use.gemspec'

Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
Exclude:
- 'spec/fixtures/**/*'

Lint/EmptyFile:
Exclude:
- 'spec/fixtures/vendored/vendor/do_not_use.gemspec'

Naming/VariableName:
Exclude:
- 'spec/fixtures/unicode.rb'

# We don't use the spec/solargraph directory
RSpec/SpecFilePathFormat:
Enabled: false
Expand All @@ -31,6 +50,14 @@ Style/MethodDefParentheses:
Layout/EmptyLineAfterGuardClause:
Enabled: false

Naming/AsciiIdentifiers:
Exclude:
- 'spec/fixtures/unicode.rb'

Lint/EmptyClass:
Exclude:
- spec/fixtures/**/*.rb

Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true

Expand All @@ -48,17 +75,17 @@ Style/ClassVars:
# improve existing code!
#
Metrics/AbcSize:
Max: 65
Max: 110
Metrics/MethodLength:
Max: 60
Max: 70
Metrics/ClassLength:
Max: 500
Metrics/CyclomaticComplexity:
Max: 23
Max: 40
Metrics/PerceivedComplexity:
Max: 29
Max: 40
RSpec/ExampleLength:
Max: 17
Max: 310

plugins:
- rubocop-rspec
Expand Down
Loading
Loading