nsxivcbec699
add an editorconfig file, closes #25
+28 −0
1 file changed
- A .editorconfig +28 −0
| @@ -0,0 +1,28 @@ | |||
| 1 | + | # EditorConfig | |
| 2 | + | ||
| 3 | + | # apply to all files | |
| 4 | + | [*] | |
| 5 | + | ||
| 6 | + | # top-most EditorConfig file | |
| 7 | + | root = true | |
| 8 | + | ||
| 9 | + | # Set default charset | |
| 10 | + | charset = utf-8 | |
| 11 | + | ||
| 12 | + | # Indentation | |
| 13 | + | # indent with tabs | |
| 14 | + | indent_style = tab | |
| 15 | + | # same tab size as kernel style | |
| 16 | + | indent_size = 8 | |
| 17 | + | ||
| 18 | + | # no trailing spaces | |
| 19 | + | trim_trailing_whitespace = true | |
| 20 | + | ||
| 21 | + | # line lenght, same as kernel stipulated | |
| 22 | + | max_line_length = 100 | |
| 23 | + | ||
| 24 | + | # all files have a final line | |
| 25 | + | insert_final_newline = true | |
| 26 | + | ||
| 27 | + | # end of line | |
| 28 | + | end_of_line = lf | |