Skip to content

Commit 976c421

Browse files
MarioLiebischeXpl0it3r
authored andcommitted
Added an .editorconfig file
This allows most IDEs and editors (with the proper plugin) to automatically use the correct identation and line endings. In short, you'll never ever have to worry about tabs or line breaks in your code again. In additon, this won't have any effect on your other files or projects, who'll continue to use your own global or custom settings. There are plugins available for Microsoft Visual Studio, Notepad++, gedit, vim, and many other popular editors and IDEs. More information can be found on http://www.editorconfig.org/.
1 parent c303d1f commit 976c421

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.editorconfig

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Configuration file for EditorConfig
2+
# More information is available under http://EditorConfig.org
3+
4+
# Ignore any other files further up in the file system
5+
root = true
6+
7+
# Configuration for all files
8+
[*]
9+
# Enforce Unix style line endings (\n only)
10+
end_of_line = lf
11+
# Always end files with a blank line
12+
insert_final_newline = true
13+
# Force space characters for indentation
14+
indent_style = space
15+
# Always indent by 4 characters
16+
indent_size = 4
17+
# Remove whitespace characters at the end of line
18+
trim_trailing_whitespace = true

0 commit comments

Comments
 (0)