Skip to content

Commit

Permalink
feat(practices): note about keeping indent
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilySeville7cfg authored and EmilySeville7cfg committed May 11, 2023
1 parent 1e8c1d8 commit 062e1d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion book/style_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ Multi-line format is a format for writting all commands in several lines. It inh
and modifies them slightly. When not stated explicitly, rule is inherited without change.

- **Always** put zero trailing spaces after pipe `|` symbol when `\n\t` follows it.
Keep this indentation for all pipeline commands.
- **Always** put no space before and one `\n` after pipe `|` symbol denoting block or closure parameter list end.
- **Always** put one `\n\t` before first record key and `\n` after last record key value.
- **Always** put `\t` before list value or record key.
Keep this indentation for all record keys.

When referring to `\t` it's supposed that it's done relatively to the current indentation level.

Expand Down

0 comments on commit 062e1d0

Please sign in to comment.