Skip to content

Commit 6d79a69

Browse files
committed
Add Steepfile
1 parent b89bcae commit 6d79a69

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

Steepfile

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# frozen_string_literal: true
2+
3+
# D = Steep::Diagnostic
4+
5+
target :lib do
6+
signature "sig"
7+
8+
check "lib" # Directory name
9+
# check "Gemfile" # File name
10+
# check "app/models/**/*.rb" # Glob
11+
# ignore "lib/templates/*.rb"
12+
13+
# library "pathname" # Standard libraries
14+
# library "strong_json" # Gems
15+
16+
collection_config "rbs_collection.yaml"
17+
18+
# configure_code_diagnostics(D::Ruby.default) # `default` diagnostics setting (applies by default)
19+
# configure_code_diagnostics(D::Ruby.strict) # `strict` diagnostics setting
20+
# configure_code_diagnostics(D::Ruby.lenient) # `lenient` diagnostics setting
21+
# configure_code_diagnostics(D::Ruby.silent) # `silent` diagnostics setting
22+
# configure_code_diagnostics do |hash| # You can setup everything yourself
23+
# hash[D::Ruby::NoMethod] = :information
24+
# end
25+
end
26+
27+
# target :test do
28+
# signature "sig", "sig-private"
29+
#
30+
# check "test"
31+
#
32+
# # library "pathname" # Standard libraries
33+
# end

0 commit comments

Comments
 (0)