Comparing version 0.5.0 to 0.5.1
@@ -57,2 +57,6 @@ 'use strict'; | ||
if (opts.space) { | ||
if (!opts._config.rules) { | ||
opts._config.rules = {}; | ||
} | ||
var spaces = typeof opts.space === 'number' ? opts.space : 2; | ||
@@ -59,0 +63,0 @@ opts._config.rules.indent = [2, spaces, {SwitchCase: 1}]; |
{ | ||
"name": "xo", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "JavaScript happiness style ❤️ XOXO", | ||
@@ -67,4 +67,4 @@ "license": "MIT", | ||
"ava": "0.0.4", | ||
"xo": "sindresorhus/xo#v0.4.1" | ||
"xo": "sindresorhus/xo#v0.5.0" | ||
} | ||
} |
@@ -101,3 +101,3 @@ <h1 align="center"> | ||
"mocha": "^2.0.0", | ||
"xo": "^0.4.0" | ||
"xo": "^0.5.0" | ||
} | ||
@@ -115,3 +115,3 @@ } | ||
"xo": { | ||
"env": ["node", "mocha"] | ||
"envs": ["node", "mocha"] | ||
} | ||
@@ -118,0 +118,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11703
163