aboutsummaryrefslogtreecommitdiffhomepage
path: root/.editorconfig
diff options
context:
space:
mode:
authorRigel Kent <par@rigelk.eu>2018-03-29 11:07:51 +0200
committerChocobozzz <me@florianbigard.com>2018-03-29 11:07:51 +0200
commit09e10ac0c99c66049a9ba07da59067baadf5112e (patch)
treeb59a94e4340442193c9c1faee2f635c51c8c9f8f /.editorconfig
parent490b595a01c5824ff63ffb87f0efdfca95f4bf3b (diff)
downloadPeerTube-09e10ac0c99c66049a9ba07da59067baadf5112e.tar.gz
PeerTube-09e10ac0c99c66049a9ba07da59067baadf5112e.tar.zst
PeerTube-09e10ac0c99c66049a9ba07da59067baadf5112e.zip
add .editorconfig to maintain consistent coding styles (#429)
Signed-off-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..b7d3033f3
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
1; This file is for unifying the coding style for different editors and IDEs.
2; More information at http://editorconfig.org to setup your IDE if need be.
3
4root = true
5
6[*]
7end_of_line = lf
8charset = utf-8
9
10[*.yml]
11indent_style = space
12indent_size = 2
13
14[{client,server,shared}/**.{ts,json,js}]
15trim_trailing_whitespace = true
16insert_final_newline = true
17indent_style = space
18indent_size = 2
19
20[*.md]
21trim_trailing_whitespace = false