Configuring project code style for JetBrains and other IDEs.

Adding EditorConfig support.

Updating .gitignore
This commit is contained in:
richseviora
2016-09-05 13:07:00 -07:00
parent 7dc38a89e7
commit e066a562c5
8 changed files with 115 additions and 0 deletions

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
# Specification available at: http://editorconfig.org
# Root config file for IITC.
root = true
[*.{js,py}]
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Following JS code style rules do not have EditorConfig support yet:
# - Use identity operators (===) over equality operators (==).
# - Opening brace at end of line. e.g. "if(a) {", "} else {", "} else if (b) }"
# - No space between keyword and parentheses. "if(a)" not "if (a)"
# - Use single-quotes for strings, and double-quotes within strings for HTML attribute values. $('<div id="#me">').