-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The addition of the `/.editorconfig` file is made in order to encourage and help developers and their teams define and maintain consistent coding styles between their different editors and IDEs. By default, the `/.editorconfig` file includes some default properties that apply to the coding styles used by HTML5 Boilerplate, but users can easily change them to better suit their needs. Since users need to install a editor/IDE plugin in order for the properties from the `/.editorconfig` to be applied, we were reluctant to add this file in the past (see: #1124). Nowadays however, the EditorConfig project provides plugins for most of the popular editors/IDEs (see: http://editorconfig.org/#download), plus, more and more developers are using it. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ref: http://editorconfig.org/ Close: #1561 #1564
- Loading branch information
1 parent
973b845
commit cbde657
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters