-
Notifications
You must be signed in to change notification settings - Fork 0
/
Steepfile
46 lines (40 loc) · 1.17 KB
/
Steepfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
D = Steep::Diagnostic
target :lib do
signature "sig"
check "lib"
ignore(
"lib/rbs/prototype/runtime.rb",
"lib/rbs/test",
"lib/rbs/test.rb"
)
library "set", "pathname", "json", "logger", "monitor", "tsort", "uri", 'yaml', 'dbm', 'pstore', 'singleton', 'shellwords', 'fileutils', 'find', 'digest'
signature "stdlib/strscan/0/"
signature "stdlib/optparse/0/"
signature "stdlib/rdoc/0/"
# Please remove the following line after releasing #1107
signature "core/rubygems/"
configure_code_diagnostics do |config|
config[D::Ruby::MethodDefinitionMissing] = :hint
config[D::Ruby::ElseOnExhaustiveCase] = :hint
config[D::Ruby::FallbackAny] = :hint
end
end
# target :lib do
# signature "sig"
#
# check "lib" # Directory name
# check "Gemfile" # File name
# check "app/models/**/*.rb" # Glob
# # ignore "lib/templates/*.rb"
#
# # library "pathname", "set" # Standard libraries
# # library "strong_json" # Gems
# end
# target :spec do
# signature "sig", "sig-private"
#
# check "spec"
#
# # library "pathname", "set" # Standard libraries
# # library "rspec"
# end