Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@adonisjs/prettier-config

adonisjs84.2kMIT1.4.5

Prettier config preset for AdonisJS packages and applications

prettier, adonisjs

readme

@adonisjs/prettier-config



Base Prettier configuration

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


npm-image license-image

Installation

Install the package from the npm registry.

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.

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

Our base config also installs and configures the prettier-plugin-edgejs package to format Edge templates using Prettier.

Built with ❤︎ by Julien Ripouteau and Harminder Virk