diff --git a/.editorconfig b/.editorconfig index a7b9909..c128223 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,14 +4,13 @@ root = true - [*] end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -indent_style = tab -indent_size = 4 +indent_style = space +indent_size = 2 [*.txt] indent_style = tab diff --git a/stylua.toml b/stylua.toml index d0ebf61..fb3dcf8 100644 --- a/stylua.toml +++ b/stylua.toml @@ -1,5 +1,10 @@ +column_width = 120 line_endings = "Unix" -indent_type = "Tabs" -indent_width = 4 +indent_type = "Spaces" +indent_width = 2 quote_style = "AutoPreferDouble" call_parentheses = "Always" +collapse_simple_statement = "Never" + +[sort_requires] +enabled = false