diff --git a/lib/index.js b/lib/index.js index ceaf04cf..a062e65e 100755 --- a/lib/index.js +++ b/lib/index.js @@ -139,6 +139,23 @@ exports.parseFromDirectory = contentPath => { ); } + if ( + $td.eq( 1 ).children().length !== 1 || + ! $td.eq( 1 ).children().eq( 0 ).is( 'a' ) + ) { + readmeError( + 'Invalid content in Website column: %s', + $( tr ).html().replace( /\n/g, '' ) + ); + } + + if ( $td.eq( 2 ).children().length > 0 ) { + readmeError( + 'Extra content in Region column: %s', + $( tr ).html().replace( /\n/g, '' ) + ); + } + if ( lastCompanyName && readmeEntry.name.toLowerCase() < lastCompanyName.toLowerCase()