You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-react-redux

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-redux - npm Package Compare versions

Comparing version

to
1.2.2

4

lib/rules/mapStateToProps-no-store.js

@@ -42,3 +42,5 @@ const utils = require('../utils');

FunctionDeclaration(node) {
checkFunction(context, node.body, getFirstParamName(node));
if (node.id && node.id.name === 'mapStateToProps') {
checkFunction(context, node.body, getFirstParamName(node));
}
},

@@ -45,0 +47,0 @@ CallExpression(node) {

{
"name": "eslint-plugin-react-redux",
"version": "1.2.1",
"version": "1.2.2",
"description": "Enforcing best practices for react-redux",

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

@@ -18,2 +18,3 @@ require('babel-eslint');

valid: [
'export default function observeStore(store) {return store;}',
'export default connect(() => {})(Alert)',

@@ -20,0 +21,0 @@ 'export default connect(() => {})(Alert)',