Skip to content

Commit

Permalink
chore: Add EditorConfig for whitespace (#2700)
Browse files Browse the repository at this point in the history
Copied from original version in mdn/content and added Python config
  • Loading branch information
nschonni authored Jan 29, 2021
1 parent d3d6d29 commit ad93760
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.py]
indent_size = 4

0 comments on commit ad93760

Please sign in to comment.