Socket
Socket
Sign inDemoInstall

gulp-eslint

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-eslint - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

4

CHANGELOG.md
# Changelog
## 0.4.3
* Fix "rulePaths" typo
## 0.4.2

@@ -4,0 +8,0 @@

2

package.json
{
"name": "gulp-eslint",
"version": "0.4.2",
"version": "0.4.3",
"description": "A gulp plugin for processing files with eslint",

@@ -5,0 +5,0 @@ "repository": "adametry/gulp-eslint",

@@ -38,3 +38,3 @@ # gulp-eslint [![Build Status](https://travis-ci.org/adametry/gulp-eslint.svg)](https://travis-ci.org/adametry/gulp-eslint) [![Coverage Status](https://img.shields.io/coveralls/adametry/gulp-eslint.svg)](https://coveralls.io/r/adametry/gulp-eslint)

.pipe(eslint({
rulesPaths: [
rulePaths: [
'custom-rules/'

@@ -65,3 +65,3 @@ ],

#### options.rulesPaths
#### options.rulePaths

@@ -159,2 +159,14 @@ Type: `Array`

### eslint.failAfterError()
Stop a task/stream if an eslint error has been reported for any file, but wait for all of them to be processed first.
```javascript
// Cause the stream to stop(/fail) when the stream ends if any eslint error(s) occurred.
gulp.src('**/*.js')
.pipe(eslint())
.pipe(eslint.failAfterError())
.pipe(gulp.dest('../output'));
```
### eslint.format(formatter, output)

@@ -161,0 +173,0 @@

@@ -77,7 +77,7 @@ 'use strict';

if (options.rulesdir != null) {
// The "rulesdir" option has been deprecated. Use "rulesPaths".
// The "rulesdir" option has been deprecated. Use "rulePaths".
if (typeof options.rulesdir === 'string') {
options.rulesPaths = [options.rulesdir];
options.rulePaths = [options.rulesdir];
} else {
options.rulesPaths = options.rulesdir;
options.rulePaths = options.rulesdir;
}

@@ -84,0 +84,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc