You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,26 @@
1
1
# Changelog
2
2
3
-
## 4.0.2
4
-
5
-
* Remove deprecated [`gulp-util`](https://github.com/gulpjs/gulp-util) dependency and use individual modules instead
6
-
7
3
## 4.0.1
8
4
9
5
* Make `fix` option work even if `quiet` option is also enabled
6
+
* Remove deprecated [`gulp-util`](https://github.com/gulpjs/gulp-util) dependency and use individual modules instead
10
7
11
8
## 4.0.0
12
9
13
10
* Drop support for linting [`Stream`](https://nodejs.org/api/stream.html#stream_stream)[contents](https://github.com/gulpjs/vinyl#optionscontents)
14
11
* Because almost all, at least widely used tools to handle JavaScript files don't support `Streams`. They only support either `String` or `Buffer`.
15
12
* 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)
16
13
* Note that `Buffer.from` is only available on Node.js >= [4.5.0](https://nodejs.org/en/blog/release/v4.5.0/).
17
-
* Bump [`eslint`](https://github.com/eslint/eslint) dependency to [`^4.0.0`](http://eslint.org/blog/2017/06/eslint-v4.0.0-released)
18
-
* 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)
14
+
* Bump [`eslint`](https://github.com/eslint/eslint) dependency to [`^4.0.0`](https://eslint.org/blog/2017/06/eslint-v4.0.0-released)
15
+
* 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)
19
16
20
17
## 3.0.1
21
18
22
19
* Remove unnecessary `object-assign` dependency
23
20
24
21
## 3.0.0
25
22
26
-
* Bump eslint dependency to ^3.0.0 <http://eslint.org/blog/2016/07/eslint-v3.0.0-released>
23
+
* Bump eslint dependency to ^3.0.0 <https://eslint.org/blog/2016/07/eslint-v3.0.0-released>
> A [gulp](http://gulpjs.com/) plugin for [ESLint](http://eslint.org/).
3
+
> A [gulp](https://gulpjs.com/) plugin for [ESLint](https://eslint.org/).
4
4
5
5
## Installation
6
6
@@ -67,13 +67,13 @@ For additional examples, look through the [example directory](https://github.com
67
67
*No explicit configuration.* A `.eslintrc` file may be resolved relative to each linted file.
68
68
69
69
### eslint(options)
70
-
See [ESlint CLIEngine options](http://eslint.org/docs/developer-guide/nodejs-api#cliengine).
70
+
See [ESlint CLIEngine options](https://eslint.org/docs/developer-guide/nodejs-api#cliengine).
71
71
72
72
#### options.rules
73
73
74
74
Type: `Object`
75
75
76
-
Set [configuration](http://eslint.org/docs/user-guide/configuring#configuring-rules) of [rules](http://eslint.org/docs/rules/).
76
+
Set [configuration](https://eslint.org/docs/user-guide/configuring#configuring-rules) of [rules](https://eslint.org/docs/rules/).
77
77
78
78
```javascript
79
79
{
@@ -104,15 +104,15 @@ Specify global variables to declare.
104
104
105
105
Type: `Boolean`
106
106
107
-
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/).
107
+
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/).
108
108
109
109
When fixes are applied, a "fixed" property is set to `true` on the fixed file's ESLint result.
110
110
111
111
#### options.quiet
112
112
113
113
Type: `Boolean`
114
114
115
-
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).
115
+
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).
@@ -122,19 +122,19 @@ When provided a function, it will be used to filter ESLint result messages, remo
122
122
123
123
Type: `Array`
124
124
125
-
Specify a list of [environments](http://eslint.org/docs/user-guide/configuring#specifying-environments) to be applied.
125
+
Specify a list of [environments](https://eslint.org/docs/user-guide/configuring#specifying-environments) to be applied.
126
126
127
127
#### options.rulePaths
128
128
129
129
Type: `Array`
130
130
131
-
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).
131
+
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).
132
132
133
133
#### options.configFile
134
134
135
135
Type: `String`
136
136
137
-
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).
137
+
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).
138
138
139
139
#### options.warnFileIgnored
140
140
@@ -146,7 +146,7 @@ When `true`, add a result warning when ESLint ignores a file. This can be used t
146
146
147
147
Type: `Boolean`
148
148
149
-
When `false`, ESLint will not load [.eslintrc files](http://eslint.org/docs/user-guide/configuring#using-configuration-files).
149
+
When `false`, ESLint will not load [.eslintrc files](https://eslint.org/docs/user-guide/configuring#using-configuration-files).
150
150
151
151
### eslint(configFilePath)
152
152
@@ -265,7 +265,7 @@ ESLint may be configured explicity by using any of the following plugin options:
265
265
266
266
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.
267
267
268
-
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.
268
+
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.
0 commit comments