[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:
Chris Williams
2018-09-13 14:45:24 -07:00
committed by GitHub
parent 7098ada8c5
commit b453cd2bf2
193 changed files with 118 additions and 237 deletions

View File

@@ -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';

View File

@@ -1,5 +1,4 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import { assert, expect } from 'chai';
import {
tickMultiFormat,
formatDate,

View File

@@ -1,4 +1,3 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import { unitToRadius } from '../../../src/modules/geo';

View File

@@ -1,4 +1,3 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import sandboxedEval from '../../../src/modules/sandbox';

View File

@@ -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';

View File

@@ -1,5 +1,4 @@
import { it, describe } from 'mocha';
import { expect } from 'chai';
import { expect, assert } from 'chai';
import {
tryNumify,
slugify,