Socket
Socket
Sign inDemoInstall

jscs

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscs - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

lib/rules/disallow-spaces-inside-parentheses.js

3

CHANGELOG.md

@@ -0,1 +1,4 @@

Version 1.0.7:
* Disallow spaces inside parentheses (@ignovak).
Version 1.0.6:

@@ -2,0 +5,0 @@ * Convert tabs into spaces (@markelog).

@@ -56,2 +56,3 @@ var esprima = require('esprima');

this.registerRule(new (require('./rules/disallow-spaces-inside-array-brackets'))());
this.registerRule(new (require('./rules/disallow-spaces-inside-parentheses'))());
this.registerRule(new (require('./rules/require-space-after-object-keys'))());

@@ -58,0 +59,0 @@ this.registerRule(new (require('./rules/disallow-space-after-object-keys'))());

2

package.json

@@ -5,3 +5,3 @@ {

"name" : "jscs",
"version" : "1.0.6",
"version" : "1.0.7",
"repository" : "https://github.com/mdevils/node-jscs",

@@ -8,0 +8,0 @@ "contributors" : [

@@ -176,2 +176,16 @@ node-jscs [![Build Status](https://travis-ci.org/mdevils/node-jscs.png?branch=master)](https://travis-ci.org/mdevils/node-jscs)

/*
Option: disallowSpacesInsideParentheses
Disallows space after opening round bracket and before closing.
Valid example:
var x = (1 + 2) * 3;
Invalid example:
var x = ( 1 + 2 ) * 3;
*/
"disallowSpacesInsideParentheses": true,
/*
Option: requireSpacesInsideObjectBrackets

@@ -178,0 +192,0 @@ Possible values: "all" for strict mode, "allButNested" ignores closing brackets in a row.

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