Skip to content

Commit 5248f11

Browse files
committed
refactor: some changes
1 parent b443a7a commit 5248f11

File tree

5 files changed

+2698
-13
lines changed

5 files changed

+2698
-13
lines changed

bin/cli.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ program
6969
* @property {Target[]} target Specifies the generator target mode.
7070
* @property {string} version Specifies the target Node.js version.
7171
* @property {string} changelog Specifies the path to the Node.js CHANGELOG.md file
72+
* @property {boolean} skipLinting Specifies whether to skip linting
73+
* @property {keyof reporters} reporter Specifies the linter reporter
7274
*
7375
* @name ProgramOptions
7476
* @type {Options}
@@ -80,11 +82,11 @@ const {
8082
target = [],
8183
version,
8284
changelog,
83-
skipValidation,
85+
skipLinting,
8486
reporter,
8587
} = program.opts();
8688

87-
const linter = skipValidation ? undefined : new Linter();
89+
const linter = skipLinting ? undefined : new Linter();
8890

8991
const { loadFiles } = createMarkdownLoader();
9092
const { parseApiDocs } = createMarkdownParser();

0 commit comments

Comments
 (0)