From 291ccca6ca65e716a94f628976a78b8c86fa8226 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Tue, 28 Oct 2025 09:38:31 +0100 Subject: [PATCH] add solargraph --- .solargraph.yml | 25 +++++++++++++++++++++++++ Gemfile | 2 ++ Gemfile.lock | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 .solargraph.yml diff --git a/.solargraph.yml b/.solargraph.yml new file mode 100644 index 0000000..2470a43 --- /dev/null +++ b/.solargraph.yml @@ -0,0 +1,25 @@ +--- +include: +- Rakefile +- Gemfile +- "*.gemspec" +- "**/*.rb" +exclude: +- spec/**/* +- test/**/* +- vendor/**/* +- ".bundle/**/*" +require: [ ] +domains: [] +reporters: +- rubocop +formatter: + rubocop: + cops: safe + except: [] + only: [] + extra_args: [] +require_paths: [] +plugins: +- solargraph-rails +max_files: 5000 diff --git a/Gemfile b/Gemfile index 74c8944..6a4fca0 100644 --- a/Gemfile +++ b/Gemfile @@ -56,6 +56,8 @@ end group :development do # Use console on exceptions pages [https://github.com/rails/web-console] gem "web-console" + gem "solargraph", require: false + gem "solargraph-rails", require: false end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 9e0b764..cdfa500 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -75,6 +75,7 @@ GEM addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.3) + backport (1.2.0) base64 (0.3.0) bcrypt_pbkdf (1.1.1) benchmark (0.4.1) @@ -101,6 +102,7 @@ GEM debug (1.11.0) irb (~> 1.10) reline (>= 0.3.8) + diff-lcs (1.6.2) dotenv (3.1.8) drb (2.2.3) ed25519 (1.4.0) @@ -124,6 +126,7 @@ GEM pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) + jaro_winkler (1.6.1) jbuilder (2.13.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) @@ -139,6 +142,10 @@ GEM sshkit (>= 1.23.0, < 2.0) thor (~> 1.3) zeitwerk (>= 2.6.18, < 3.0) + kramdown (2.5.1) + rexml (>= 3.3.9) + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) @@ -182,6 +189,7 @@ GEM racc (~> 1.4) nokogiri (1.18.8-x86_64-linux-musl) racc (~> 1.4) + observer (0.1.2) ostruct (0.6.2) parallel (1.27.0) parser (3.3.8.0) @@ -243,12 +251,16 @@ GEM zeitwerk (~> 2.6) rainbow (3.1.1) rake (13.3.0) + rbs (3.9.5) + logger rdoc (6.14.2) erb psych (>= 4.0.0) regexp_parser (2.10.0) reline (0.6.1) io-console (~> 0.5) + reverse_markdown (3.0.0) + nokogiri rexml (3.4.1) rspec-core (3.13.5) rspec-support (~> 3.13.0) @@ -304,6 +316,30 @@ GEM rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) + solargraph (0.57.0) + backport (~> 1.2) + benchmark (~> 0.4) + bundler (~> 2.0) + diff-lcs (~> 1.4) + jaro_winkler (~> 1.6, >= 1.6.1) + kramdown (~> 2.3) + kramdown-parser-gfm (~> 1.1) + logger (~> 1.6) + observer (~> 0.1) + ostruct (~> 0.6) + parser (~> 3.0) + prism (~> 1.4) + rbs (>= 3.6.1, <= 4.0.0.dev.4) + reverse_markdown (~> 3.0) + rubocop (~> 1.76) + thor (~> 1.0) + tilt (~> 2.0) + yard (~> 0.9, >= 0.9.24) + yard-activesupport-concern (~> 0.0) + yard-solargraph (~> 0.1) + solargraph-rails (1.2.4) + activesupport + solargraph (>= 0.48.0, <= 0.57) solid_cable (3.0.11) actioncable (>= 7.2) activejob (>= 7.2) @@ -340,6 +376,7 @@ GEM thruster (0.1.14) thruster (0.1.14-aarch64-linux) thruster (0.1.14-x86_64-linux) + tilt (2.6.1) timeout (0.4.3) turbo-rails (2.0.16) actionpack (>= 7.1.0) @@ -363,6 +400,11 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) + yard (0.9.37) + yard-activesupport-concern (0.0.1) + yard (>= 0.8) + yard-solargraph (0.1.0) + yard (~> 0.9) zeitwerk (2.7.3) PLATFORMS @@ -389,6 +431,8 @@ DEPENDENCIES rspec-rails (~> 8.0.0) rubocop-rails-omakase selenium-webdriver + solargraph + solargraph-rails solid_cable solid_cache solid_queue