Skip to content

Commit 62af7ef

Browse files
committed
NO-ISSUE Steepfile
1 parent 8a41cd2 commit 62af7ef

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Steepfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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

0 commit comments

Comments
 (0)