@@ -4,6 +4,7 @@ table of contents](TOC.md)
4
4
# Miscellaneous
5
5
6
6
* [ .gitignore] ( #gitignore )
7
+ * [ .editorconfig] ( #editorconfig )
7
8
* [ .htaccess] ( #htaccess )
8
9
* [ crossdomain.xml] ( #crossdomainxml )
9
10
@@ -32,6 +33,32 @@ globally ignore:
32
33
* Comprehensive set of ignores on GitHub: https://github.com/github/gitignore
33
34
34
35
36
+ ## .editorconfig
37
+
38
+ HTML5 Boilerplate includes an ` .editorconfig ` file that helps you and your team
39
+ define and maintain consistent coding styles between different editors and IDEs.
40
+ EditorConfig files are easily readable and they work nicely with version control
41
+ systems.
42
+
43
+ When opening any file, your IDE’s EditorConfig plugin will look for a file named
44
+ ` .editorconfig ` in the directory of the opened file and in every parent
45
+ directory until the root filepath is reached or an EditorConfig file with
46
+ ` root = true ` is found.
47
+
48
+ The EditorConfig file provided by this project will inform your IDE to follow
49
+ our current practices, which include UTF-8 charset encoding, use of the line
50
+ feed character for line breaks, use of four space characters for indentations,
51
+ the removal of any whitespace characters preceding newline characters, and the
52
+ presence of a final line break character at the end of files.
53
+
54
+ If you will not be using a server configuration file provided by this project,
55
+ remember to block access to ` .editorconfig ` files, as they may disclose
56
+ sensitive information.
57
+
58
+ * [ EditorConfig homepage] ( http://editorconfig.org/ )
59
+ * [ Download IDE Plugin] ( http://editorconfig.org/#download )
60
+
61
+
35
62
### ` .htaccess `
36
63
37
64
A ` .htaccess ` (hypertext access) file is a Apache HTTP server configuration
0 commit comments