Skip to content

Commit 3c660d1

Browse files
committed
minor #4044 Added editorconfig (WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- Added editorconfig | Q | A | --- | --- | Doc fix? | no | New docs? | no | Applies to | all | Fixed tickets | - [EditorConfig](http://editorconfig.org/) is a very great project to maintain a coding styles. It uses editor plugins for a dozen editors. This way, a file is automatically fixed when the file is opened/written. I think it'll be pretty usefull to use in the docs. (fyi, symfony code has this for a long time already) Commits ------- af8a4ce Also apply it for .rst.inc files 7b78dc4 Added editorconfig
2 parents ae3ec04 + af8a4ce commit 3c660d1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*.{rst,rst.inc}]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true

0 commit comments

Comments
 (0)