diff --git a/js/red-javascript-style-guide/index.js b/js/red-javascript-style-guide/index.js index 61dbb96..fbfa8de 100644 --- a/js/red-javascript-style-guide/index.js +++ b/js/red-javascript-style-guide/index.js @@ -6,7 +6,9 @@ module.exports = { "rules": { // overwrite "no-unused-vars": warning, - + + "no-promise-executor-return": error, + "no-unreachable-loop": error, "prefer-object-has-own": error, "curly": error, "eqeqeq": error,