Skip to content

Commit

Permalink
replace all HTTP protocols with HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Jan 5, 2018
1 parent b48a04a commit 8f7e966
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
11 changes: 4 additions & 7 deletions CHANGELOG.md
@@ -1,29 +1,26 @@
# Changelog

## 4.0.2

* Remove deprecated [`gulp-util`](https://github.com/gulpjs/gulp-util) dependency and use individual modules instead

## 4.0.1

* Make `fix` option work even if `quiet` option is also enabled
* Remove deprecated [`gulp-util`](https://github.com/gulpjs/gulp-util) dependency and use individual modules instead

## 4.0.0

* Drop support for linting [`Stream`](https://nodejs.org/api/stream.html#stream_stream) [contents](https://github.com/gulpjs/vinyl#optionscontents)
* Because almost all, at least widely used tools to handle JavaScript files don't support `Streams`. They only support either `String` or `Buffer`.
* Use [`Buffer.from(<string>)`](https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_string_encoding) instead of the deprecated [`new Buffer(<string>)`](https://nodejs.org/dist/latest-v8.x/docs/api/buffer.html#buffer_new_buffer_string_encoding)
* Note that `Buffer.from` is only available on Node.js >= [4.5.0](https://nodejs.org/en/blog/release/v4.5.0/).
* Bump [`eslint`](https://github.com/eslint/eslint) dependency to [`^4.0.0`](http://eslint.org/blog/2017/06/eslint-v4.0.0-released)
* Emit a [`PluginError`](https://github.com/gulpjs/gulp-util#new-pluginerrorpluginname-message-options) when it fails to load an [ESLint plugin](http://eslint.org/docs/user-guide/configuring#configuring-plugins)
* Bump [`eslint`](https://github.com/eslint/eslint) dependency to [`^4.0.0`](https://eslint.org/blog/2017/06/eslint-v4.0.0-released)
* Emit a [`PluginError`](https://github.com/gulpjs/gulp-util#new-pluginerrorpluginname-message-options) when it fails to load an [ESLint plugin](https://eslint.org/docs/user-guide/configuring#configuring-plugins)

## 3.0.1

* Remove unnecessary `object-assign` dependency

## 3.0.0

* Bump eslint dependency to ^3.0.0 <http://eslint.org/blog/2016/07/eslint-v3.0.0-released>
* Bump eslint dependency to ^3.0.0 <https://eslint.org/blog/2016/07/eslint-v3.0.0-released>
* Use ES2015 syntax
* Remove these deprecated option aliases:
* `global`
Expand Down
20 changes: 10 additions & 10 deletions README.md
@@ -1,6 +1,6 @@
# 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)

> A [gulp](http://gulpjs.com/) plugin for [ESLint](http://eslint.org/).
> A [gulp](https://gulpjs.com/) plugin for [ESLint](https://eslint.org/).
## Installation

Expand Down Expand Up @@ -67,13 +67,13 @@ For additional examples, look through the [example directory](https://github.com
*No explicit configuration.* A `.eslintrc` file may be resolved relative to each linted file.

### eslint(options)
See [ESlint CLIEngine options](http://eslint.org/docs/developer-guide/nodejs-api#cliengine).
See [ESlint CLIEngine options](https://eslint.org/docs/developer-guide/nodejs-api#cliengine).

#### options.rules

Type: `Object`

Set [configuration](http://eslint.org/docs/user-guide/configuring#configuring-rules) of [rules](http://eslint.org/docs/rules/).
Set [configuration](https://eslint.org/docs/user-guide/configuring#configuring-rules) of [rules](https://eslint.org/docs/rules/).

```javascript
{
Expand Down Expand Up @@ -104,15 +104,15 @@ Specify global variables to declare.

Type: `Boolean`

This option instructs ESLint to try to fix as many issues as possible. The fixes are applied to the gulp stream. The fixed content can be saved to file using `gulp.dest` (See [example/fix.js](https://github.com/adametry/gulp-eslint/blob/master/example/fix.js)). Rules that are fixable can be found in ESLint's [rules list](http://eslint.org/docs/rules/).
This option instructs ESLint to try to fix as many issues as possible. The fixes are applied to the gulp stream. The fixed content can be saved to file using `gulp.dest` (See [example/fix.js](https://github.com/adametry/gulp-eslint/blob/master/example/fix.js)). Rules that are fixable can be found in ESLint's [rules list](https://eslint.org/docs/rules/).

When fixes are applied, a "fixed" property is set to `true` on the fixed file's ESLint result.

#### options.quiet

Type: `Boolean`

When `true`, this option will filter warning messages from ESLint results. This mimics the ESLint CLI [quiet option](http://eslint.org/docs/user-guide/command-line-interface#quiet).
When `true`, this option will filter warning messages from ESLint results. This mimics the ESLint CLI [quiet option](https://eslint.org/docs/user-guide/command-line-interface#quiet).

Type: `function (message, index, list) { return Boolean(); }`

Expand All @@ -122,19 +122,19 @@ When provided a function, it will be used to filter ESLint result messages, remo

Type: `Array`

Specify a list of [environments](http://eslint.org/docs/user-guide/configuring#specifying-environments) to be applied.
Specify a list of [environments](https://eslint.org/docs/user-guide/configuring#specifying-environments) to be applied.

#### options.rulePaths

Type: `Array`

This option allows you to specify additional directories from which to load rules files. This is useful when you have custom rules that aren't suitable for being bundled with ESLint. This option works much like the ESLint CLI's [rulesdir option](http://eslint.org/docs/user-guide/command-line-interface#rulesdir).
This option allows you to specify additional directories from which to load rules files. This is useful when you have custom rules that aren't suitable for being bundled with ESLint. This option works much like the ESLint CLI's [rulesdir option](https://eslint.org/docs/user-guide/command-line-interface#rulesdir).

#### options.configFile

Type: `String`

Path to the ESLint rules configuration file. For more information, see the ESLint CLI [config option](http://eslint.org/docs/user-guide/command-line-interface#c-config) and [Using Configuration Files](http://eslint.org/docs/user-guide/configuring#using-configuration-files).
Path to the ESLint rules configuration file. For more information, see the ESLint CLI [config option](https://eslint.org/docs/user-guide/command-line-interface#c-config) and [Using Configuration Files](https://eslint.org/docs/user-guide/configuring#using-configuration-files).

#### options.warnFileIgnored

Expand All @@ -146,7 +146,7 @@ When `true`, add a result warning when ESLint ignores a file. This can be used t

Type: `Boolean`

When `false`, ESLint will not load [.eslintrc files](http://eslint.org/docs/user-guide/configuring#using-configuration-files).
When `false`, ESLint will not load [.eslintrc files](https://eslint.org/docs/user-guide/configuring#using-configuration-files).

### eslint(configFilePath)

Expand Down Expand Up @@ -265,7 +265,7 @@ ESLint may be configured explicity by using any of the following plugin options:

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.

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.
ESLint will also detect an `.eslintignore` file at the cwd or a parent directory. See the [ESLint docs](https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories) to learn how to construct this file.

## Extensions

Expand Down
2 changes: 1 addition & 1 deletion example/format.js
Expand Up @@ -13,7 +13,7 @@ gulp.task('eslint-formatter', () => {
// use eslint's default formatter by default
.pipe(eslint.format())
// Name a built-in formatter or path load.
// http://eslint.org/docs/user-guide/command-line-interface#f-format
// https://eslint.org/docs/user-guide/command-line-interface#-f---format
.pipe(eslint.format('compact'));
});

Expand Down

0 comments on commit 8f7e966

Please sign in to comment.