2.1.0 • Published 11 months ago

prettier-config-apteryx v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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.