包详细信息

@adonisjs/prettier-config

adonisjs67.6kMIT1.4.4

Prettier config preset for AdonisJS packages and applications

prettier, adonisjs

自述文件

@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

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

[npm-url]: https://www.npmjs.com/package/@adonisjs/prettier-config/v/latest 'npm'