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
1
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.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42K
decreased by-52.09%
Maintainers
1
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

For the esnext version you'll also need Babel's ESLint parser and plugin:

$ npm install --save-dev babel-eslint eslint-plugin-babel

This will let you use ES2016 features like async/await and decorators. For a full list of features see Babel's experimental features and their Learn ES2015.

Usage

Add some ESLint config to your package.json:

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

Or to .eslintrc:

{
	"extends": "xo-space"
}

This package also exposes xo-space/esnext if you want ES2015 support and 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 01 Sep 2015

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