File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ D = Steep ::Diagnostic
2+
3+ target :lib do
4+ signature "sig/line/bot/v2"
5+
6+ check "lib/line/bot/v2"
7+ # ignore "lib/templates/*.rb"
8+
9+ # library "pathname" # Standard libraries
10+ # library "strong_json" # Gems
11+ library "net-http"
12+
13+ # configure_code_diagnostics(D::Ruby.default) # `default` diagnostics setting (applies by default)
14+ # configure_code_diagnostics(D::Ruby.strict) # `strict` diagnostics setting
15+ # configure_code_diagnostics(D::Ruby.lenient) # `lenient` diagnostics setting
16+ # configure_code_diagnostics(D::Ruby.silent) # `silent` diagnostics setting
17+ # configure_code_diagnostics do |hash| # You can setup everything yourself
18+ # hash[D::Ruby::NoMethod] = :information
19+ # end
20+ end
21+
22+ target :test do
23+ unreferenced! # Skip type checking the `lib` code when types in `test` target is changed
24+ signature "sig/test" # Put RBS files for tests under `sig/test`
25+ check "test" # Type check Ruby scripts under `test`
26+
27+ configure_code_diagnostics ( D ::Ruby . lenient ) # Weak type checking for test code
28+
29+ # library "pathname" # Standard libraries
30+ end
You can’t perform that action at this time.
0 commit comments