Comparing version 1.0.12 to 1.0.13
@@ -0,1 +1,4 @@ | ||
Version 1.0.13: | ||
* Option `validateLineBreaks` (@twoRoger). | ||
Version 1.0.12: | ||
@@ -5,4 +8,4 @@ * Fixes for jsdoc params. | ||
Version 1.0.11: | ||
* Prefix unary rules: `disallowSpaceAfterPrefixUnaryOperators`, `requireSpaceAfterPrefixUnaryOperators`. | ||
* Postfix unary rules: `disallowSpaceBeforePostfixUnaryOperators`, `requireSpaceBeforePostfixUnaryOperators`. | ||
* Prefix unary rules: `disallowSpaceAfterPrefixUnaryOperators`, `requireSpaceAfterPrefixUnaryOperators` (@mishaberezin). | ||
* Postfix unary rules: `disallowSpaceBeforePostfixUnaryOperators`, `requireSpaceBeforePostfixUnaryOperators` (@mishaberezin). | ||
@@ -9,0 +12,0 @@ Version 1.0.10: |
@@ -45,2 +45,3 @@ var esprima = require('esprima'); | ||
this.registerRule(new (require('./rules/disallow-multiple-line-breaks'))()); | ||
this.registerRule(new (require('./rules/validate-line-breaks'))()); | ||
this.registerRule(new (require('./rules/require-keywords-on-new-line'))()); | ||
@@ -47,0 +48,0 @@ this.registerRule(new (require('./rules/disallow-keywords-on-new-line'))()); |
@@ -5,3 +5,3 @@ { | ||
"name" : "jscs", | ||
"version" : "1.0.12", | ||
"version" : "1.0.13", | ||
"repository" : "https://github.com/mdevils/node-jscs", | ||
@@ -8,0 +8,0 @@ "contributors" : [ |
@@ -509,2 +509,14 @@ node-jscs [![Build Status](https://travis-ci.org/mdevils/node-jscs.png?branch=master)](https://travis-ci.org/mdevils/node-jscs) | ||
/* | ||
Option: validateLineBreaks | ||
Possible values: "CR", "LF", "CRLF" | ||
Option to check line break characters | ||
Invalid example: | ||
var x = 1;<CRLF> | ||
x++; | ||
*/ | ||
"validateLineBreaks": "LF", | ||
/* | ||
Option: disallowKeywordsOnNewLine | ||
@@ -511,0 +523,0 @@ Disallows placing keywords on a new line. |
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
409305
102
10169
634