Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-babel

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-babel - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

rules/flow-object-type.js

2

index.js

@@ -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,
}
};

2

package.json
{
"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 @@ /* 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc