Skip to content

Commit

Permalink
Chore: fix small typo (#14951)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Aug 20, 2021
1 parent 26b0cd9 commit 8344675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rules/no-restricted-imports.js
Expand Up @@ -147,7 +147,7 @@ module.exports = {
? [{ matcher: ignore().add(restrictedPatterns) }]
: restrictedPatterns.map(({ group, message }) => ({ matcher: ignore().add(group), customMessage: message }));

// if no imports are restricted we don"t need to check
// if no imports are restricted we don't need to check
if (Object.keys(restrictedPaths).length === 0 && restrictedPatternGroups.length === 0) {
return {};
}
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-restricted-modules.js
Expand Up @@ -97,7 +97,7 @@ module.exports = {
return memo;
}, {});

// if no imports are restricted we don"t need to check
// if no imports are restricted we don't need to check
if (Object.keys(restrictedPaths).length === 0 && restrictedPatterns.length === 0) {
return {};
}
Expand Down

0 comments on commit 8344675

Please sign in to comment.