New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prettier-config-xo

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-config-xo

[![npm](https://img.shields.io/npm/v/prettier-config-xo)](https://www.npmjs.com/package/prettier-config-xo) [![Build Status](https://github.com/pizzafox/prettier-config-xo/workflows/CI/badge.svg)](https://github.com/pizzafox/prettier-config-xo/actions) [!

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
increased by35.8%
Maintainers
1
Weekly downloads
 
Created
Source

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:

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

Keywords

FAQs

Package last updated on 23 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc