Skip to content

Commit 2318bc3

Browse files
committed
Disable eslint warning for console line
Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
1 parent 2e2e587 commit 2318bc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/CodeViewer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class CodeViewer extends Component {
132132
.catch(err => {
133133
// we don't have UI for this error and actually it's not very important
134134
// user can select language manualy
135+
// eslint-disable-next-line no-console
135136
console.error(`can't detect language: ${err}`);
136137
})
137138
.then(() => this.setState({ loading: false }));

0 commit comments

Comments
 (0)