-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathshuck.toml
More file actions
17 lines (16 loc) · 812 Bytes
/
Copy pathshuck.toml
File metadata and controls
17 lines (16 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[lint]
# C002: sourced file path is built at runtime (non-literal)
# C003: "sourced file is not available to this analysis"
# Our shell files source each other via runtime vars (${DOTFILES}, ${ZDOTDIR},
# etc.) that shuck can't resolve statically, so these fire everywhere.
ignore = ["C002", "C003"]
[format]
# keep in sync with .editorconfig shfmt
indent-style = "space" # tab | space
indent-width = 2 # used when indent-style = "space"
binary-next-line = true # put binary operators on continuation lines
switch-case-indent = true # indent case branch bodies
space-redirects = false # add spaces around redirection operators
keep-padding = false # preserve safe horizontal padding
function-next-line = false # put function opening braces on their own line
never-split = false # prefer compact layouts