Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Releases: babel/babel-eslint

v10.1.0

19 Mar 14:13
Compare
Choose a tag to compare
  • Added ability to parse Flow enums #812 (@gkz)

v10.0.3

25 Aug 21:24
Compare
Choose a tag to compare

Fixes #791, also eslint/eslint#12117

Some context: #793 (comment)

We ended up going with @JLHwung's PR #794 which uses ESLint's deps instead of going with peerDeps since it really depends on the version being used and we don't want users to have to install it directly on their own.

babel-eslint is patching patches of the dependencies of ESLint itself so these kinds of issues have happened in the past. We'll need to look into figuring out how to have a more solid way of modifying behavior instead of this monkeypatching type of thing for future releases.

v10.0.2

17 Jun 13:46
Compare
Choose a tag to compare

Fixes #772

v11.0.0-beta.0

21 Jan 21:33
Compare
Choose a tag to compare
v11.0.0-beta.0 Pre-release
Pre-release

v11.0.0-beta.0

Major version bump! Mostly #711 which requires that you have a Babel config file and babel-eslint will read from that to enable the correct syntax.

  • #711 Use @babel/core#parse
  • #743 Add requireConfigFile option
  • #736 Remove comment attachment
  • #733 Major: remove parseNoPatch

v10.0.1

27 Sep 14:31
Compare
Choose a tag to compare

v10.0.1

The TypeAlias "conversion" to a function has issues. Sounds like we need to rethink the change, most likely we can just actually change the scoping rather than hardcode an AST change.

v10.0.0

25 Sep 19:37
Compare
Choose a tag to compare

v10.0.0

Small breaking change: add a peerDependency starting from the ESLint version that added a parser feature that we were monkeypatching before (and drop that code). If already using ESLint 5 shouldn't be any different.

  • Bugfix for TypeAlias: #584
/* @flow */
type Node<T> = { head: T; tail: Node<T> }

// or 

type File = {chunks: Array<Chunk>}
type Chunk = {file: File}
  • Update to test against ESLint 5, add a peerDependency: #689
  • Drop monkeypatching behavior: #690

v9.0.0

28 Aug 11:06
Compare
Choose a tag to compare

v9.0.0

We've released v7: https://twitter.com/left_pad/status/1034204330352500736, so this just updates babel-eslint to use those versions internally. That in itself doesn't break anything but:

  • Babel now supports the new decorators proposal by default, so we need to switch between the new and the old proposal. This is a breaking change.

To enable the legacy decorators proposal users should add a specific parser option:

{
  parserOptions: {
    ecmaFeatures: {
      legacyDecorators: true
    }
  }
}
  • Babel removed the support for Node 4 , so I propagated that here.

v8.1.0

24 Dec 07:10
893a5e3
Compare
Choose a tag to compare

Use ESLint's API to customize scope analysis and avoid monkeypatching: #542

v8.0.1

26 Sep 20:19
Compare
Choose a tag to compare

v8.0.1

Handle optionalCatchBinding: #521

v8.0.0

12 Sep 13:46
Compare
Choose a tag to compare

8.0.0

No major changes, just updating babel deps to v7