Remove consistent JSX tag closing check
StandardJS is getting this rule in standard v14.
This commit is contained in:
@@ -18,13 +18,6 @@ files.forEach(function (file) {
|
|||||||
lines.forEach(function (line, i) {
|
lines.forEach(function (line, i) {
|
||||||
let error
|
let error
|
||||||
|
|
||||||
// Consistent JSX tag closing
|
|
||||||
if (line.match(/' {2}\/> *$/) ||
|
|
||||||
line.match('[^ ]/> *$') ||
|
|
||||||
line.match(' > *$')) {
|
|
||||||
error = 'JSX tag spacing'
|
|
||||||
}
|
|
||||||
|
|
||||||
// No lines over 100 characters
|
// No lines over 100 characters
|
||||||
if (line.length > 100) {
|
if (line.length > 100) {
|
||||||
error = 'Line >100 chars'
|
error = 'Line >100 chars'
|
||||||
|
|||||||
Reference in New Issue
Block a user