Skip to content

Commit

Permalink
refactor: some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
araujogui committed Feb 20, 2025
1 parent b443a7a commit 5248f11
Show file tree
Hide file tree
Showing 5 changed files with 2,698 additions and 13 deletions.
6 changes: 4 additions & 2 deletions bin/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ program
* @property {Target[]} target Specifies the generator target mode.
* @property {string} version Specifies the target Node.js version.
* @property {string} changelog Specifies the path to the Node.js CHANGELOG.md file
* @property {boolean} skipLinting Specifies whether to skip linting
* @property {keyof reporters} reporter Specifies the linter reporter
*
* @name ProgramOptions
* @type {Options}
Expand All @@ -80,11 +82,11 @@ const {
target = [],
version,
changelog,
skipValidation,
skipLinting,
reporter,
} = program.opts();

const linter = skipValidation ? undefined : new Linter();
const linter = skipLinting ? undefined : new Linter();

const { loadFiles } = createMarkdownLoader();
const { parseApiDocs } = createMarkdownParser();
Expand Down
Loading

0 comments on commit 5248f11

Please sign in to comment.