Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint to the latest version 🚀 #125

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 23, 2018

Version 5.0.0 of eslint was just published.

Dependency [eslint](https://github.com/eslint/eslint)
Current Version 4.19.1
Type devDependency

The version 5.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of eslint.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v5.0.0

Release blogpost

Migration guide

  • 0feedfd New: Added max-lines-per-function rule (fixes #9842) (#10188) (peteward44)
  • daefbdb Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500) (Brandon Mills)
  • 077358b Docs: no-process-exit: recommend process.exitCode (#10478) (Andres Kalle)
  • f93d6ff Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476) (Rubén Norte)
  • 05343fd Fix: add parens for yield statement (fixes #10432) (#10468) (Pig Fang)
  • d477c5e Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470) (Pig Fang)
  • 7a7580b Update: Add considerPropertyDescriptor option to func-name-matching (#9078) (Dieter Luypaert)
  • e0a0418 Fix: crash on optional catch binding (#10429) (Toru Nagashima)
  • de4dba9 Docs: styling team members (#10460) (薛定谔的猫)
  • 5e453a3 Docs: display team members in tables. (#10433) (薛定谔的猫)
  • b1895eb Docs: Restore intentional spelling mistake (#10459) (Wilfred Hughes)
Commits

The new version differs by 148 commits.

  • 36ced0a 5.0.0
  • 5fd5632 Build: changelog update for 5.0.0
  • 0feedfd New: Added max-lines-per-function rule (fixes #9842) (#10188)
  • daefbdb Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)
  • 077358b Docs: no-process-exit: recommend process.exitCode (#10478)
  • f93d6ff Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)
  • 05343fd Fix: add parens for yield statement (fixes #10432) (#10468)
  • d477c5e Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)
  • 7a7580b Update: Add considerPropertyDescriptor option to func-name-matching (#9078)
  • e0a0418 Fix: crash on optional catch binding (#10429)
  • de4dba9 Docs: styling team members (#10460)
  • 5e453a3 Docs: display team members in tables. (#10433)
  • b1895eb Docs: Restore intentional spelling mistake (#10459)
  • a9da57d 5.0.0-rc.0
  • 3ac3df6 Build: changelog update for 5.0.0-rc.0

There are 148 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@SimenB
Copy link
Member

SimenB commented Jun 23, 2018

@thymikee @rickhanlonii excellent opportunity to make some breaking changes 🙂 I think dropping node 4 and using APIs introduced in later eslints (like https://eslint.org/docs/developer-guide/working-with-rules#messageids) makes sense. We can then set the peer dep to whatever minor of elsint 4 that was introduced.

But what about recommended rules. Thoughts on changing them?

@thymikee
Copy link
Member

+1. Which rules could we adjust/add to recommended? I'm cool with being quite strict on that, to enforce vest practices, like short snapshots for example

@rickhanlonii
Copy link
Contributor

I'd like to add a rule for "no test description" and add to recommended (from this comment)

@SimenB
Copy link
Member

SimenB commented Jun 23, 2018

yeah good idea.

"no skipped tests" already has that, should be easy enough to extract to its own rule

greenkeeper bot added a commit that referenced this pull request Jun 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 26, 2018

Version 5.0.1 just got published.

Update to this version instead 🚀

Release Notes v5.0.1
  • 196c102 Fix: valid-jsdoc should allow optional returns for async (fixes #10386) (#10480) (Mark Banner)
  • 4c823bd Docs: Fix max-lines-per-function correct code's max value (#10513) (Rhys Bower)
Commits

The new version differs by 4 commits.

  • caeb223 5.0.1
  • 125dc34 Build: changelog update for 5.0.1
  • 196c102 Fix: valid-jsdoc should allow optional returns for async (fixes #10386) (#10480)
  • 4c823bd Docs: Fix max-lines-per-function correct code's max value (#10513)

See the full diff

@macklinu
Copy link
Collaborator

macklinu commented Jul 9, 2018

Is there an ESLint v5 feature branch we can make PRs to? This is something I'm doing in eslint-plugin-promise with this v4 branch (v4 being the next major version of that plugin).

I think it'd be great to track what we'd like in a major version release that targets ESLint v5, as I'd be happy to open a PR for refactoring to messageIds, for example.

What are your thoughts/plans on coordinating multiple breaking changes in one go?

@SimenB
Copy link
Member

SimenB commented Jul 9, 2018

I just set up a branch called next - feel free to open up PRs to it! 🙂

@SimenB SimenB closed this Jul 17, 2018
@SimenB SimenB deleted the greenkeeper/eslint-5.0.0 branch August 29, 2018 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants