Comparing version 0.0.10 to 0.0.11
@@ -0,1 +1,5 @@ | ||
Version 0.0.11: | ||
* Option `disallow_space_after_object_keys`. | ||
* Do not automatically exclude hidden files. | ||
Version 0.0.10: | ||
@@ -2,0 +6,0 @@ * Fix in `disallow_quoted_keys_in_objects`. |
@@ -38,2 +38,4 @@ var esprima = require('esprima'); | ||
this.registerRule(new (require('./rules/disallow-spaces-inside-object-brackets'))()); | ||
this.registerRule(new (require('./rules/disallow-spaces-inside-array-brackets'))()); | ||
this.registerRule(new (require('./rules/disallow-space-after-object-keys'))()); | ||
this.registerRule(new (require('./rules/disallow-quoted-keys-in-objects'))()); | ||
@@ -82,3 +84,2 @@ }, | ||
return vowFs.listDir(path).then(function(filenames) { | ||
filenames = filenames.filter(filterHiddenFiles); | ||
return Vow.all(filenames.map(function(filename) { | ||
@@ -85,0 +86,0 @@ var fullname = path + '/' + filename; |
@@ -5,3 +5,3 @@ { | ||
"name" : "jscs", | ||
"version" : "0.0.10", | ||
"version" : "0.0.11", | ||
"repository" : "https://github.com/mdevils/jscs", | ||
@@ -8,0 +8,0 @@ "contributors" : [ |
@@ -124,2 +124,16 @@ node-jscs [![Build Status](https://travis-ci.org/mdevils/node-jscs.png?branch=master)](https://travis-ci.org/mdevils/node-jscs) | ||
/* | ||
Option: disallow_spaces_inside_array_brackets | ||
Disallows space after opening array square brace and before closing. | ||
Valid example: | ||
var x = [a: 1]; | ||
Invalid example: | ||
var x = [ a: 1 ]; | ||
*/ | ||
"disallow_spaces_inside_array_brackets": true, | ||
/* | ||
Option: require_spaces_inside_object_brackets | ||
@@ -158,2 +172,16 @@ Possible values: "all" for strict mode, "all_but_nested" ignores closing brackets in a row. | ||
/* | ||
Option: disallow_space_after_object_keys | ||
Disallows space after object keys. | ||
Valid example: | ||
var x = {a: 1}; | ||
Invalid example: | ||
var x = {a : 1}; | ||
*/ | ||
"disallow_space_after_object_keys": true, | ||
/* | ||
Option: disallow_left_sticked_operators | ||
@@ -160,0 +188,0 @@ Disallows sticking operators to the left. |
Sorry, the diff of this file is not supported yet
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
92228
60
2082
363