Function prettierRules

  • Parameters

    • rules: {} = {}

      Returns {
          arrowParens: string;
          bracketSameLine: boolean;
          bracketSpacing: boolean;
          endOfLine: string;
          htmlWhitespaceSensitivity: string;
          insertPragma: boolean;
          jsxSingleQuote: boolean;
          printWidth: number;
          proseWrap: string;
          quoteProps: string;
          rangeEnd: number;
          rangeStart: number;
          semi: boolean;
          singleQuote: boolean;
          tabWidth: number;
          trailingComma: string;
          useTabs: boolean;
      }

      • arrowParens: string
      • bracketSameLine: boolean
      • bracketSpacing: boolean
      • endOfLine: string
      • htmlWhitespaceSensitivity: string
      • insertPragma: boolean
      • jsxSingleQuote: boolean
      • printWidth: number
      • proseWrap: string
      • quoteProps: string
      • rangeEnd: number
      • rangeStart: number
      • semi: boolean
      • singleQuote: boolean
      • tabWidth: number
      • trailingComma: string
      • useTabs: boolean