Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 1ed9dac

Browse files
committed
2.0.0
1 parent 3c1c296 commit 1ed9dac

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 2.0.0 - 2018-02-26
2+
3+
- 🚨 Drop [email protected] support (by @wonism in [#212](https://github.com/webpack-contrib/eslint-loader/pull/212))
4+
- 🚨 Drop Node 4 supported (by @wonism in [#212](https://github.com/webpack-contrib/eslint-loader/pull/212))
5+
- ✨ Add [email protected] support (by @wonism in [#212](https://github.com/webpack-contrib/eslint-loader/pull/212))
6+
- 🐛 Respect `eslintPath` for formatter (by @lmnsg in [#195](https://github.com/webpack-contrib/eslint-loader/pull/195))
7+
18
# 1.9.0 - 2017-07-06
29

310
- Added: `eslintPath` option so you can provide your own eslint path.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function printLinterOutput(res, config, webpack) {
120120
)
121121
}
122122

123-
emitter(webpack.version === 2 ? new ESLintError(messages) : messages)
123+
emitter(new ESLintError(messages))
124124
}
125125
else {
126126
throw new Error(

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-loader",
3-
"version": "1.9.0",
3+
"version": "2.0.0",
44
"description": "eslint loader (for webpack)",
55
"keywords": [
66
"lint",
@@ -16,7 +16,8 @@
1616
"index.js"
1717
],
1818
"peerDependencies": {
19-
"eslint": ">=1.6.0 <5.0.0"
19+
"eslint": ">=1.6.0 <5.0.0",
20+
"webpack": ">=2.0.0 <5.0.0"
2021
},
2122
"dependencies": {
2223
"loader-fs-cache": "^1.0.0",

test/utils/conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ module.exports = function conf(webpackConf, loaderConf) {
3838
}, loaderConf),
3939
}
4040

41-
// webpack v1 allows loader option to be added directly to the root webpack
42-
// config object
4341
// webpack v2 requires them to be added via the LoaderOptionsPlugin
4442
// webpack v4 needs mode option
4543
return assign(DEFAULT_CONFIG,

0 commit comments

Comments
 (0)