update eslint and fix indent problems

This commit is contained in:
afc163
2015-08-15 15:08:55 +08:00
parent d0abead2c8
commit 2eecc1071b
4 changed files with 16 additions and 15 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
"rules": {
"indent": [
2,
2
2,
{ "SwitchCase": 1 }
],
"quotes": [
2,
+6 -6
View File
@@ -13,12 +13,12 @@ function callback(key, btnCose) {
function getNotificationInstance() {
notificationInstance = notificationInstance || Notification.newInstance({
prefixCls: 'ant-notification',
style: {
top: top,
right: 0
}
});
prefixCls: 'ant-notification',
style: {
top: top,
right: 0
}
});
return notificationInstance;
}
+6 -6
View File
@@ -51,17 +51,17 @@ var FilterMenu = React.createClass({
<Menu.Item disabled>
<a className="ant-table-filter-dropdown-link confirm"
style={{
cursor: 'pointer',
pointerEvents: 'visible'
}}
cursor: 'pointer',
pointerEvents: 'visible'
}}
onClick={this.handleConfirm}>
确定
</a>
<a className="ant-table-filter-dropdown-link clear"
style={{
cursor: 'pointer',
pointerEvents: 'visible'
}}
cursor: 'pointer',
pointerEvents: 'visible'
}}
onClick={this.handleClearFilters}>
清空
</a>
+2 -2
View File
@@ -69,8 +69,8 @@
"babel-loader": "^5.3.2",
"css-animation": "~1.0.3",
"css-loader": "^0.14.1",
"eslint": "^0.24.1",
"eslint-plugin-react": "~2.5.0",
"eslint": "^1.1.0",
"eslint-plugin-react": "~3.2.2",
"extract-text-webpack-plugin": "^0.8.1",
"gh-pages": "~0.3.1",
"json-loader": "^0.5.1",