prettier-config-apteryx

2.1.0 • Public • Published

Apteryx's Prettier Config

Installation

npm install prettier prettier-config-apteryx
yarn add prettier prettier-config-apteryx
pnpm add prettier prettier-config-apteryx

Usage

Add the following field to your package.json.

{
    "devDependencies": {
        "prettier-config-apteryx": "*"
    },
    "prettier": "prettier-config-apteryx"
}

Usage with ESLint

Use with eslint-config-apteryx.

Add the following to your ESLint config.

{
    "extends": [
        "apteryx/common",
        "apteryx/node",
        "apteryx/typescript",
        "apteryx/prettier"
    ]
}

apteryx/prettier must be last in the list, as this will disable all other rules that conflict with Prettier.

Package Sidebar

Install

npm i prettier-config-apteryx

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • apteryxxyz