-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathSteepfile
More file actions
32 lines (25 loc) · 835 Bytes
/
Steepfile
File metadata and controls
32 lines (25 loc) · 835 Bytes
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
# frozen_string_literal: true
D = Steep::Diagnostic
target :lib do
signature 'sig'
check 'lib' # Directory name
# ignore "lib/templates/*.rb"
library 'json' # For JSON serialization
library 'logger' # For logging support
library 'pathname' # For file paths
# Optional libraries that Alba supports
# library "active_support" # For Rails integration
# library "oj" # For Oj backend
configure_code_diagnostics(D::Ruby.lenient) # Start with lenient settings
# configure_code_diagnostics do |hash|
# hash[D::Ruby::NoMethod] = :information
# hash[D::Ruby::UnknownConstant] = :hint
# end
end
# target :test do
# signature "sig", "sig-private"
#
# check "test"
#
# # library "pathname" # Standard libraries
# end