fix lint rules

This commit is contained in:
yiminghe 2015-07-13 21:40:04 +08:00
parent 00435273b5
commit ff295e1147
2 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,9 @@
"semi": [ "semi": [
2, 2,
"always" "always"
] ],
"react/react-in-jsx-scope": 1,
"react/jsx-uses-react": 1
}, },
"env": { "env": {
"es6": true, "es6": true,

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
//import React from 'react'; import React from 'react';
import Notification from 'rc-notification'; import Notification from 'rc-notification';
var defaultDuration = 1.5; var defaultDuration = 1.5;