29 lines
931 B
Ruby
29 lines
931 B
Ruby
D = Steep::Diagnostic
|
|
|
|
target :lib do
|
|
signature "sig"
|
|
|
|
check "lib" # Directory name
|
|
# ignore "lib/templates/*.rb"
|
|
|
|
library "fileutils"
|
|
# library "pathname" # Standard libraries
|
|
# library "strong_json" # Gems
|
|
# library "phlex"
|
|
|
|
# configure_code_diagnostics(D::Ruby.default) # `default` diagnostics setting (applies by default)
|
|
# configure_code_diagnostics(D::Ruby.strict) # `strict` diagnostics setting
|
|
# configure_code_diagnostics(D::Ruby.lenient) # `lenient` diagnostics setting
|
|
# configure_code_diagnostics(D::Ruby.silent) # `silent` 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"
|
|
#
|
|
# # library "pathname" # Standard libraries
|
|
# end
|