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

New `max-lines-per-function` rule #9842

Closed
isiahmeadows opened this Issue Jan 12, 2018 · 32 comments

Comments

Projects
None yet
8 participants
@isiahmeadows

isiahmeadows commented Jan 12, 2018

Please describe what the rule should do: It should allow a configurable limit of the max number of lines per function, much like how max-statements limits the number of statements. Also, there should be an "ignoreComments" boolean option, on by default, that skips comments when counting method length.

What category of rule is this? (place an "X" next to just one item)

[x] Enforces code style
[ ] Warns about a potential error
[ ] Suggests an alternate way of doing something
[ ] Other (please specify:)

Provide 2-3 code examples that this rule will warn about:

// eslint max-lines-per-function: ["error", 1]
// Good
function foo() { return 1 }
const bar = () => 2

// Bad
function foo() {
    return 1
}
const bar = () =>
    2

// eslint max-lines-per-function: ["error", 5, {ignoreComments: false}]
// Good
function foo() {
    // This is a multi-line
    // comment.
    doSomething();
}

// Bad
function foo() {
    // This is a multi-line
    // comment.
    doSomething();
    doSomethingElse();
}

function foo() {
    // This is a multi-line
    // comment that takes
    // three lines.
    doSomething();
}

// eslint max-lines-per-function: ["error", 3, {ignoreComments: true}]
// Good
function foo() {
    // This is a multi-line
    // comment.
    doSomething();
}

// Bad
function foo() {
    // This is a multi-line
    // comment.
    doSomething();
    doSomethingElse();
}

function foo() {
    doSomething();
    doSomethingElse();
}

Why should this rule be included in ESLint (instead of a plugin)?

It is a simple, basic rule similar to what already exists, and is a natural extension of a few of them. It's also very widely generic, and although it could replace max-statements in some uses, it checks a different metric. It also does not conflict with any other rules, and it's pretty much independent from everything short of the language itself.

Other linters and style guides in various languages already do similar:

This is the original bug I filed

It should basically allow a configurable limit of the max number of lines per function, much like how max-statements limits the number of statements. This has precedent: Google's JS style guide (by proxy of their C++ style guide), recommends 40 lines or fewer per function. Also, to draw another language's style guide, the Linux Kernel recommends 48 lines or fewer.

@eslint eslint bot added the triage label Jan 12, 2018

@eslint

This comment has been minimized.

Contributor

eslint bot commented Jan 12, 2018

Hi @isiahmeadows, thanks for the issue. It looks like there's not enough information for us to know how to help you.

If you're reporting a bug, please be sure to include:

  1. The version of ESLint you are using (run eslint -v)
  2. What you did (the source code and ESLint configuration)
  3. The actual ESLint output complete with numbers
  4. What you expected to happen instead

Requesting a new rule? Please see Proposing a New Rule for instructions.

Requesting a rule change? Please see Proposing a Rule Change for instructions.

If it's something else, please just provide as much additional information as possible. Thanks!

@not-an-aardvark

This comment has been minimized.

Member

not-an-aardvark commented Mar 5, 2018

Closing because not enough information was provided to triage this issue.

@isiahmeadows

This comment has been minimized.

isiahmeadows commented Mar 5, 2018

@not-an-aardvark What other information is needed?

@platinumazure

This comment has been minimized.

Member

platinumazure commented Mar 5, 2018

Hi @isiahmeadows, it would really help us to have the information requested in this set of guidelines: Proposing a New Rule. Thanks!

@isiahmeadows

This comment has been minimized.

isiahmeadows commented Mar 8, 2018

@platinumazure I updated the original bug to include all that info.

@platinumazure

This comment has been minimized.

Member

platinumazure commented Mar 8, 2018

@isiahmeadows Thank you! I'll go ahead and reopen this issue.

@platinumazure

This comment has been minimized.

Member

platinumazure commented Apr 5, 2018

@isiahmeadows Very sorry for the long delay on this. Just wanted to ask, why is max-statements not sufficient for this sort of thing? (I realize that the counting is different-- statements vs lines-- but I'm asking why it's insufficient, not why it's different.)

I think I can probably get behind this, but I want to make sure there's a compelling case for implementing a line-based rule here when we should already have one for statements.

@isiahmeadows

This comment has been minimized.

isiahmeadows commented Apr 6, 2018

@platinumazure Some expressions (think: long method chains, JSX/hyperscript trees, functional pipelines) could take several lines, and max-statements would see only a few statements.

For a concrete example, in this method:

  • max-statements would see exactly one statement, even though it's 25 lines long.
  • max-depth would see no nested blocks, so it wouldn't be a limiting factor here, either.
  • max-nested-callbacks would see a depth of at most 3, which is much lower than what most care about (default is 10, but I keep it at 4 for my personal projects).
  • complexity is 1, so it has little-to-no use here.

Another concrete example, this method:

  • max-statements would only see two statements, even though it's 36 lines long (a large method by any standard).
  • max-depth would see a depth of at most 1 - there's no blocks, just calls and function expressions.
  • max-nested-callbacks would see a depth of at most 3.
  • The only rule that would have much of an effect limiting it would be complexity, which would rate the outermost at 7, the .map callback at 3, and the rest at 1 (default is 10).

So there's uses for it, just in the more pathological cases. (Of course, most code doesn't have this issue.)

@platinumazure

This comment has been minimized.

Member

platinumazure commented Apr 6, 2018

Alright, thanks, I'm sold. TBH I'm not going to push hard for this with the team right now since we're doing major release candidates, but I'll champion this after we finish that off. (That's a promise but real life does get in the way- feel free to ping me if you think I might need a reminder. Thanks!)

peteward44 added a commit to peteward44/eslint that referenced this issue Apr 18, 2018

peteward44 added a commit to peteward44/eslint that referenced this issue Apr 25, 2018

peteward44 added a commit to peteward44/eslint that referenced this issue May 4, 2018

@platinumazure platinumazure self-assigned this May 29, 2018

@platinumazure

This comment has been minimized.

Member

platinumazure commented May 29, 2018

As promised, I'll champion this.

@platinumazure

This comment has been minimized.

Member

platinumazure commented Jun 9, 2018

@eslint/eslint-team Could we get two more 👍s on this? This seems like a worthwhile addition since it complements other "max" rules which enforce readability.

peteward44 added a commit to peteward44/eslint that referenced this issue Jun 13, 2018

@mysticatea

This comment has been minimized.

Member

mysticatea commented Jun 14, 2018

How does it behave in the following case?

function foo(
    aaa = 1,
    bbb = 2,
    ccc = 3,
) {
    return aaa + bbb + ccc
}

I guess that the rule handles function head and body separately.

@peteward44

This comment has been minimized.

Contributor

peteward44 commented Jun 14, 2018

In your example it will report 7 lines (it includes the head). The rule listens to the FunctionDeclaration node in the AS tree.

@platinumazure

This comment has been minimized.

Member

platinumazure commented Jun 14, 2018

Seems to me like we could start with one approach or the other, and then enhance the rule to support the other use case later if needed. 😄

@ljharb

This comment has been minimized.

Contributor

ljharb commented Jun 16, 2018

The rule is “per function”, and i suspect the intent - and only thing that makes sense to me - is that every function is considered entirely on its own. How nested a function is doesn’t make it more or less OK to have a certain number of lines, and shouldn’t change the allowed amount.

@peteward44

This comment has been minimized.

Contributor

peteward44 commented Jun 16, 2018

I've added an ignoreIIFEs option. It defaults to true; as I figure anyone who doesn't use them won't care; and anyone who does use them will almost certainly not want max-lines-per-function to count the lines in them.

@ljharb

This comment has been minimized.

Contributor

ljharb commented Jun 17, 2018

Having boolean options that don't default to false is super weird; although I'd prefer ignoreIIFEs to default to false, if you want the default to be "ignore IIFEs", then can we pick an option name that makes sense when defaulting to false?

@platinumazure

This comment has been minimized.

Member

platinumazure commented Jun 17, 2018

I think @ljharb is suggesting that it might be better to have an "opt in" option name such as enforceForIIFEs. I kind of agree.

@ljharb

This comment has been minimized.

Contributor

ljharb commented Jun 17, 2018

Yes - basically that for any boolean option, absence and false should be the same, for maximum clarity.

@peteward44

This comment has been minimized.

Contributor

peteward44 commented Jun 17, 2018

OK i've updated the PR with all the feedback so far. Thanks all. As far as whether IIFEs should be included by default or not i'll go with whatever you guys want; but i agree with @not-an-aardvark that it would cause usability issues, and i'm of the opinion that default values should generally be the most user-friendly possible 🤷‍♂️

@ljharb

This comment has been minimized.

Contributor

ljharb commented Jun 17, 2018

My opinion is that defaults should be as restrictive as possible as well, so users are loosening them with intention.

@platinumazure platinumazure added accepted and removed evaluating labels Jun 19, 2018

@platinumazure

This comment has been minimized.

Member

platinumazure commented Jun 19, 2018

Now that we have a champion and three 👍 from the team, this is accepted.

ntwb added a commit to stylelint/eslint-config-stylelint that referenced this issue Jun 23, 2018

Update eslint to the latest version 🚀 (#48)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

ntwb added a commit to stylelint/stylelint-demo that referenced this issue Jun 23, 2018

Update eslint to the latest version 🚀 (#102)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

ntwb added a commit to stylelint/stylelint that referenced this issue Jun 23, 2018

Update eslint to the latest version 🚀 (#3418)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

ntwb added a commit to stylelint/stylelint-config-recommended that referenced this issue Jun 23, 2018

Update eslint to the latest version 🚀 (#27)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

ntwb added a commit to stylelint/stylelint-config-standard that referenced this issue Jun 23, 2018

Update eslint to the latest version 🚀 (#112)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

mkody added a commit to sugrocks/cn-schedule that referenced this issue Jun 23, 2018

Update eslint to the latest version 🚀 (#256)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

bors bot added a commit to IMA-WorldHealth/Tree that referenced this issue Jun 23, 2018

Merge #5
5: Update eslint to the latest version 🚀 r=jniles a=greenkeeper[bot]


## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>

bors bot added a commit to IMA-WorldHealth/bhima-2.X that referenced this issue Jun 23, 2018

Merge #2921
2921: Update eslint to the latest version 🚀 r=jniles a=greenkeeper[bot]


## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>

bors bot added a commit to IMA-WorldHealth/topic that referenced this issue Jun 23, 2018

Merge #5
5: Update eslint to the latest version 🚀 r=jniles a=greenkeeper[bot]


## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>

bors bot added a commit to IMA-WorldHealth/bhima-2.X that referenced this issue Jun 23, 2018

Merge #2921
2921: Update eslint to the latest version 🚀 r=jniles a=greenkeeper[bot]


## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>

posva added a commit to posva/eslint-config-posva that referenced this issue Jun 24, 2018

Update eslint to the latest version 🚀 (#6)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="eslint/eslint#10432" href="https://urls.greenkeeper.io/eslint/eslint/issues/10432">#10432</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331502212" data-permission-text="Issue title is private" data-url="eslint/eslint#10468" href="https://urls.greenkeeper.io/eslint/eslint/pull/10468">#10468</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><tt>d477c5e</tt></a> Fix: check destructuring for "no-shadow-restricted-names" (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331446399" data-permission-text="Issue title is private" data-url="eslint/eslint#10467" href="https://urls.greenkeeper.io/eslint/eslint/issues/10467">#10467</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331523772" data-permission-text="Issue title is private" data-url="eslint/eslint#10470" href="https://urls.greenkeeper.io/eslint/eslint/pull/10470">#10470</a>) (Pig Fang)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><tt>7a7580b</tt></a> Update: Add considerPropertyDescriptor option to func-name-matching (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="248240782" data-permission-text="Issue title is private" data-url="eslint/eslint#9078" href="https://urls.greenkeeper.io/eslint/eslint/pull/9078">#9078</a>) (Dieter Luypaert)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><tt>e0a0418</tt></a> Fix: crash on optional catch binding (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328393696" data-permission-text="Issue title is private" data-url="eslint/eslint#10429" href="https://urls.greenkeeper.io/eslint/eslint/pull/10429">#10429</a>) (Toru Nagashima)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><tt>de4dba9</tt></a> Docs: styling team members (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330932041" data-permission-text="Issue title is private" data-url="eslint/eslint#10460" href="https://urls.greenkeeper.io/eslint/eslint/pull/10460">#10460</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><tt>5e453a3</tt></a> Docs: display team members in tables. (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328617151" data-permission-text="Issue title is private" data-url="eslint/eslint#10433" href="https://urls.greenkeeper.io/eslint/eslint/pull/10433">#10433</a>) (薛定谔的猫)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><tt>b1895eb</tt></a> Docs: Restore intentional spelling mistake (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330914393" data-permission-text="Issue title is private" data-url="eslint/eslint#10459" href="https://urls.greenkeeper.io/eslint/eslint/pull/10459">#10459</a>) (Wilfred Hughes)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 148 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f"><code>36ced0a</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5fd56329e423b614c5fd3ad7bd12ca41bb59dcbb"><code>5fd5632</code></a> <code>Build: changelog update for 5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><code>0feedfd</code></a> <code>New: Added max-lines-per-function rule (fixes #9842) (#10188)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><code>daefbdb</code></a> <code>Upgrade: eslint-scope and espree to 4.0.0 (refs #10458) (#10500)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><code>077358b</code></a> <code>Docs: no-process-exit: recommend process.exitCode (#10478)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><code>f93d6ff</code></a> <code>Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><code>05343fd</code></a> <code>Fix: add parens for yield statement (fixes #10432) (#10468)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/d477c5e684b52b307e56ef92714e66b32bc0db5a"><code>d477c5e</code></a> <code>Fix: check destructuring for "no-shadow-restricted-names" (fixes #10467) (#10470)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/7a7580b860e5d2ea38f9b1ec6860ea6f3c744d42"><code>7a7580b</code></a> <code>Update: Add considerPropertyDescriptor option to func-name-matching (#9078)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/e0a0418fef214e0c548d2ddb02e98182e625f93a"><code>e0a0418</code></a> <code>Fix: crash on optional catch binding (#10429)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/de4dba963963d4fed27dc770e52c2d23fd0542d9"><code>de4dba9</code></a> <code>Docs: styling team members (#10460)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/5e453a3cd5da7a14116e2d10ae08e3b0bafbe860"><code>5e453a3</code></a> <code>Docs: display team members in tables. (#10433)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/b1895eb5a7d9622598804acc28480abeb6c0ba64"><code>b1895eb</code></a> <code>Docs: Restore intentional spelling mistake (#10459)</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/a9da57d56b13b47de89d00b8cbd616523d0ea9af"><code>a9da57d</code></a> <code>5.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/eslint/eslint/commit/3ac3df665175fc5009441e874e30ebec792ad8f2"><code>3ac3df6</code></a> <code>Build: changelog update for 5.0.0-rc.0</code></li>
</ul>
<p>There are 148 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/eslint/eslint/compare/f1f1bdfffe0c2675e42cb6ad58145d40a6870135...36ced0afca1bc0e1cbbc13cbeaacf9e7cf00841f">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

rohmanhm added a commit to rohmanhm/nullfined that referenced this issue Jun 26, 2018

Update eslint to the latest version 🚀 (#37)
## Version **5.0.0** of **[eslint](https://github.com/eslint/eslint)** was just published.

<table>
  <tr>
    <th align=left>
      Dependency
    </th>
    <td>
      <code>[eslint](https://github.com/eslint/eslint)</code>
    </td>
  </tr>
  <tr>
      <th align=left>
       Current Version
      </th>
      <td>
        4.19.1
      </td>
    </tr>
  <tr>
    <th align=left>
      Type
    </th>
    <td>
      devDependency
    </td>
  </tr>
</table>



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.


---


<details>
<summary>Release Notes</summary>
<strong>v5.0.0</strong>

<p><a href="https://eslint.org/blog/2018/06/eslint-v5.0.0-released" rel="nofollow">Release blogpost</a></p>
<p><a href="https://eslint.org/docs/user-guide/migrating-to-5.0.0" rel="nofollow">Migration guide</a></p>
<ul>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/0feedfdb267e110775f0a50dd5bc801c77260ae5"><tt>0feedfd</tt></a> New: Added max-lines-per-function rule (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="288189487" data-permission-text="Issue title is private" data-url="eslint/eslint#9842" href="https://urls.greenkeeper.io/eslint/eslint/issues/9842">#9842</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="311720194" data-permission-text="Issue title is private" data-url="eslint/eslint#10188" href="https://urls.greenkeeper.io/eslint/eslint/pull/10188">#10188</a>) (peteward44)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/daefbdb6c802a3d78041aa6b1f8e99eb5bd83d39"><tt>daefbdb</tt></a> Upgrade: eslint-scope and espree to 4.0.0 (refs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="330902188" data-permission-text="Issue title is private" data-url="eslint/eslint#10458" href="https://urls.greenkeeper.io/eslint/eslint/issues/10458">#10458</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="334654166" data-permission-text="Issue title is private" data-url="eslint/eslint#10500" href="https://urls.greenkeeper.io/eslint/eslint/pull/10500">#10500</a>) (Brandon Mills)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/077358b6ec7d5dd0c531e6db6f217e10c1c791bb"><tt>077358b</tt></a> Docs: no-process-exit: recommend process.exitCode (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332422809" data-permission-text="Issue title is private" data-url="eslint/eslint#10478" href="https://urls.greenkeeper.io/eslint/eslint/pull/10478">#10478</a>) (Andres Kalle)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/f93d6ff53acd19b39dbc1c7d0e5ffa7d71c826db"><tt>f93d6ff</tt></a> Fix: do not fail on unknown operators from custom parsers (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="331977710" data-permission-text="Issue title is private" data-url="eslint/eslint#10475" href="https://urls.greenkeeper.io/eslint/eslint/issues/10475">#10475</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="332018684" data-permission-text="Issue title is private" data-url="eslint/eslint#10476" href="https://urls.greenkeeper.io/eslint/eslint/pull/10476">#10476</a>) (Rubén Norte)</li>
<li><a class="commit-link" href="https://urls.greenkeeper.io/eslint/eslint/commit/05343fdd1be4bc444209c45ec0341110444dbc83"><tt>05343fd</tt></a> Fix: add parens for yield statement (fixes <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="328600597" data-permission-text="Issue title is private" data-url="