mirror of
https://github.com/apache/superset.git
synced 2026-04-16 14:45:21 +00:00
[lint] turn no-undef back on, set browser, cypress, and mocha env's (#5879)
* [lint] turn no-undef back on, set browser, cypress, and mocha env's, and fix issues * [lint] fix undefined var in TimeTable.jsx
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { it, describe, before } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { getColorFromScheme, hexToRGB } from '../../../src/modules/colors';
|
||||
import { getInstance } from '../../../src/modules/ColorSchemeManager';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { it, describe } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { assert, expect } from 'chai';
|
||||
import {
|
||||
tickMultiFormat,
|
||||
formatDate,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { it, describe } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import { unitToRadius } from '../../../src/modules/geo';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { it, describe } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
|
||||
import sandboxedEval from '../../../src/modules/sandbox';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { it, describe } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { expect, assert } from 'chai';
|
||||
|
||||
import moment from 'moment';
|
||||
import { getPlaySliderParams, truncate } from '../../../src/modules/time';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { it, describe } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import { expect, assert } from 'chai';
|
||||
import {
|
||||
tryNumify,
|
||||
slugify,
|
||||
|
||||
Reference in New Issue
Block a user