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 1.1.0 to 1.1.1

2

package.json
{
"name": "gulp-eslint",
"version": "1.1.0",
"version": "1.1.1",
"description": "A gulp plugin for processing files with ESLint",

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

@@ -260,3 +260,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)

The `output` argument may be a `WritableStream`, `Function`, or `undefined`. As a `WritableStream`, the formatter results will be written to the stream. If `undefined`, the formatter results will be written to [gulp’s log](https://github.com/wearefractal/gulp-util#logmsg). A `Function` will be called with the formatter results as the only parameter.
The `output` argument may be a `WritableStream`, `Function`, or `undefined`. As a `WritableStream`, the formatter results will be written to the stream. If `undefined`, the formatter results will be written to [gulp’s log](https://github.com/gulpjs/gulp-util#logmsg). A `Function` will be called with the formatter results as the only parameter.

@@ -284,3 +284,3 @@ ```javascript

ESLint will ignore files that do not have a `.js` file extension at the point of linting ([some plugins](https://github.com/wearefractal/gulp-coffee) may change file extensions mid-stream). This avoids unintentional linting of non-JavaScript files.
ESLint will ignore files that do not have a `.js` file extension at the point of linting ([some plugins](https://github.com/contra/gulp-coffee) may change file extensions mid-stream). This avoids unintentional linting of non-JavaScript files.

@@ -294,2 +294,2 @@ ESLint will also detect an `.eslintignore` file at the cwd or a parent directory. See the [ESLint docs](http://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories) to learn how to construct this file.

#### Gulp-Eslint Extensions:
* [gulp-eslint-threshold](https://github.com/krmbkt/gulp-eslint-threshold)
* [gulp-eslint-threshold](https://github.com/krmbkt/gulp-eslint-threshold)

@@ -64,2 +64,7 @@ 'use strict';

if (options.extends || options.ecmaFeatures) {
// nest options as baseConfig, since it's basically an .eslintrc config file
options.baseConfig = objectAssign(options.baseConfig || {}, options, {baseConfig: null});
}
options.globals = options.globals || options.global;

@@ -98,7 +103,2 @@ if (options.globals != null && !Array.isArray(options.globals)) {

if (options.extends || options.ecmaFeatures) {
// nest options as baseConfig, since it's basically an .eslintrc config file
options.baseConfig = objectAssign(options.baseConfig || {}, options, {baseConfig: null});
}
return options;

@@ -105,0 +105,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