From 6c16d738eeb69b29a4cd72245f056d402e1c4ca3 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 7 Nov 2016 15:55:14 +0800 Subject: [PATCH] upgrade deps and fix lints --- .eslintrc.js | 1 + package.json | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 818638258b..39e614aaf7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -39,6 +39,7 @@ const eslintrc = { 'jsx-a11y/no-static-element-interactions': 0, 'jsx-a11y/anchor-has-content': 0, 'react/no-danger': 0, + 'comma-dangle': ['error', 'always-multiline'], }, }; diff --git a/package.json b/package.json index e0066dd886..aadf21e7ae 100644 --- a/package.json +++ b/package.json @@ -80,8 +80,8 @@ "@types/react": "~0.14.41", "@types/react-dom": "~0.14.18", "antd-tools": "^0.13.0", - "babel-eslint": "^6.0.2", - "babel-jest": "^13.2.2", + "babel-eslint": "^7.1.0", + "babel-jest": "^16.0.0", "babel-plugin-import": "^1.0.0", "babel-plugin-transform-runtime": "~6.15.0", "bisheng": "^0.14.0", @@ -96,13 +96,13 @@ "eslint": "^3.0.1", "eslint-config-airbnb": "latest", "eslint-plugin-babel": "^3.0.0", - "eslint-plugin-import": "^1.6.1", + "eslint-plugin-import": "^2.1.0", "eslint-plugin-jsx-a11y": "^2.0.1", "eslint-plugin-markdown": "*", "eslint-plugin-react": "^6.1.2", "eslint-tinker": "^0.4.0", "history": "^3.0.0", - "jest-cli": "^15.1.1", + "jest-cli": "^16.0.2", "jsonml-to-react-component": "~0.2.0", "jsonml.js": "^0.1.0", "jsonp": "^0.2.0",