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

Updates to ESLint 2.0.0 - #81

Merged
MoOx merged 1 commit into
webpack-contrib:masterfrom
farneman:update-to-eslint-2
Feb 17, 2016
Merged

MoOx merged 1 commit into
webpack-contrib:masterfrom
farneman:update-to-eslint-2

Conversation

@farneman

Copy link
Copy Markdown
Contributor

Updates ESLint dependencies to 2.0.0 and fixes some related test failures.

This fixes #79

Comment thread package.json Outdated
],
"peerDependencies": {
"eslint": "^1.6.0"
"eslint": "^2.0.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is no major change in the API, maybe we can scope 1.6 AND 2.0 ?

@farneman
farneman force-pushed the update-to-eslint-2 branch 5 times, most recently from b13781e to f492690 Compare February 14, 2016 23:25
@farneman

Copy link
Copy Markdown
Contributor Author

I updated the version specification and took another look at the test. It turns out I misunderstood what was going on in the test. However, without change that test fails so I need to sort out why and fix it correctly.

@farneman

Copy link
Copy Markdown
Contributor Author

All tests are passing now. The skip ignored file warning conditional had to be updated due to a change at eslint/eslint@d43f26c#diff-3daec82d5218d64d8f2fed4d21f8e6ccR291.

Comment thread index.js Outdated
res.results[0].messages[0] &&
res.results[0].messages[0].message &&
res.results[0].messages[0].message.indexOf(".eslintignore") > -1 &&
res.results[0].messages[0].message.indexOf("ignore") > -1 &&

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you try "ignore", no need for "no-ignore"?

@farneman

Copy link
Copy Markdown
Contributor Author

I've reduced the to string checks to just one check for more than one occurrence of ignore.

Comment thread package.json Outdated
],
"peerDependencies": {
"eslint": "^1.6.0"
"eslint": ">=1.6.0 <2.1.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If api respect semver, should be <3.0.0 ?

@farneman

Copy link
Copy Markdown
Contributor Author

I updated the ESLint dependency scope.

@omichelsen

Copy link
Copy Markdown

👍

@alyssaq

alyssaq commented Feb 17, 2016

Copy link
Copy Markdown

👍 Waiting on this patch to merge to upgrade!

MoOx added a commit that referenced this pull request Feb 17, 2016
@MoOx
MoOx merged commit ec475eb into webpack-contrib:master Feb 17, 2016
@MoOx

MoOx commented Feb 17, 2016

Copy link
Copy Markdown
Contributor

Thanks!

@MoOx

MoOx commented Feb 17, 2016

Copy link
Copy Markdown
Contributor

Released as 1.3.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump peerDependencies to support ESLint 2.0.0

4 participants