Skip to content

Commit

Permalink
style: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kazushisan committed Sep 11, 2024
1 parent f6ee14a commit 6ccc607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ cli
skipArg && Array.isArray(skipArg)
? skipArg.map((s) => new RegExp(s))
: typeof skipArg === 'string'
? [new RegExp(skipArg)]
: [];
? [new RegExp(skipArg)]
: [];

if (!options['includeD-ts']) {
skip.push(new RegExp('\\.d\\.ts'));
Expand Down
1 change: 0 additions & 1 deletion lib/util/removeUnusedExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ export const removeUnusedExport = ({
editTracker.end(file);

if (enableCodeFix) {
// eslint-disable-next-line no-constant-condition
while (true) {
fileService.set(file, content);

Expand Down

0 comments on commit 6ccc607

Please sign in to comment.