prettier-config-apteryx
v2.1.0
Published
Prettier configuration for all Apteryx projects
Downloads
3
Maintainers
Readme
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.