Remove consistent JSX tag closing check

StandardJS is getting this rule in standard v14.
This commit is contained in:
Feross Aboukhadijeh
2019-08-09 14:51:46 -07:00
parent 0359451498
commit 809beb4f81

View File

@@ -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'