Skip to content

Commit e5b705b

Browse files
committed
docs: switch to two spaces of indentation
Based on forming consensus in #3
1 parent 27bc1d7 commit e5b705b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ root = true
1010

1111
[*.{f90,F90}]
1212
indent_style = space
13-
indent_size = 4
13+
indent_size = 2
1414
trim_trailing_whitespace = true
1515
max_line_length = 132
1616
insert_final_newline = true
1717

1818
[{CMakeLists.txt, *.cmake}]
1919
indent_style = space
20-
indent_size = 4
20+
indent_size = 2
2121
trim_trailing_whitespace = true
2222
max_line_length = 132
2323
insert_final_newline = true
@@ -38,7 +38,7 @@ insert_final_newline = true
3838

3939
[*.sh]
4040
indent_style = space
41-
indent_size = 4
41+
indent_size = 2
4242
trim_trailing_whitespace = true
4343
max_line_length = 132
4444
insert_final_newline = true

STYLE_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This style guide is a living document and proposed changes may be adopted after
3030
By setting and following a convention for indentation and whitespace, code reviews and git-diffs can
3131
focus on the semantics of the proposed changes rather than style and formatting.
3232

33-
* The body of every Fortran construct should be indented by __4 spaces__
33+
* The body of every Fortran construct should be indented by __two (2) spaces__
3434
* Line length *should be limited to 80 characters* and __must not exceed 132__
3535
* Please do not use <kbd>Tab</kbd> characters for indentation
3636
* Please remove trailing white space before committing code

0 commit comments

Comments
 (0)