Skip to content

Commit

Permalink
Fix typo in main.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev committed Jul 27, 2023
1 parent f39a379 commit 8684dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-base/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const restrictedParentImportPaths = Array.from({ length: 10 }).map(
(value, depth) => ({
name: "../".repeat(depth + 1).slice(0, -1) || ".",
message:
"Please don not import from parent index files as this may cause crashes due to cyclic dependencies. Use something like ../../path/to/stuff instead.",
"Please do not import from parent index files as this may cause crashes due to cyclic dependencies. Use something like ../../path/to/stuff instead.",
}),
);

Expand Down Expand Up @@ -174,7 +174,7 @@ module.exports = {
{
name: ".",
message:
"Please don not import parent index files as this may cause crashes due to cyclic dependencies. Use something like ./sibling instead.",
"Please do not import parent index files as this may cause crashes due to cyclic dependencies. Use something like ./sibling instead.",
},
],
},
Expand Down

0 comments on commit 8684dd4

Please sign in to comment.