diff --git a/.eslintrc.js b/.eslintrc.js index e22f8d9b50..ccd1964398 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -330,6 +330,11 @@ module.exports = { */ 'object-shorthand': 'error', + /** + * https://eslint.org/docs/rules/one-var + */ + 'one-var': [ 'error', 'consecutive' ], + /** * https://eslint.org/docs/rules/prefer-const */