Skip to content

Commit

Permalink
refactor: avoid redundant arguments for seedToken
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jul 25, 2021
1 parent f9a27e3 commit 2d7938f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/iterateJsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ const getUtils = (
source: '',
tokens: seedTokens({
delimiter: '*',
lineEnd: '',
postDelimiter: ' ',
start: indent + ' ',
tag: `@${targetTagName}`,
Expand Down Expand Up @@ -288,7 +287,6 @@ const getUtils = (
source: '',
tokens: seedTokens({
delimiter: '*',
lineEnd: '',
start: indent + ' ',
}),
};
Expand Down Expand Up @@ -348,7 +346,6 @@ const getUtils = (
// If a description were present, it may have whitespace attached
// due to being at the end of the single line
description: description.trimEnd(),
lineEnd,
name,
postDelimiter,
postName,
Expand Down
2 changes: 0 additions & 2 deletions src/rules/multilineBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,8 @@ export default iterateJsdoc(({
return obj;
}, utils.seedTokens({
delimiter: '/**',
description: '',
end: '*/',
postDelimiter: ' ',
tag: '',
})),
}];
};
Expand Down

0 comments on commit 2d7938f

Please sign in to comment.