Skip to content

Commit

Permalink
fix: πŸ› runtime config does not support indentInnerHtml option
Browse files Browse the repository at this point in the history
  • Loading branch information
shufo committed Feb 6, 2024
1 parent 377efea commit a413028
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type WrapAttributes =

export interface RuntimeConfig {
indentSize?: number;
indentInnerHtml?: boolean;
wrapLineLength?: number;
wrapAttributes?: WrapAttributes;
wrapAttributesMinAttrs?: number;
Expand Down Expand Up @@ -43,6 +44,7 @@ export function readRuntimeConfig(filePath: string): RuntimeConfig | undefined {
const schema: JTDSchemaType<RuntimeConfig> = {
optionalProperties: {
indentSize: { type: "int32" },
indentInnerHtml: { type: "boolean" },
wrapLineLength: { type: "int32" },
wrapAttributes: {
enum: [
Expand Down

0 comments on commit a413028

Please sign in to comment.