@floydspace/prettier-config

1.37.0 • Public • Published

@floydspace/prettier-config

Shared Prettier configuration for FloydSpace projects. Compatible with FloydSpace eslint configs.

Usage

  1. Install from npm
npm i --save-dev @floydspace/prettier-config
  1. Create .prettierrc.js at project root
module.exports = require('@floydspace/prettier-config');

More information about available at prettier documentation

Available presets

  • angular
{
  // ...
  "prettier": "@floydspace/prettier-config/angular"
}
  • react
{
  // ...
  "prettier": "@floydspace/prettier-config/react"
}

Package Sidebar

Install

npm i @floydspace/prettier-config

Weekly Downloads

409

Version

1.37.0

License

Apache-2.0

Unpacked Size

22.1 kB

Total Files

8

Last publish

Collaborators

  • f1oyd