Skip to content

Add ESLint 5 support#1122

Merged
ljharb merged 2 commits into
import-js:masterfrom
ai:patch-1
Jun 24, 2018
Merged

Add ESLint 5 support#1122
ljharb merged 2 commits into
import-js:masterfrom
ai:patch-1

Conversation

@ai
Copy link
Copy Markdown
Contributor

@ai ai commented Jun 23, 2018

I start to use ESLint 5 on my project with your plugin and didn’t find any problem with compatibility.

Copy link
Copy Markdown
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Please add eslint 5 to the tests here: https://github.com/benmosher/eslint-plugin-import/blob/master/.travis.yml#L10

Also, please make sure the devDep for eslint matches the peerDep.

The tests for eslint 5 in node 4 will likely fail; I’ll update this PR later today to handle that.

@ljharb ljharb mentioned this pull request Jun 23, 2018
21 tasks
@ai
Copy link
Copy Markdown
Contributor Author

ai commented Jun 23, 2018

@ljharb thanks for fast reply.

I updated devDependencies, added ESLint 5 to Travis CI, and exclude “ESLint 5 + Node.js 4” from tests matrix.

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 23, 2018

Coverage Status

Coverage remained the same at 97.271% when pulling 9db789b on ai:patch-1 into 59fc04e on benmosher:master.

@jaydenseric
Copy link
Copy Markdown

jaydenseric commented Jun 24, 2018

@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jun 24, 2018

We don't have to get rid of that just yet; deprecation warnings can be ignored. In the test, we can set the ecmaVersion to 2018.

@ai
Copy link
Copy Markdown
Contributor Author

ai commented Jun 24, 2018

I updated ecmaVersion and removed experimentalObjectRestSpread in these two places

@ljharb ljharb self-assigned this Jun 24, 2018
@ljharb ljharb merged commit 9db789b into import-js:master Jun 24, 2018
@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jun 24, 2018

Released in v2.13.0

(linking back to airbnb/javascript#1834)

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants