Fixed eslint errors and re-enabled build.sh check (#150)

* Fixed eslint errors and re-enabled build.sh check

* Corrected typo

* Corrected typo

* Disabled max-params on files with warnings

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments
This commit is contained in:
Tynan CR 2017-12-17 00:49:47 -05:00 committed by Qstick
parent 8116e66d52
commit 9d00a17ade
51 changed files with 84 additions and 103 deletions

View file

@ -59,7 +59,6 @@ class PageHeader extends Component {
</Link>
</div>
<div className={styles.sidebarToggleContainer}>
<IconButton
id="sidebar-toggle-button"

View file

@ -1,3 +1,4 @@
/* eslint max-params: 0 */
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { connect } from 'react-redux';

View file

@ -1,3 +1,4 @@
/* eslint max-params: 0 */
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import CheckInput from 'Components/Form/CheckInput';

View file

@ -75,4 +75,6 @@ TableOptionsColumnDragPreview.propTypes = {
})
};
/* eslint-disable new-cap */
export default DragLayer(collectDragLayer)(TableOptionsColumnDragPreview);
/* eslint-enable new-cap */

View file

@ -153,6 +153,7 @@ TableOptionsColumnDragSource.propTypes = {
onColumnDragEnd: PropTypes.func.isRequired
};
/* eslint-disable new-cap */
export default DropTarget(
TABLE_COLUMN,
columnDropTarget,
@ -162,3 +163,4 @@ export default DropTarget(
columnDragSource,
collectDragSource
)(TableOptionsColumnDragSource));
/* eslint-enable new-cap */

View file

@ -239,4 +239,6 @@ TableOptionsModal.defaultProps = {
canModifyColumns: true
};
/* eslint-disable new-cap */
export default DragDropContext(HTML5Backend)(TableOptionsModal);
/* eslint-enable new-cap */

View file

@ -145,7 +145,7 @@ class Tooltip extends Component {
}
Tooltip.propTypes = {
className: PropTypes.string,
className: PropTypes.string,
anchor: PropTypes.node.isRequired,
tooltip: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
kind: PropTypes.oneOf([kinds.DEFAULT, kinds.INVERSE]),