Skip to content

Commit 59d45a8

Browse files
committed
chore(cli): fix quotes
1 parent 6e4c390 commit 59d45a8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/cli/src/commands/lint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const lintCommand: CommandModule = {
155155
alias: 'p',
156156
description: 'which parser should be used to read the file (defaults to Yaml)',
157157
type: 'string',
158-
choices: ["Yaml", "Json"],
158+
choices: ['Yaml', 'Json'],
159159
default: "Yaml"
160160
},
161161
verbose: {

packages/cli/src/services/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ export interface ILintConfig {
3030
failOnUnmatchedGlobs: boolean;
3131
verbose?: boolean;
3232
quiet?: boolean;
33-
parser?: keyof Pick<typeof Parsers, "Json" | "Yaml">
33+
parser?: keyof Pick<typeof Parsers, 'Json' | 'Yaml'>
3434
}

packages/cli/src/services/linter/linter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ const createDocument = async (
6363
identifier: string | number,
6464
opts: IFileReadOptions,
6565
source: string,
66-
parser: ILintConfig["parser"] = "Yaml"
66+
parser: ILintConfig['parser'] = 'Yaml'
6767
) => {
68-
if (parser === "Json") {
68+
if (parser === 'Json') {
6969
if (typeof identifier === 'string') {
7070
return new Document(await readParsable(identifier, opts), Parsers.Json, identifier);
7171
}

0 commit comments

Comments
 (0)