-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef6ae12
commit e57f49f
Showing
18 changed files
with
75 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,11 @@ | ||
# General | ||
hard_tabs = false | ||
tab_spaces = 4 | ||
newline_style = "Unix" | ||
width = 80 | ||
# Sets the maximum line length. Code will be wrapped beyond this length. | ||
max_width = 100 | ||
error_on_line_overflow = true | ||
error_on_unformatted = true | ||
|
||
# Comments | ||
wrap_comments = true | ||
format_code_in_doc_comments = true | ||
|
||
# Control Flow | ||
fn_call_width = 60 | ||
brace_style = "SameLineWhere" | ||
control_brace_style = "AlwaysSameLine" | ||
|
||
# Indentation | ||
indent_style = "Block" | ||
match_block_trailing_comma = true | ||
|
||
# Imports | ||
imports_indent = "Block" | ||
imports_layout = "Vertical" | ||
merge_imports = true | ||
|
||
# Ordering | ||
reorder_imports = true | ||
reorder_modules = true | ||
# Use spaces for indentation rather than tabs. | ||
hard_tabs = false | ||
|
||
# Spaces | ||
spaces_around_ranges = true | ||
spaces_within_angle_brackets = true | ||
spaces_within_parens_and_brackets = true | ||
# Configure the visual indentation of arguments and parameters. | ||
fn_params_layout = "Compressed" | ||
|
||
# Misc | ||
use_try_shorthand = true | ||
use_field_init_shorthand = true | ||
normalize_comments = true | ||
normalize_doc_attributes = true | ||
# Controls whether to put `else` on a new line. | ||
newline_style = "Auto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.