From 809beb4f81ef9ad284e40dd45961c37762fa4ed1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 9 Aug 2019 14:51:46 -0700 Subject: [PATCH] Remove consistent JSX tag closing check StandardJS is getting this rule in standard v14. --- bin/extra-lint.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bin/extra-lint.js b/bin/extra-lint.js index 18a2915a..3c811c90 100755 --- a/bin/extra-lint.js +++ b/bin/extra-lint.js @@ -18,13 +18,6 @@ files.forEach(function (file) { lines.forEach(function (line, i) { let error - // Consistent JSX tag closing - if (line.match(/' {2}\/> *$/) || - line.match('[^ ]/> *$') || - line.match(' > *$')) { - error = 'JSX tag spacing' - } - // No lines over 100 characters if (line.length > 100) { error = 'Line >100 chars'