EditorConfig IDE Coding style - Tuong-Nguyen/JavaScript-Structure GitHub Wiki

EditorConfig helps us to configure coding style which is applied automatically by the IDEs (plugin is required for the IDE).

EditorConfig plugin for IDE

Javascript editor config used in this project (.editorconfig file):

# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false