Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-xo-space

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-xo-space

ESLint shareable config for XO with 2-space indent

  • 0.17.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
166K
increased by42.6%
Maintainers
3
Weekly downloads
 
Created
Source

eslint-config-xo-space Build Status

ESLint shareable config for XO with 2-space indent

This is for advanced users. You probably want to use XO directly.

Install

$ npm install --save-dev eslint-config-xo-space

Usage

Add some ESLint config to your package.json:

{
	"name": "my-awesome-project",
	"eslintConfig": {
		"extends": "xo-space"
	}
}

Or to .eslintrc:

{
	"extends": "xo-space"
}

Supports parsing ES2015+, but doesn't enforce it by default.

This package also exposes xo-space/esnext if you want ES2015+ rules:

{
	"extends": "xo-space/esnext"
}

And xo-space/browser if you're in the browser:

{
	"extends": "xo-space/browser"
}

License

MIT © Sindre Sorhus

Keywords

FAQs

Package last updated on 19 Oct 2017

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