From 2a61a0c0264c347ebd94c980a09180fd423b7506 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 29 Oct 2023 13:07:49 +0900 Subject: [PATCH] Update .eslintrc.js --- packages/shared/.eslintrc.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/shared/.eslintrc.js b/packages/shared/.eslintrc.js index c578894f60..3f19aad685 100644 --- a/packages/shared/.eslintrc.js +++ b/packages/shared/.eslintrc.js @@ -67,6 +67,11 @@ module.exports = { 'object-curly-spacing': ['error', 'always'], 'space-infix-ops': ['error'], 'space-before-blocks': ['error', 'always'], + 'padding-line-between-statements': [ + 'error', + { 'blankLine': 'always', 'prev': 'function', 'next': '*' }, + { 'blankLine': 'always', 'prev': '*', 'next': 'function' }, + ], '@typescript-eslint/func-call-spacing': ['error', 'never'], '@typescript-eslint/no-explicit-any': ['warn'], '@typescript-eslint/no-unused-vars': ['warn'],