From d37370c1449ccb704e3db15e168bc6e541d1b915 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 9 Nov 2015 11:13:31 +0800 Subject: [PATCH] fix lint --- components/progress/index.jsx | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/progress/index.jsx b/components/progress/index.jsx index a8e88064fe..8f8225fe89 100644 --- a/components/progress/index.jsx +++ b/components/progress/index.jsx @@ -53,7 +53,7 @@ let Line = React.createClass({ {props.percent}% ); } - }else { + } else { fullCls = ' ' + prefixCls + '-line-wrap-full'; } let percentStyle = { diff --git a/package.json b/package.json index ac211c18e4..1046808949 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "less-loader": "^2.2.0", "lodash": "^3.10.0", "nico-jsx": "~0.6.0", - "precommit-hook": "^1.0.7", + "pre-commit": "1.x", "react": "~0.14.1", "react-addons-test-utils": "~0.14.1", "react-dom": "~0.14.1", @@ -130,7 +130,7 @@ "testDirectoryName": "tests", "preprocessCachingDisabled": false }, - "precommit": [ + "pre-commit": [ "lint" ] }