ESLint: Re-enable rule no-restricted-globals (#10863)

* Re-enable rule no-restricted-globals

* Fix missing semicolons
This commit is contained in:
Kamil Gabryjelski
2020-09-14 19:39:46 +02:00
committed by GitHub
parent 7f1012360a
commit 1908a94c7e
12 changed files with 18 additions and 20 deletions

View File

@@ -153,7 +153,7 @@ class AceEditorWrapper extends React.PureComponent<Props, State> {
) {
// If the prefix starts with a number, don't try to autocomplete with a
// table name or schema or anything else
if (!isNaN(parseInt(prefix, 10))) {
if (!Number.isNaN(parseInt(prefix, 10))) {
return;
}
const completer = {