com doc/ru: Упрощени е editorconfig: .editorconfig

[email protected] (Alexey Pyltsyn) Mon, 04 Jan 2021 21:46:13 +0000
Newsgroups php.doc.ru
Message-ID <[email protected]>
Commit:    412e18d24831af3d7fe8de81762c8634ee0291ae
Author:    Alexey Pyltsyn <[email protected]>         Tue, 5 Jan 2021 00:40:16 +0300
Parents:   4be155fb279627c76759e9f39b2fb57880df3844
Branches:  master

Link:       http://git.php.net/?p=doc/ru.git;a=commitdiff;h=412e18d24831af3d7fe8de81762c8634ee0291ae

Log:
Упрощение editorconfig

Changed paths:
  M  .editorconfig


Diff:
diff --git a/.editorconfig b/.editorconfig
index 9cc351086..367369bec 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -3,17 +3,14 @@
 
 root = true
 
-[*.xml]
+[*]
 charset = utf-8
-indent_size = 1
-indent_style = space
 end_of_line = lf
+indent_style = space
+indent_size = 2
 insert_final_newline = true
+trim_trailing_whitespace = true
 
-
-[*.js]
-charset = utf-8
-indent_size = 2
-indent_style = space
-end_of_line = lf
-insert_final_newline = true
\ No newline at end of file
+[*.xml]
+indent_size = 1
+trim_trailing_whitespace = false