[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,6 +1,5 @@
import React from 'react';
import { shallow } from 'enzyme';
import { describe, it } from 'mocha';
import { expect } from 'chai';
import { Table, Thead, Td, Th, Tr } from 'reactable';

View File

@@ -1,7 +1,6 @@
import React from 'react';
import Select from 'react-select';
import { shallow } from 'enzyme';
import { describe, it } from 'mocha';
import { expect } from 'chai';
import sinon from 'sinon';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import { Label } from 'react-bootstrap';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import sinon from 'sinon';
import { shallow } from 'enzyme';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import ColumnOption from '../../../src/components/ColumnOption';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import ColumnTypeLabel from '../../../src/components/ColumnTypeLabel';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import CopyToClipboard from '../../../src/components/CopyToClipboard';

View File

@@ -1,5 +1,4 @@
import React from 'react';
import { describe, it } from 'mocha';
import { expect } from 'chai';
import { mount } from 'enzyme';
import FilterableTable from '../../../../src/components/FilterableTable/FilterableTable';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import MetricOption from '../../../src/components/MetricOption';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import ModalTrigger from '../../../src/components/ModalTrigger';

View File

@@ -3,7 +3,6 @@ import React from 'react';
import sinon from 'sinon';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import { describe, it } from 'mocha';
import VirtualizedSelect from 'react-virtualized-select';
import Select, { Creatable } from 'react-select';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { shallow } from 'enzyme';
import { describe, it } from 'mocha';
import { expect } from 'chai';
import InfoTooltipWithTrigger from '../../../src/components/InfoTooltipWithTrigger';

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import PopoverSection from '../../../src/components/PopoverSection';

View File

@@ -1,7 +1,6 @@
import React from 'react';
import configureStore from 'redux-mock-store';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import { OverlayTrigger } from 'react-bootstrap';

View File

@@ -1,7 +1,6 @@
import React from 'react';
import configureStore from 'redux-mock-store';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import URLShortLinkModal from '../../../src/components/URLShortLinkModal';

View File

@@ -3,7 +3,6 @@ import React from 'react';
import sinon from 'sinon';
import PropTypes from 'prop-types';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import VirtualizedRendererWrap from '../../../src/components/VirtualizedRendererWrap';