Install the package with one of the following commands below.
# For NPM
npm install --save-dev @aetherjs/prettier-config
# For PNPM
pnpm add -D @aetherjs/prettier-config
# For YARN
yarn add -D @aetherjs/prettier-config
# For Bun
bun add -D @aetherjs/prettier-config
For package.json
, add the following.
{
"name": "my-project",
"prettier": "@aetherjs/prettier-config"
}
For prettierrc.json
, add the following.
{
"extends": "@aetherjs"
}
For prettierrc.js
, add the following.
module.exports = require('@aetherjs/prettier-config');
OR to use with overrides, add the following.
module.exports = {
...require('@aetherjs/prettier-config'),
};
This package was inspired by @sapphire/prettier-config