1.0.1 • Published 6 years ago

prettier-config-slick v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

prettier-config-slick

Slick configuration for Prettier.

code style: Prettier npm semantic-release License

Install

Using npm

npm install prettier-config-slick --save-dev

Using Yarn

yarn add prettier-config-slick --dev

Usage

Using .pretterrc.json

Prettier does not have the ability to extend a config, so if you're configuring using JSON, you just list the name of the prettier config you want to use as a string.

"prettier-config-slick"

Using prettier.config.js or .prettierrc.js

module.exports = require('prettier-config-slick')

This approach gives more flexibility if you'd like to override some of the options:

module.exports = {
  ...require('prettier-config-slick'),
  'semi': true // Enable semicolons
}

Sponsors

Maintainers

License

MIT

1.0.1

6 years ago

1.0.0

6 years ago