Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

options

constante Since 1.1.0

Opciones propias del plugin para Prettier: meekoIndentSections (booleana, false por defecto) y, desde 1.3.0, meekoPreserveArrayBreaks (booleana, true por defecto) y meekoSortClasses ("off" por defecto, "stylesheet", "tailwind" desde 1.8.0 o "alphabetical"; en la CLI, --meeko-sort-classes) y, desde 1.8.0, meekoTailwindStylesheet (ruta; en la CLI, --meeko-tailwind-stylesheet). Los nombres de las opciones son estables.

ts
import { options } from "@meekojs/meeko/prettier";

Source code src/formatters/prettier/plugin.ts:387

Declaración #

ts
const options: SupportOptions

Examples #

json
{ "plugins": ["@meekojs/meeko/prettier"], "meekoIndentSections": true, "meekoPreserveArrayBreaks": false }
json
{ "plugins": ["@meekojs/meeko/prettier"], "meekoSortClasses": "stylesheet" }
json
{ "plugins": ["@meekojs/meeko/prettier"], "meekoSortClasses": "tailwind" }

See also #

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/formatters/prettier/plugin.ts