Comparing version 1.13.0 to 1.13.1
@@ -0,6 +1,21 @@ | ||
## Version 1.13.1 | ||
### Overview | ||
Small update for fix distribution of the `--esnext` CLI option (#1321) | ||
### Bug fixes | ||
* CLI: use "esnext" cli option in the configuration module (Oleg Gaidarenko) | ||
* CLI: ensure options to path.resolve are strings (Jason Karns) | ||
* disallowMultipleSpaces: fix configuration error message (Marc Knaup) | ||
### Docs | ||
* Docs: correct example for the "requireCapitalizedComments" rule (XhmikosR) | ||
* Docs: Update mixup between rules in docstring example (Jérémie Astori) | ||
* Docs: Fix missing quotes in a docstring example (Jérémie Astori) | ||
## Version 1.13.0 | ||
## Overview | ||
### Overview | ||
This is mostly an incremental update, which includes important fixes for annoyances: `npm ERR! EEXIST, symlink` error at `npm install`, improved ES6 support, six new rules, three new rule values and now you can declare `verbose` option at the config. | ||
This is mostly an incremental update, which includes important fixes for annoyances like `npm ERR! EEXIST, symlink` error at `npm install`. We also improved ES6 support, added seven new rules, three new rule values and now you can declare `verbose` option at the config. | ||
@@ -24,2 +39,3 @@ There are no preset updates in this release, but if you feel that rules are missing in | ||
* New rule: (disallow|require)PaddingNewLinesAfterUseStrict (Eli White) | ||
* New rule: disallowNotOperatorsInConditionals (Henry Zhu) | ||
@@ -26,0 +42,0 @@ ### New rule values |
@@ -146,2 +146,4 @@ /** | ||
if (reporter) { | ||
// ensure reporter is a string (and allow non-string types to be coerced) | ||
reporter = reporter.toString(); | ||
writerPath = path.resolve(process.cwd(), reporter); | ||
@@ -148,0 +150,0 @@ |
@@ -14,3 +14,4 @@ var path = require('path'); | ||
'es3', | ||
'verbose' | ||
'verbose', | ||
'esnext' | ||
]; | ||
@@ -17,0 +18,0 @@ |
@@ -38,3 +38,3 @@ /** | ||
options.allowEOLComments === true, | ||
'options option requires true value ' + | ||
this.getOptionName() + ' option requires true value ' + | ||
'or an object with `allowEOLComments` property' | ||
@@ -41,0 +41,0 @@ ); |
@@ -11,3 +11,3 @@ /** | ||
* ```js | ||
* "requirePaddingNewLinesBeforeExport": true | ||
* "disallowPaddingNewLinesBeforeExport": true | ||
* ``` | ||
@@ -14,0 +14,0 @@ * |
@@ -55,3 +55,3 @@ /** | ||
* ```js | ||
* "requireCapitalizedComments": { allExcept: ["jshint"] } | ||
* "requireCapitalizedComments": { "allExcept": ["jshint"] } | ||
* ``` | ||
@@ -58,0 +58,0 @@ * |
@@ -12,4 +12,4 @@ /** | ||
* "validateAlignedFunctionParameters": { | ||
* lineBreakAfterOpeningBraces: true, | ||
* lineBreakBeforeClosingBraces: true | ||
* "lineBreakAfterOpeningBraces": true, | ||
* "lineBreakBeforeClosingBraces": true | ||
* } | ||
@@ -16,0 +16,0 @@ * ``` |
@@ -5,3 +5,3 @@ { | ||
"name": "jscs", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"main": "lib/checker", | ||
@@ -8,0 +8,0 @@ "homepage": "https://github.com/jscs-dev/node-jscs", |
Sorry, the diff of this file is too big to display
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
1366623
40177