From f50d4912ecfff9ab4e724c91718ee521f93045d3 Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Thu, 28 Mar 2019 12:08:03 -0400 Subject: [PATCH] Updated eslint --- .eslintrc.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 4982868e30f..7cc0e1a5a16 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -40,6 +40,23 @@ module.exports = { "no-var": "error", "spaced-comment": "warn", "no-undef": "off", - "no-unused-vars": "error" + "no-unused-vars": "error", + "block-scoped-var": "warn", + "dot-notation": "off", + "linebreak-style": ["error", "unix"], + "no-else-return": "warn", + "eol-last": "warn", + "unicode-bom": [ + "error", + "never" + ], + "valid-jsdoc": [ + "warn", + { + "requireParamDescription": false, + "requireReturnDescription": false, + "requireReturn": false + } + ] } }; \ No newline at end of file -- GitLab