Détail du package

@zazen/prettier-config

stormwarning233ISC1.1.3

Apply a consistent code style, free of weariness and confusion

readme

@zazen/prettier-config

Usage

npm install --save-dev prettier @zazen/prettier-config

Add the following to your package.json:

  "prettier": "@zazen/prettier-config",

To extend the configuration, create prettier.config.js and spread this config onto your own config object:

import zazenConfig from '@zazen/prettier-config'

/** @type {import('prettier').Config} */
const config = {
    ...zazenConfig,
    experimentalTernaries: true,
}

export default config

changelog

@zazen/prettier-config

1.1.3

Patch Changes

  • Add type declarations (#255)

1.1.2

Patch Changes

  • Fix plugin path resolution (#253)

1.1.1

Patch Changes

  • Add explicit exports field (#240)

1.1.0

Minor Changes

  • Override options for CSS and Sass code (#223)

    Increases printWidth and uses double quotes, following the @stylistic Stylelint conventions.

1.0.0

Major Changes

  • Initial release 🎉 (#215)