add Solargraph + direnv ignore

Phillip Davis created

slightly nicer dev experience, although beware that Solargraph might
break on ruby 3.4

Change summary

.gitignore      |  1 +
.solargraph.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
Gemfile         |  2 ++
3 files changed, 52 insertions(+)

Detailed changes

.gitignore 🔗

@@ -4,3 +4,4 @@ tai.c
 /.gems
 /.bundle
 /.byebug_history
+/.envrc

.solargraph.yml 🔗

@@ -0,0 +1,49 @@
+---
+include:
+- "lib/**/*.rb"
+- "bin/**/*.rb"
+- "test/**/*.rb"
+- "*.rb"
+- ".guix-gems/*/lib/**/*.rb"
+exclude:
+- ".gems/**/*"
+- vendor/**/*
+- ".bundle/**/*"
+- coverage/**/*
+require:
+- activesupport
+- blather
+- em-hiredis
+- em-http-request
+- em_promise.rb
+- em-synchrony
+- eventmachine
+- faraday
+- faraday-em_synchrony
+- ruby-bandwidth-iris
+- goliath
+- lazy_object
+- value_semantics
+- amazing_print
+- ougai
+- multibases
+- multihashes
+- rack
+- redis
+- sentry-ruby
+- webrick
+- csv
+- mutex_m
+domains: []
+reporters:
+- rubocop
+- require_not_found
+formatter:
+  rubocop:
+    cops: safe
+    except: []
+    only: []
+    extra_args: []
+require_paths: []
+plugins: []
+max_files: 5000

Gemfile 🔗

@@ -27,9 +27,11 @@ gem 'csv'
 gem 'mutex_m'
 
 group(:development) do
+	gem "observer"
 	gem "pry-reload"
 	gem "pry-rescue"
 	gem "pry-byebug"
+	gem "solargraph"
 end
 
 group(:test) do