From f069e0ad67f766b236441a645b9fa071f43caab4 Mon Sep 17 00:00:00 2001 From: Konstantin Tarkus Date: Thu, 4 Jun 2015 09:40:30 +0300 Subject: [PATCH] Update npm modules --- package.json | 8 ++++---- src/decorators/withContext.js | 2 +- src/decorators/withStyles.js | 2 +- src/decorators/withViewport.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 07e7eb32b..efadbec63 100644 --- a/package.json +++ b/package.json @@ -27,14 +27,14 @@ "devDependencies": { "autoprefixer-core": "^5.2.0", "babel-core": "^5.4.7", - "babel-eslint": "^3.1.10", + "babel-eslint": "^3.1.11", "babel-loader": "^5.1.3", "browser-sync": "^2.7.6", "css-loader": "^0.14.4", "del": "^1.2.0", - "eslint": "^0.21.2", - "eslint-loader": "^0.11.2", - "eslint-plugin-react": "^2.4.0", + "eslint": "^0.22.1", + "eslint-loader": "^0.12.0", + "eslint-plugin-react": "^2.5.0", "git-push": "^0.1.1", "gulp": "^3.9.0", "gulp-changed": "^1.2.1", diff --git a/src/decorators/withContext.js b/src/decorators/withContext.js index 2566cd6e2..21d5259a7 100644 --- a/src/decorators/withContext.js +++ b/src/decorators/withContext.js @@ -4,7 +4,7 @@ import React, { PropTypes } from 'react'; // eslint-disable-line no-unused-vars import emptyFunction from '../../node_modules/react/lib/emptyFunction'; function withContext(ComposedComponent) { - return class WithContext { // eslint-disable-line no-undef + return class WithContext { static propTypes = { context: PropTypes.shape({ diff --git a/src/decorators/withStyles.js b/src/decorators/withStyles.js index b00c39afb..b81037ab1 100644 --- a/src/decorators/withStyles.js +++ b/src/decorators/withStyles.js @@ -7,7 +7,7 @@ import { canUseDOM } from '../../node_modules/react/lib/ExecutionEnvironment'; let count = 0; function withStyles(styles) { - return (ComposedComponent) => class WithStyles { // eslint-disable-line no-undef + return (ComposedComponent) => class WithStyles { static contextTypes = { onInsertCss: PropTypes.func diff --git a/src/decorators/withViewport.js b/src/decorators/withViewport.js index 8a3cbb907..e027d7521 100644 --- a/src/decorators/withViewport.js +++ b/src/decorators/withViewport.js @@ -16,7 +16,7 @@ function handleWindowResize() { } function withViewport(ComposedComponent) { - return class WithViewport extends Component { // eslint-disable-line no-undef + return class WithViewport extends Component { constructor() { super();