From 4e29de182c8f01a976e3c8c0e4de10125c4decd1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 22 Jul 2016 17:03:16 -0700 Subject: [PATCH] Enforce balanced block comments See https://github.com/feross/standard/issues/572 --- eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslintrc.json b/eslintrc.json index e14a8c31..d14d6307 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -135,7 +135,7 @@ "space-in-parens": [2, "never"], "space-infix-ops": 2, "space-unary-ops": [2, { "words": true, "nonwords": false }], - "spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }], + "spaced-comment": [2, "always", { "line": { "markers": ["*package", "!", ","] }, "block": { "balanced": true, "markers": ["*package", "!", ","], "exceptions": ["*"] } }], "template-curly-spacing": [2, "never"], "unicode-bom": [2, "never"], "use-isnan": 2,