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

eslint-plugin-flow-vars

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-flow-vars - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

define-flow-type.js

@@ -43,6 +43,2 @@ 'use strict';

module.exports.schema = [{
type: 'object',
properties: {},
additionalProperties: false
}];
module.exports.schema = [];

2

package.json
{
"name": "eslint-plugin-flow-vars",
"version": "0.0.1",
"version": "0.0.2",
"description": "Solves the problem of false positives with `no-undef` and `no-unused-vars` when using babel-eslint",

@@ -5,0 +5,0 @@ "keywords": [

@@ -11,16 +11,6 @@ 'use strict';

DeclareFunction: markTypeAsUsed,
DeclareVariable: markTypeAsUsed,
TypeAlias: markTypeAsUsed,
TypeParameterDeclaration: function(node) {
for (var i = 0; i < node.params.length; i++) {
context.markVariableAsUsed(node.params[i].name);
}
}
DeclareVariable: markTypeAsUsed
};
};
module.exports.schema = [{
type: 'object',
properties: {},
additionalProperties: false
}];
module.exports.schema = [];
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