mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
ESLint: Re-enable rule no-restricted-globals (#10863)
* Re-enable rule no-restricted-globals * Fix missing semicolons
This commit is contained in:
committed by
GitHub
parent
7f1012360a
commit
1908a94c7e
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user