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

Releases: babel/eslint-plugin-babel

v5.3.0

15 Nov 15:15
d000e1c
Compare
Choose a tag to compare
  • Camelcase - support for optional chaining [#163] (thanks @villesau)

v5.2.0

06 Sep 15:50
802a99e
Compare
Choose a tag to compare
  • Test against modern node versions #157, thanks @amilajack!
  • Support optional calls in no-unused-expressions #158, thanks @lehni!
  • Add valid-typeof rule with support for BigInt #161

v5.1.0

20 Apr 13:55
e565670
Compare
Choose a tag to compare
  • Fixed a bug in the semi rule when the omitLastInOneLineBlock option is used with class properties (#144)
  • Sync'd new-cap tests with latest from ESLint to make sure there are no regressions
  • Updated eslint-plugin-composer to v0.3.0
  • Added support for do expressions to the no-unused-expressions rule, thanks @lyleunderwood (#131)

v5.0.0

31 Mar 12:44
Compare
Choose a tag to compare

v5.0.0

Thanks to @existentialism

  • Use eslint-rule-composer #138
  • New peerDependency on ESLint 4
  • Handle JSXFragment for quotes

v4.1.2

25 Jul 20:43
Compare
Choose a tag to compare

Bug Fix

babel/semi: doesn't fail when using for await (let something of {}). Includes class properties

v4.1.1

06 Mar 15:50
Compare
Choose a tag to compare

💀 Deprecate

  • Deprecate rule no-await-in-loop #123

Thanks to @daltones!

v4.1.0

27 Feb 20:01
Compare
Choose a tag to compare

New

  • babel/semi: Includes class properties (🛠 ) #121

Thanks to @aaronjensen

v4.0.0

17 Nov 21:47
Compare
Choose a tag to compare

Breaking Change

  • Drop node < 4 #113

New Feature

  • babel/no-invalid-this: doesn't fail when inside class properties #101
class A {
  a = this.b;
}

Deprecated Rules #115

Many rules are built-in now since ESLint supports es2017, etc

v3.3.0

21 Jun 20:26
Compare
Choose a tag to compare

New Feature

  • #64 Add func-params-comma-dangle rule @zertosh
  • babel/func-params-comma-dangle: Require or forbid trailing commas for function paramater lists. Behaves like, and takes the same options as, eslint's comma-dangle. (🛠 )
  • #62 Add auto-fix for arrow-parens @lemonmade

v3.2.0

07 Apr 22:27
Compare
Choose a tag to compare

New

  • babel/flow-object-type: Require a particular separator between properties in Flow object types.
    • Use the option semicolon to require semicolons (e.g. type Foo = { bar: number; baz: string }).
    • Use the option comma to require commas (e.g. type Foo = { bar: number, baz: string }).