From 77565712e08210d5dd0f1c9fc0bb1d8e55d4ca7d Mon Sep 17 00:00:00 2001 From: qianxi0410 <894871277@qq.com> Date: Sat, 6 Aug 2022 23:38:03 +0800 Subject: [PATCH] feat: no-multi-empty-lines --- web/.eslintrc | 1 + web/src/LdapSyncPage.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/web/.eslintrc b/web/.eslintrc index 4858dcf5..e1c7ceaa 100644 --- a/web/.eslintrc +++ b/web/.eslintrc @@ -48,6 +48,7 @@ "sort-imports": ["error", { "ignoreDeclarationSort": true }], + "no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }], "react/prop-types": "off", diff --git a/web/src/LdapSyncPage.js b/web/src/LdapSyncPage.js index abf207d5..2a5341e1 100644 --- a/web/src/LdapSyncPage.js +++ b/web/src/LdapSyncPage.js @@ -87,7 +87,6 @@ class LdapSyncPage extends React.Component { }); } - getLdapUser(ldap) { LdapBackend.getLdapUser(ldap) .then((res) => {