Comparing version 1.6.0 to 1.6.1
@@ -15,2 +15,4 @@ /** | ||
var exit = require('exit'); | ||
var fs = require('fs'); | ||
@@ -34,3 +36,3 @@ var path = require('path'); | ||
promise.always(function(status) { | ||
process.exit(status.valueOf()); | ||
exit(status.valueOf()); | ||
}); | ||
@@ -37,0 +39,0 @@ |
var presets = { | ||
// https://github.com/airbnb/javascript | ||
airbnb: require('../../presets/airbnb.json'), | ||
// http://javascript.crockford.com/code.html | ||
@@ -3,0 +5,0 @@ crockford: require('../../presets/crockford.json'), |
@@ -5,3 +5,3 @@ { | ||
"name": "jscs", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"main": "lib/checker", | ||
@@ -32,2 +32,3 @@ "homepage": "https://github.com/mdevils/node-jscs", | ||
"esprima": "~1.2.2", | ||
"exit": "~0.1.2", | ||
"glob": "~4.0.0", | ||
@@ -48,3 +49,4 @@ "minimatch": "~1.0.0", | ||
"mocha": "~1.21.4", | ||
"separated-coverage": "~2.1.0", | ||
"rewire": "~2.1.0", | ||
"separated-coverage": "~2.1.1", | ||
"sinon": "~1.10.0", | ||
@@ -51,0 +53,0 @@ "xml2js": "~0.4.2" |
@@ -53,3 +53,2 @@ { | ||
"disallowMultipleLineBreaks": true, | ||
"validateLineBreaks": "LF", | ||
"validateQuoteMarks": "'", | ||
@@ -64,3 +63,4 @@ "validateIndentation": 4, | ||
"requireDotNotation": true, | ||
"disallowYodaConditions": true | ||
"disallowYodaConditions": true, | ||
"disallowNewlineBeforeBlockStatements": true | ||
} |
@@ -12,2 +12,3 @@ # node-jscs | ||
* [Airbnb](presets/airbnb.json) - https://github.com/airbnb/javascript | ||
* [Crockford](presets/crockford.json) - http://javascript.crockford.com/code.html | ||
@@ -22,7 +23,8 @@ * [Google](presets/google.json) - https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml | ||
* Grunt task: https://github.com/gustavohenke/grunt-jscs/ | ||
* Gulp task: https://github.com/sindresorhus/gulp-jscs/ | ||
* Atom plugin: https://atom.io/packages/linter-jscs | ||
* Brackets Extension: https://github.com/globexdesigns/brackets-jscs | ||
* Grunt task: https://github.com/jscs-dev/grunt-jscs/ | ||
* Gulp task: https://github.com/jscs-dev/gulp-jscs/ | ||
* SublimeText 3 Plugin: https://github.com/SublimeLinter/SublimeLinter-jscs/ | ||
* Syntastic VIM Plugin: [https://github.com/scrooloose/syntastic/.../syntax_checkers/javascript/jscs.vim/](https://github.com/scrooloose/syntastic/blob/master/syntax_checkers/javascript/jscs.vim/) | ||
* Atom plugin: https://atom.io/packages/linter-jscs | ||
* Web Essentials for Visual Studio 2013: https://github.com/madskristensen/WebEssentials2013/ | ||
@@ -32,5 +34,4 @@ | ||
* Brackets Extension: https://github.com/globexdesigns/brackets-jscs | ||
* A team city reporter: https://github.com/wurmr/jscs-teamcity-reporter | ||
* JSdoc rules extension: https://github.com/zxqfox/jscs-jsdoc | ||
* JSdoc rules extension: https://github.com/jscs-dev/jscs-jsdoc | ||
@@ -118,3 +119,3 @@ ## Installation | ||
Values: `"crockford"`, `"google"`, `"jquery"`, `"mdcs"`, `"wikimedia"`, `"yandex"` | ||
Values: `"airbnb"`, `"crockford"`, `"google"`, `"jquery"`, `"mdcs"`, `"wikimedia"`, `"yandex"` | ||
@@ -121,0 +122,0 @@ #### Example |
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
639338
15608
2885
11
10
+ Addedexit@~0.1.2
+ Addedexit@0.1.2(transitive)