This commit is contained in:
jquense 2015-11-23 19:16:41 -05:00
parent dd8f357639
commit fcdf7ec95d
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,8 @@ original ones as well!).
"babel/new-cap": 1, "babel/new-cap": 1,
"babel/object-curly-spacing": 1, "babel/object-curly-spacing": 1,
"babel/object-shorthand": 1, "babel/object-shorthand": 1,
"babel/arrow-parens": 1 "babel/arrow-parens": 1,
"babel/no-await-in-loop": 1
} }
} }
``` ```
@ -41,3 +42,4 @@ Each rule corresponds to a core `eslint` rule, and has the same options.
- `babel/object-curly-spacing`: doesn't complain about `export x from "mod";` or `export * as x from "mod";` - `babel/object-curly-spacing`: doesn't complain about `export x from "mod";` or `export * as x from "mod";`
- `babel/object-shorthand`: doesn't fail when using object spread (`...obj`) - `babel/object-shorthand`: doesn't fail when using object spread (`...obj`)
- `babel/arrow-parens`: Handles async functions correctly - `babel/arrow-parens`: Handles async functions correctly
- `bael/no-await-in-loop`: guard against awaiting async functions inside of a loop

View File

@ -1,6 +1,6 @@
{ {
"name": "eslint-plugin-babel", "name": "eslint-plugin-babel",
"version": "2.1.1", "version": "2.2.0",
"description": "an eslint rule plugin companion to babel-eslint", "description": "an eslint rule plugin companion to babel-eslint",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {