@aetherjs/prettier-config
Version:
Standard Prettier config for Aether-Development projects.
67 lines (45 loc) • 1.55 kB
Markdown
<div align="center">
<img src="https://raw.githubusercontent.com/aether-development/.github/d75ee364dfd4683e01baedc97256f536bb40f0a9/assets/AetherDevelopmentLogo.png" width="546" alt="aether-framework" />
# @aetherjs/prettier-config
**Prettier configuration for <u>Aether Development</u> projects.**
[](https://github.com/aether-development/utilities/blob/main/LICENSE.md)
[](https://www.npmjs.com/package/@aetherjs/prettier-config)
</div>
## Installation
Install the package with one of the following commands below.
```yaml
# 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
```
## Usage
For `package.json`, add the following.
```json
{
"name": "my-project",
"prettier": "@aetherjs/prettier-config"
}
```
For `prettierrc.json`, add the following.
```json
{
"extends": "@aetherjs"
}
```
For `prettierrc.js`, add the following.
```js
module.exports = require('@aetherjs/prettier-config');
```
**OR** to use with overrides, add the following.
```js
module.exports = {
...require('@aetherjs/prettier-config'),
};
```
---
_This package was inspired by [@sapphire/prettier-config](https://github.com/sapphiredev/utilities/tree/main/packages/prettier-config)_