Fix eslint

This commit is contained in:
afc163 2015-11-20 14:15:33 +08:00
parent d17f6a9c30
commit 9268a0befd
2 changed files with 5 additions and 4 deletions

View File

@ -4,12 +4,13 @@
"browser": true,
"node": true,
"mocha": true,
"jest": true
"jest": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true
"jsx": true,
"experimentalObjectRestSpread": true
},
"parser": "babel-eslint",
"plugins": [
"react",
"babel"

View File

@ -21,7 +21,7 @@ const AntSpin = React.createClass({
},
render() {
const { className, size, prefixCls, ...others } = this.props;
const { className, size, prefixCls } = this.props;
let spinClassName = classSet({
[prefixCls]: true,