From aef26c6558100efb068ad3ccceeff2ecd079a33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leslie=20Leigh=20=28=E6=9D=8E=E7=9A=84=E5=BA=8F=29?= Date: Mon, 5 Dec 2022 16:07:55 +0800 Subject: [PATCH] Add lint about type annotation space (#13622) --- .eslintrc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 9eb97b5cfc..52f4e510f4 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -124,3 +124,5 @@ rules: allowNumber: true, allowBoolean: true }] + + '@typescript-eslint/type-annotation-spacing': warn