From 2d1179e52fa1dbcbc6eb676aad4db951381c512f Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 31 Jul 2019 09:56:07 -0700 Subject: [PATCH] Add spaced-comment as warning --- .eslintrc.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 34abcc2c9..14a30722e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -68,7 +68,12 @@ "valid-jsdoc": ["error", {"requireReturn": false}], "no-console": ["off"], "no-multi-spaces": ["error", { "ignoreEOLComments": true }], - "operator-linebreak": ["error", "after"] + "operator-linebreak": ["error", "after"], + "spaced-comment": ["warn", "always", { + "block": { + "balanced": true + } + }] }, "env": { "browser": true