Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update dependency eslint to version 3.14.0 #63

Merged
merged 1 commit into from
Jan 22, 2017
Merged

Conversation

keylocation-bot
Copy link
Contributor

This Pull Request updates dependency eslint from version 3.13.1 to 3.14.0

Changelog

3.14.0 / 2017-01-20
===================

  • 3.14.0
  • Build: package.json and changelog update for 3.14.0
  • Fix: `no-var` does not fix if causes ReferenceError (fixes #7950) (#7953)
  • New: no-chained-assignments rule (fixes #6424) (#7904)
  • Update: Add fixer for no-else-return (fixes #7863) (#7864)
  • New: `prefer-promise-reject-errors` rule (fixes #7685) (#7689)
  • Fix: recognize all line terminators in func-call-spacing (fixes #7923) (#7924)
  • Update: add ignoreJSX option to no-extra-parens (Fixes #7444) (#7926)
  • Fix: no-useless-computed-key false positive with `proto` (#7934)
  • Docs: remove reference to deleted rule (#7942)
    `space-after-keywords` appears as deleted in the docs and it's confusing to reference it.
  • Docs: Improve examples for no-case-declarations (fixes #6716) (#7920)
  • Fix: Ignore inline plugin rule config in autoconfig (fixes #7860) (#7919)
  • Fix: add parentheses in no-extra-boolean-cast autofixer (fixes #7912) (#7914)
  • Fix: brace-style crash with lone block statements (fixes #7908) (#7909)
  • Docs: Correct typos in configuring.md (#7916)
    In the eqeqeq example, the word `warning` was used
    instead of `warn`
  • Update: ensure brace-style validates class bodies (fixes #7608) (#7871)
  • Fix: catastrophic backtracking in astUtils linebreak regex (fixes #7893) (#7898)
    • Fix: catastrophic backtracking in astUtils linebreak regex (fixes #7893)
      This fixes an issue where `astUtils.getLocationFromRangeIndex` and `astUtils.getRangeIndexFromLocation` were using a regular expression susceptible to catastrophic backtracking. The match would take quadratic time in the length of the last line of the file. Since the file in no-multiple-empty-lines performance issue (hang?) eslint/eslint#7893 contains a 1.5 million character source map URL on the last line, rules like `no-multiple-empty-lines` would hang when using ast-utils to split the file into lines.
      This issue only applies to files without trailing newlines, and is only noticable when the last line of the file contains more than 30000 characters or so. Since only a few rules use these `astUtils` functions, this would only appear when either `no-useless-escape` or `no-multiple-empty-lines` reports an error for the file.
      Simplified example: Node 7.4.0 hangs when evaluating this expression.
      ```js
      /[^\n]*\n/.test('A'.repeat(1000000))
      ```
    • Add explanatory comments
  • Fix: Correct typos in no-alert.md and lib/ast-utils.js (#7905)
  • Chore: Enable comma-dangle on ESLint codebase (fixes #7725) (#7906)
  • Chore: update to use ES6 classes (refs #7849) (#7891)
    • Chore: update to ES6 classes (refs #7849)
    • Chore: refactor ruleFixer to be plain object (refs #7849)
    • Chore: make suggested changes (refs #7849)
  • Update: refactor brace-style and fix inconsistencies (fixes #7869) (#7870)

@codecov-io
Copy link

codecov-io commented Jan 20, 2017

Current coverage is 97.35% (diff: 100%)

Merging #63 into master will not change coverage

@@             master        #63   diff @@
==========================================
  Files             9          9          
  Lines           227        227          
  Methods          23         23          
  Messages          0          0          
  Branches         38         38          
==========================================
  Hits            221        221          
  Misses            6          6          
  Partials          0          0          

Powered by Codecov. Last update 5e9060f...cf6ad7d

@rarkins rarkins merged commit 846ee56 into master Jan 22, 2017
@rarkins rarkins deleted the renovate/eslint-3.x branch January 22, 2017 13:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.