diff --git a/.eslintignore b/.eslintignore index bb09599..18c9e36 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ /.git node_modules +/*.md diff --git a/src/InfiniteScroll.ts b/src/InfiniteScroll.ts index 2fc6101..02ad88b 100644 --- a/src/InfiniteScroll.ts +++ b/src/InfiniteScroll.ts @@ -253,12 +253,12 @@ class InfiniteScroll { if (rowCount === undefined && (hasMore.down || hasMore.up)) console.warn( - `You provided props with "hasMore: { up: ${!!hasMore.up}, down: ${!!hasMore.down} } but "rowCount" is "undefined"` + `You provided props with "hasMore: { up: ${!!hasMore.up}, down: ${!!hasMore.down} }" but "rowCount" is "undefined"` ); if (columnCount === undefined && (hasMore.left || hasMore.right)) console.warn( - `You provided props with "hasMore: { left: ${!!hasMore.left}, right: ${!!hasMore.right} } but "columnCount" is "undefined"` + `You provided props with "hasMore: { left: ${!!hasMore.left}, right: ${!!hasMore.right} }" but "columnCount" is "undefined"` ); const { scrollTop, scrollLeft, scrollHeight, scrollWidth, clientHeight, clientWidth } = _scrollingContainerRef;