NPM Build Utilities @ 0.3.0-alpha
    Preparing search index...

    Variable ARGS_DEFAULTConst

    ARGS_DEFAULT: {
        _: {
            bracketSameLine: false;
            bracketSpacing: true;
            experimentalOperatorPosition: "start";
            experimentalTernaries: true;
            htmlWhitespaceSensitivity: "strict";
            jsxSingleQuote: true;
            overrides: {
                css: { singleQuote: false };
                html: { printWidth: number; singleQuote: false };
                js: undefined;
                json: undefined;
                md: { printWidth: number };
                mdx: { printWidth: number };
                scss: undefined;
                ts: undefined;
                yaml: undefined;
            };
            printWidth: number;
            proseWrap: "preserve";
            semi: true;
            singleAttributePerLine: true;
            singleQuote: true;
            tabWidth: number;
            toJSON: (
                this: Options & {
                    overrides: {
                        css?: Options;
                        html?: Options;
                        js?: Options;
                        json?: Options;
                        md?: Options;
                        mdx?: Options;
                        scss?: Options;
                        ts?: Options;
                        yaml?: Options;
                    };
                },
                format?: FileSystemType.Prettier.Format,
            ) => Omit<Options, "overrides"> & {
                overrides: { files: string | string[]; options: Options }[];
                toJSON?: (this: Options & { overrides: { css?: Options | undefined; html?: Options | undefined; js?: Options | undefined; ... 5 more ...; yaml?: Options | undefined; }; }, format?: Format | undefined) => Omit<...> & { ...; };
            };
            trailingComma: "all";
            useTabs: false;
        };
        css: { singleQuote: false };
        html: { printWidth: number; singleQuote: false };
        js: undefined;
        json: undefined;
        md: { printWidth: number };
        mdx: { printWidth: number };
        scss: undefined;
        ts: undefined;
        yaml: undefined;
    } = ...

    Default args for the FileSystem.prettier method

    Type declaration

    • _: {
          bracketSameLine: false;
          bracketSpacing: true;
          experimentalOperatorPosition: "start";
          experimentalTernaries: true;
          htmlWhitespaceSensitivity: "strict";
          jsxSingleQuote: true;
          overrides: {
              css: { singleQuote: false };
              html: { printWidth: number; singleQuote: false };
              js: undefined;
              json: undefined;
              md: { printWidth: number };
              mdx: { printWidth: number };
              scss: undefined;
              ts: undefined;
              yaml: undefined;
          };
          printWidth: number;
          proseWrap: "preserve";
          semi: true;
          singleAttributePerLine: true;
          singleQuote: true;
          tabWidth: number;
          toJSON: (
              this: Options & {
                  overrides: {
                      css?: Options;
                      html?: Options;
                      js?: Options;
                      json?: Options;
                      md?: Options;
                      mdx?: Options;
                      scss?: Options;
                      ts?: Options;
                      yaml?: Options;
                  };
              },
              format?: FileSystemType.Prettier.Format,
          ) => Omit<Options, "overrides"> & {
              overrides: { files: string | string[]; options: Options }[];
              toJSON?: (this: Options & { overrides: { css?: Options | undefined; html?: Options | undefined; js?: Options | undefined; ... 5 more ...; yaml?: Options | undefined; }; }, format?: Format | undefined) => Omit<...> & { ...; };
          };
          trailingComma: "all";
          useTabs: false;
      }
      • bracketSameLine: false
      • bracketSpacing: true
      • experimentalOperatorPosition: "start"
      • experimentalTernaries: true
      • htmlWhitespaceSensitivity: "strict"
      • jsxSingleQuote: true
      • overrides: {
            css: { singleQuote: false };
            html: { printWidth: number; singleQuote: false };
            js: undefined;
            json: undefined;
            md: { printWidth: number };
            mdx: { printWidth: number };
            scss: undefined;
            ts: undefined;
            yaml: undefined;
        }
      • printWidth: number
      • proseWrap: "preserve"
      • semi: true
      • singleAttributePerLine: true
      • singleQuote: true
      • tabWidth: number
      • toJSON: (
            this: Options & {
                overrides: {
                    css?: Options;
                    html?: Options;
                    js?: Options;
                    json?: Options;
                    md?: Options;
                    mdx?: Options;
                    scss?: Options;
                    ts?: Options;
                    yaml?: Options;
                };
            },
            format?: FileSystemType.Prettier.Format,
        ) => Omit<Options, "overrides"> & {
            overrides: { files: string | string[]; options: Options }[];
            toJSON?: (this: Options & { overrides: { css?: Options | undefined; html?: Options | undefined; js?: Options | undefined; ... 5 more ...; yaml?: Options | undefined; }; }, format?: Format | undefined) => Omit<...> & { ...; };
        }
      • trailingComma: "all"
      • useTabs: false
    • css: { singleQuote: false }
    • html: { printWidth: number; singleQuote: false }
    • js: undefined
    • json: undefined
    • md: { printWidth: number }
    • mdx: { printWidth: number }
    • scss: undefined
    • ts: undefined
    • yaml: undefined

    0.1.0-alpha

    0.2.0-alpha.2 — Replaced by static accessor FileSystem.prettierConfig.