prettier-config-xo

2.0.0 • Public • Published

prettier-config-xo

npm Build Status XO code style codecov

Prettier config that follows the XO code style.

Usage

Default config

Add the prettier property to your package.json.

{
	"name": "my-cool-library",
	"version": "1.0.0",
	"prettier": "prettier-config-xo"
}

Extending the configuration

// prettier.config.js, or some other file
module.exports = {
	...require('prettier-config-xo'),
	semi: false,
};

Spaces

You can use spaces instead of tabs with the space config:

module.exports = require('prettier-config-xo/space');

Package Sidebar

Install

npm i prettier-config-xo

Weekly Downloads

614

Version

2.0.0

License

Apache-2.0

Unpacked Size

18.1 kB

Total Files

19

Last publish

Collaborators

  • jonahsnider