Permalink
Browse files

Code refactored.

  • Loading branch information...
roncli committed Jan 10, 2018
1 parent a0f5e61 commit 815cbef77ba1173aaf327e176911c50091756ea8
Showing with 3,243 additions and 1,847 deletions.
  1. +97 −0 .eslintrc.json
  2. +1,401 −0 commands.js
  3. +69 −46 database.js
  4. +560 −0 discord.js
  5. +774 −0 event.js
  6. +32 −0 exception.js
  7. +0 −1,788 fusion.js
  8. +22 −7 index.js
  9. +170 −0 log.js
  10. +6 −6 package.json
  11. +112 −0 tmi.js
@@ -0,0 +1,97 @@
{
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true
},
"sourceType": "module",
"ecmaVersion": 6
},
"extends": "eslint:all",
"rules": {
"array-element-newline": "off",
"capitalized-comments": "off",
"class-methods-use-this": "off",
"complexity": "off",
"consistent-this": "off",
"default-case": "off",
"dot-location": "off",
"func-names": "off",
"global-require": "off",
"id-length": "off",
"indent": [
"error", 4, {
"SwitchCase": 1
}
],
"init-declarations": "off",
"line-comment-position": "off",
"linebreak-style": "off",
"max-depth": "off",
"max-len": "off",
"max-lines": "off",
"max-params": "off",
"max-statements": "off",
"multiline-comment-style": "off",
"multiline-ternary": "off",
"new-cap": [
"error",
{"properties": false}
],
"newline-per-chained-call": "off",
"no-confusing-arrow": "off",
"no-console": "off",
"no-continue": "off",
"no-empty-function": "off",
"no-implicit-coercion": "off",
"no-inline-comments": "off",
"no-invalid-this": "off",
"no-magic-numbers": "off",
"no-mixed-operators": "off",
"no-mixed-requires": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-return-assign": "off",
"no-ternary": "off",
"no-trailing-spaces": [
"error",
{"ignoreComments": false}
],
"no-underscore-dangle": "off",
"no-useless-constructor": "off",
"no-void": "off",
"object-property-newline": "off",
"one-var": [
"off", {
"const": "always"
}
],
"padded-blocks": "off",
"prefer-destructuring": [
"error", {
"array": false
}, {
"enforceForRenamedProperties": true
}
],
"prefer-promise-reject-errors": [
"error", {"allowEmptyReject": true}
],
"sort-keys": "off",
"sort-vars": "off",
"space-before-function-paren": "off",
"quote-props": "off",
"valid-jsdoc": [
"error", {
"prefer": {
"return": "return"
}
}
]
}
}
Oops, something went wrong.

0 comments on commit 815cbef

Please sign in to comment.