From ac1133086701f3d08f2d2a243d61b7c57a36dcac Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Thu, 2 May 2019 19:24:49 +0800 Subject: [PATCH] chore: configure eslint --- .eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 7285c249f..11fb9cd75 100644 --- a/.eslintrc +++ b/.eslintrc @@ -44,6 +44,7 @@ "no-constant-condition": "warn", "no-unused-vars": "warn", "no-mixed-spaces-and-tabs": "warn", - "no-unreachable": "warn" + "no-unreachable": "warn", + "curly": ["warn", "all"] } }