0
0
Fork 0

Remove eslint-disable comments (#4681)

Do not reject console.error and console.warn with ESLint rules.
This commit is contained in:
Yamagishi Kazutoshi 2017-08-24 19:15:36 +09:00 committed by Eugen Rochko
parent e4c761f902
commit fbe1115114
3 changed files with 2 additions and 5 deletions

View file

@ -135,7 +135,7 @@ export default class UI extends React.PureComponent {
if (data.type === 'navigate') {
this.context.router.history.push(data.path);
} else {
console.warn('Unknown message type:', data.type); // eslint-disable-line no-console
console.warn('Unknown message type:', data.type);
}
}