@atws/prettier-config

3.0.0 • Public • Published

@atws/prettier-config

npm

This package contains a simple base config for prettier.

Usage

Install prettier and the package:

yarn add -D prettier @atws/prettier-config

Create a .prettierrc.js file in the root of your project and extend the base config.

const preset = require('@atws/prettier-config')

/** @type {import("prettier").Options} */
const config = {
  ...preset,
  plugins: [...preset.plugins],
}

module.exports = config

/@atws/prettier-config/

    Package Sidebar

    Install

    npm i @atws/prettier-config

    Weekly Downloads

    11

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    1.82 kB

    Total Files

    3

    Last publish

    Collaborators

    • nimmervoll