Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResolveConfigOptions

Hierarchy

  • ResolveConfigOptions

Index

Properties

Optional config

config: undefined | string

Pass directly the path of the config file if you don't wish to search for it.

Optional editorconfig

editorconfig: undefined | false | true

If set to true and an .editorconfig file is in your project, Prettier will parse it and convert its properties to the corresponding prettier configuration. This configuration will be overridden by .prettierrc, etc. Currently, the following EditorConfig properties are supported:

  • indent_style
  • indent_size/tab_width
  • max_line_length

Optional useCache

useCache: undefined | false | true

If set to false, all caching will be bypassed.