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
2
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.27.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
151K
increased by57.47%
Maintainers
2
Weekly downloads
 
Created
Source

eslint-config-xo-space

ESLint shareable config for XO with 2-space indent

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

Use the XO issue tracker instead of this one.

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"
}

Keywords

FAQs

Package last updated on 20 Feb 2021

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