# D = Steep::Diagnostic # target :lib do signature "sig" check "lib" # Directory name # check "Gemfile" # File name # check "app/models/**/*.rb" # Glob # ignore "lib/templates/*.rb" library "json", "uri", "pathname", "securerandom", "logger" # library "strong_json" # Gems # configure_code_diagnostics(D::Ruby.strict) # `strict` diagnostics setting # configure_code_diagnostics(D::Ruby.lenient) # `lenient` diagnostics setting # configure_code_diagnostics do |hash| # You can setup everything yourself # hash[D::Ruby::NoMethod] = :information # end end # target :test do # signature "sig", "sig-private" # # check "test" # end