gulp-coffeelint
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -1,2 +0,10 @@ | ||
<a name"0.5.0"></a> | ||
<a name="0.6.0"></a> | ||
## [0.6.0](https://github.com/janraasch/gulp-coffeelint/compare/v0.5.0...v0.6.0) (2015-12-14) | ||
#### Maintenance | ||
* **dependency(through2):** update to v2 | ||
([0edbc75d](https://github.com/janraasch/gulp-coffeelint/commit/0edbc75d)) | ||
## 0.5.0 (2015-05-14) | ||
@@ -3,0 +11,0 @@ |
10
index.js
@@ -19,3 +19,3 @@ 'use strict'; | ||
coffeelintPlugin = function() { | ||
var e, literate, opt, optFile, params, ref1, rules; | ||
var e, error, error1, literate, opt, optFile, params, ref1, rules; | ||
params = [ | ||
@@ -35,4 +35,4 @@ { | ||
ref1 = Args(params, arguments), opt = ref1.opt, optFile = ref1.optFile, literate = ref1.literate, rules = ref1.rules; | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
throw createPluginError(e); | ||
@@ -53,4 +53,4 @@ } | ||
opt = JSON.parse(fs.readFileSync(optFile).toString()); | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error1) { | ||
e = error1; | ||
throw createPluginError("Could not load config from file: " + e); | ||
@@ -57,0 +57,0 @@ } |
@@ -71,6 +71,6 @@ 'use strict'; | ||
return require("coffeelint/lib/reporters/" + reporter); | ||
} catch (_error) {} | ||
} catch (undefined) {} | ||
try { | ||
return require(reporter); | ||
} catch (_error) {} | ||
} catch (undefined) {} | ||
} | ||
@@ -77,0 +77,0 @@ }; |
{ | ||
"name": "gulp-coffeelint", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Lint your CoffeeScript using gulp and CoffeeLint", | ||
@@ -27,3 +27,4 @@ "keywords": [ | ||
"test": "coffeelint gulpfile.coffee index.coffee lib test -f ./coffeelint.json && istanbul test _mocha --report lcovonly -- ./test/*.coffee --require coffee-script/register --reporter spec", | ||
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" | ||
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", | ||
"changelog": "conventional-changelog -p angular -i changelog.md -w" | ||
}, | ||
@@ -35,16 +36,16 @@ "dependencies": { | ||
"gulp-util": "^3.0.0", | ||
"through2": "^0.6.1" | ||
"through2": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "^1.7.1", | ||
"coffeelint-use-strict": "0.0.1", | ||
"conventional-changelog": "0.0.17", | ||
"coffeelint-use-strict": "^1.0.0", | ||
"conventional-changelog": "^0.5.0", | ||
"coveralls": "^2.8.0", | ||
"del": "^1.1.1", | ||
"del": "^2.0.1", | ||
"gulp": "^3.5.2", | ||
"gulp-coffee": "^2.1.2", | ||
"istanbul": "^0.3.0", | ||
"istanbul": "^0.4.0", | ||
"mocha": "^2.1.0", | ||
"proxyquire": "^1.4.0", | ||
"should": "^6.0.1", | ||
"should": "^8.0.0", | ||
"sinon": "^1.8.1" | ||
@@ -51,0 +52,0 @@ }, |
@@ -79,3 +79,3 @@ # gulp-coffeelint [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![NPM version][npm-image]][npm-url] | ||
```js | ||
stuff | ||
gulp.src('./src/*.coffee') | ||
.pipe(coffeelint()) | ||
@@ -103,3 +103,3 @@ .pipe(coffeelint.reporter('csv')) | ||
.pipe(coffeelint()) | ||
.pipe(coffeelint.reporter('coffelint-stylish')) | ||
.pipe(coffeelint.reporter('coffeelint-stylish')) | ||
``` | ||
@@ -106,0 +106,0 @@ |
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
16614
- Removedreadable-stream@1.0.34(transitive)
- Removedthrough2@0.6.5(transitive)
Updatedthrough2@^2.0.0