Prettier config preset for AdonisJS packages and applications
npm install @adonisjs/prettier-configBase prettier rules used by the AdonisJS team for packages and the applications.
[![npm-image]][npm-url] [![license-image]][license-url]
Install the package from the npm registry.
``sh
npm i -D @adonisjs/prettier-config
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 package to format Edge templates using Prettier.
[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