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 - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

browser.js
'use strict';
var deepAssign = require('deep-assign');
var conf = require('eslint-config-xo/browser');
conf = deepAssign({}, conf);
conf.rules.indent = [2, 2, {SwitchCase: 1}];
module.exports = conf;
'use strict';
var deepAssign = require('deep-assign');
var conf = require('eslint-config-xo/esnext');
conf = deepAssign({}, conf);
conf.rules.indent = [2, 2, {SwitchCase: 1}];
module.exports = conf;
'use strict';
var deepAssign = require('deep-assign');
var conf = require('eslint-config-xo');
conf = deepAssign({}, conf);
conf.rules.indent = [2, 2, {SwitchCase: 1}];
module.exports = conf;

10

package.json
{
"name": "eslint-config-xo-space",
"version": "0.4.0",
"version": "0.5.0",
"description": "ESLint shareable config for XO with 2-space indent",

@@ -24,2 +24,3 @@ "license": "MIT",

"keywords": [
"❤️",
"space",

@@ -55,3 +56,4 @@ "spaces",

"dependencies": {
"eslint-config-xo": "^0.5.0"
"deep-assign": "^1.0.0",
"eslint-config-xo": "^0.6.0"
},

@@ -62,3 +64,3 @@ "devDependencies": {

"clear-require": "^1.0.1",
"eslint": "^1.3.1",
"eslint": "^1.4.1",
"eslint-plugin-babel": "^2.1.1",

@@ -69,4 +71,4 @@ "is-plain-obj": "^1.0.0",

"peerDependencies": {
"eslint": ">=1.3.1"
"eslint": ">=1.4.1"
}
}

@@ -44,4 +44,6 @@ # eslint-config-xo-space [![Build Status](https://travis-ci.org/sindresorhus/eslint-config-xo-space.svg?branch=master)](https://travis-ci.org/sindresorhus/eslint-config-xo-space)

This package also exposes [`xo-space/esnext`](esnext.js) if you want ES2015 support and rules:
Supports parsing ES2015, but doesn't enforce it by default.
This package also exposes [`xo-space/esnext`](esnext.js) if you want ES2015+ rules:
```json

@@ -48,0 +50,0 @@ {

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