An open API service indexing awesome lists of open source software.

https://github.com/adonisjs/prettier-config

Prettier config preset for AdonisJS packages and applications
https://github.com/adonisjs/prettier-config

Last synced: over 1 year ago
JSON representation

Prettier config preset for AdonisJS packages and applications

Awesome Lists containing this project

README

          

# @adonisjs/prettier-config





Base Prettier configuration


Base prettier rules used by the AdonisJS team for packages and the applications.



[![npm-image]][npm-url] [![license-image]][license-url]

## Installation

Install the package from the npm registry.

```sh
npm i -D @adonisjs/prettier-config

# Make sure also to install the following packages
npm i -D prettier
```

## Usage

After installation, you can copy/paste the following block of code within the `package.json` file.

```json
{
"prettier": "@adonisjs/prettier-config"
}
```

Our base config also installs and configures the [prettier-plugin-edgejs](https://github.com/sajansharmanz/prettier-plugin-edgejs) package to format Edge templates using Prettier.


Built with ❤︎ by Julien Ripouteau and Harminder Virk

[npm-image]: https://img.shields.io/npm/v/@adonisjs/prettier-config/latest.svg?style=for-the-badge&logo=npm
[npm-url]: https://www.npmjs.com/package/@adonisjs/prettier-config/v/latest 'npm'
[license-url]: LICENSE.md
[license-image]: https://img.shields.io/github/license/adonisjs/prettier-config?style=for-the-badge