Skip to content

Prettier

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • prettier

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"prettier": {
"config": [
".prettierrc",
".prettierrc.{json,js,cjs,mjs,yml,yaml,toml,json5}",
"prettier.config.{js,cjs,mjs}",
"package.{json,yaml}"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details about plugins and their entry and config options.

Generated from source

This page was generated from the prettier plugin source code.

ISC License © 2024 Lars Kappert