Skip to content

Commit

Permalink
fix: carriage returns and fixers
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jul 25, 2021
1 parent a469b83 commit f9a27e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/generateRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export default iterateJsdoc(({
path: './src/index.js',
});

// eslint-disable-next-line import/extensions
await import('./generateReadme.js');

/*
Expand Down
3 changes: 3 additions & 0 deletions src/iterateJsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ const getUtils = (
source: '',
tokens: seedTokens({
delimiter: '*',
lineEnd: '',
postDelimiter: ' ',
start: indent + ' ',
tag: `@${targetTagName}`,
Expand Down Expand Up @@ -287,6 +288,7 @@ const getUtils = (
source: '',
tokens: seedTokens({
delimiter: '*',
lineEnd: '',
start: indent + ' ',
}),
};
Expand Down Expand Up @@ -358,6 +360,7 @@ const getUtils = (
});
utils.addLine(2, {
end: '*/',
lineEnd,
start: indent + ' ',
});
};
Expand Down

0 comments on commit f9a27e3

Please sign in to comment.