-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shfmt.toml
More file actions
31 lines (22 loc) · 830 Bytes
/
.shfmt.toml
File metadata and controls
31 lines (22 loc) · 830 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
# shfmt configuration for OSM-Notes-profile
# Author: Andres Gomez (AngocA)
# Version: 2025-01-27
# Based on OSM-Notes-Ingestion standard configuration
# Use 1 space indentation (project standard)
indent = 1
# Use spaces instead of tabs
use_tabs = false
# Binary operators like | and |& should be followed by a newline
binary_next_line = true
# Switch case statements should be indented
switch_case_indent = true
# Redirect operators should be followed by a newline
redirect_next_line = true
# Keep blank lines
keep_padding = true
# Function opening braces should be on the same line
func_call_chain = true
# Use spaces around redirect operators (aligned with -sr flag and .editorconfig)
space_redirects = true
# Remove trailing spaces (aligned with trim_trailing_whitespace in .editorconfig)
keep_trailing_space = false