Skip to content

Commit f4471c2

Browse files
committed
feature/prefer-collections-with-pagination
- Add no-unpublished-require on "require("@typescript-eslint/parser")"" because the parser is not needed
1 parent bfaee05 commit f4471c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

eslint-plugin/lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const resolveRule = (rulePath) => {
3434

3535
const hasTypescriptParser = () => {
3636
try {
37+
// eslint-disable-next-line node/no-unpublished-require
3738
require("@typescript-eslint/parser");
3839
return true;
3940
} catch (e) {

eslint-plugin/lib/rules/prefer-collections-with-pagination.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const rule = createRule({
6363
name: "prefer-collections-with-pagination",
6464
meta: {
6565
docs: {
66-
description: "Prefer API collections with pagination",
66+
description: "Prefer API collections with pagination.",
6767
category: "eco-design",
6868
recommended: "warn",
6969
},

0 commit comments

Comments
 (0)