eslint-plugin-babel
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -12,2 +12,3 @@ 'use strict'; | ||
'no-await-in-loop': require('./rules/no-await-in-loop'), | ||
'flow-object-type': require('./rules/flow-object-type'), | ||
}, | ||
@@ -22,3 +23,4 @@ rulesConfig: { | ||
'no-await-in-loop': 0, | ||
'flow-object-type': 0, | ||
} | ||
}; |
{ | ||
"name": "eslint-plugin-babel", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "an eslint rule plugin companion to babel-eslint", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,3 +35,4 @@ # eslint-plugin-babel | ||
"babel/arrow-parens": 1, | ||
"babel/no-await-in-loop": 1 | ||
"babel/no-await-in-loop": 1, | ||
"babel/flow-object-type": 1 | ||
} | ||
@@ -50,2 +51,9 @@ } | ||
- `babel/arrow-parens`: Handles async functions correctly | ||
The following rules are not in `eslint`, but are relevant only to syntax that is not specified by | ||
the current JavaScript standard or supported by `eslint`. | ||
- `babel/no-await-in-loop`: guard against awaiting async functions inside of a loop | ||
- `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 }`). |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /* eslint-disable */ |
@@ -0,0 +0,0 @@ /* eslint-disable */ |
@@ -0,0 +0,0 @@ /* eslint-disable */ |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /* eslint-disable */ |
@@ -0,0 +0,0 @@ /* eslint-disable */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22
4176
58
163470