// This file is being synced from WordPress/openverse. Any changes made to it
// here will be overwritten. Please make any necessary edits to these files:
// - https://github.com/WordPress/openverse/blob/main/prettier.config.js.jinja
// - https://github.com/WordPress/openverse/blob/main/templates/prettier.config.frontend.js.jinja

module.exports = {
  trailingComma: "es5",
  tabWidth: 2,
  semi: false,
  singleQuote: false,
  proseWrap: "always",
  overrides: [
    {
      files: ["*.yml", "*.yaml"],
      options: {
        proseWrap: "preserve",
      },
    },
  ],
  vueIndentScriptAndStyle: false,
  plugins: [require("prettier-plugin-tailwindcss")],
  tailwindConfig: "tailwind.config.js",
}
