-
Notifications
You must be signed in to change notification settings - Fork 1
/
Steepfile
44 lines (39 loc) · 1.14 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
D = Steep::Diagnostic
target :lib do
signature "sig"
check "lib"
ignore(
"lib/rbs/test",
# "lib/rbs/test.rb"
)
library "pathname", "json", "logger", "monitor", "tsort", "uri", 'dbm', 'pstore', 'singleton', 'shellwords', 'fileutils', 'find', 'digest', 'prettyprint', 'yaml', "psych", "securerandom"
signature "stdlib/strscan/0/"
signature "stdlib/optparse/0/"
signature "stdlib/rdoc/0/"
signature "stdlib/ripper/0"
signature "stdlib/pp/0"
# 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", "uri" # Standard libraries
# # library "strong_json" # Gems
# end
# target :spec do
# signature "sig", "sig-private"
#
# check "spec"
#
# # library "pathname", "uri" # Standard libraries
# # library "rspec"
# end