Remove eslint-disable comments (#4681)
Do not reject console.error and console.warn with ESLint rules.
This commit is contained in:
parent
e4c761f902
commit
fbe1115114
3 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue