From 35676455bc364200b19d78df244aaa714a2006d6 Mon Sep 17 00:00:00 2001 From: q1anx1 <55543743+qianxi0410@users.noreply.github.com> Date: Sun, 4 Sep 2022 19:40:30 +0800 Subject: [PATCH] chore(style): add keyword spacing rule (#1098) --- web/.eslintrc | 1 + web/src/App.js | 4 ++-- web/src/Setting.js | 4 ++-- web/src/auth/SignupPage.js | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/web/.eslintrc b/web/.eslintrc index 9991ff4d..3192a537 100644 --- a/web/.eslintrc +++ b/web/.eslintrc @@ -97,6 +97,7 @@ "react/jsx-key": "error", "no-console": "error", "eqeqeq": "error", + "keyword-spacing": "error", "react/prop-types": "off", "react/display-name": "off", diff --git a/web/src/App.js b/web/src/App.js index f99b0b6e..6d6da88c 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -527,7 +527,7 @@ class App extends Component { } renderRouter() { - return( + return (