summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 6d608f356b..8acba223d9 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -282,6 +282,10 @@ module.exports = {
'one-var': ['error', { initialized: 'never' }],
'one-var-declaration-per-line': 'error',
'operator-linebreak': ['error', 'after'],
+ 'padding-line-between-statements': [
+ 'error',
+ { blankLine: 'always', prev: 'function', next: 'function' },
+ ],
'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
'quotes': ['error', 'single', { avoidEscape: true }],
'quote-props': ['error', 'consistent'],