Skip to content

Commit

Permalink
Copy the formatting configs from Oscar.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Apr 5, 2024
1 parent 992ea59 commit bc234f6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
style = "blue"

always_use_return = false
annotate_untyped_fields_with_any = true
import_to_using = false
indent = 2
short_to_long_function_def = false
always_for_in = true
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
#trim_trailing_whitespace = true # as long as we don't enforce this, this option causes more trouble than it helps

[*.jl]
indent_size = 2

[*.yml]
indent_size = 2

0 comments on commit bc234f6

Please sign in to comment.