Skip to content

Commit

Permalink
Added scripts config option + cleaned up code
Browse files Browse the repository at this point in the history
Cleaned up role, mailer + room.js. Also added .editorconfig and updated the eslintrc file.

Signed-off-by: Henry Gressmann <mail@explodingcamera.com>
  • Loading branch information
explodingcamera committed Jul 18, 2016
1 parent 1fd13fb commit 77f8a08
Show file tree
Hide file tree
Showing 12 changed files with 1,246 additions and 1,223 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*.js]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*]
insert_final_newline = true

[{package.json,*.yml}]
indent_style = space
indent_size = 2
35 changes: 19 additions & 16 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"extends": "airbnb",
"rules": {
"comma-dangle": 0,
"max-len": 0,
"no-console": 0,
"no-param-reassign": 0,
"no-shadow": 0,
"consistent-return": 0,
"func-names": 0,
"indent": ["error", 4]
},
"env": {
"browser": true,
"node": true,
"jquery": true
}
"extends": "airbnb",
"rules": {
"comma-dangle": 0,
"max-len": 0,
"no-console": 0,
"no-param-reassign": 0,
"no-shadow": 0,
"consistent-return": 0,
"func-names": 0,
"indent": ["error", "tab", { "SwitchCase": 1 }],
"strict": 0,
"guard-for-in": "warn",
"no-restricted-syntax": ["warn", "ForInStatement"]
},
"env": {
"browser": true,
"node": true,
"jquery": true
}
}
Loading

0 comments on commit 77f8a08

Please sign in to comment.