mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
Merge pull request #2105 from nschonni/add-editorconfig
Add EditorConfig to enforce spacing
This commit is contained in:
commit
7e9cf618f5
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
||||
# This file is for unifying the coding style for different editors and IDEs
|
||||
# editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = spaces
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = true
|
Loading…
Reference in New Issue
Block a user