This repository has been archived by the owner on Aug 4, 2020. It is now read-only.
Releases: babel/eslint-plugin-babel
Releases · babel/eslint-plugin-babel
v5.3.0
v5.2.0
v5.1.0
- 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
v4.1.2
v4.1.1
v4.1.0
v4.0.0
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
babel/generator-star-spacing
: Usegenerator-star-spacing
.babel/object-shorthand
: Useobject-shorthand
.babel/arrow-parens
: Usearrow-parens
.babel/func-params-comma-dangle
: Usecomma-dangle
.babel/array-bracket-spacing
: Usearray-bracket-spacing
.babel/flow-object-type
: Useflowtype/object-type-delimiter
.
v3.3.0
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
'scomma-dangle
. (🛠 )- #62 Add auto-fix for
arrow-parens
@lemonmade
v3.2.0
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 }
).
- Use the option