mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
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:
@@ -59,7 +59,6 @@ class PageHeader extends Component {
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
||||
<div className={styles.sidebarToggleContainer}>
|
||||
<IconButton
|
||||
id="sidebar-toggle-button"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint max-params: 0 */
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint max-params: 0 */
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import CheckInput from 'Components/Form/CheckInput';
|
||||
|
||||
@@ -75,4 +75,6 @@ TableOptionsColumnDragPreview.propTypes = {
|
||||
})
|
||||
};
|
||||
|
||||
/* eslint-disable new-cap */
|
||||
export default DragLayer(collectDragLayer)(TableOptionsColumnDragPreview);
|
||||
/* eslint-enable new-cap */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -239,4 +239,6 @@ TableOptionsModal.defaultProps = {
|
||||
canModifyColumns: true
|
||||
};
|
||||
|
||||
/* eslint-disable new-cap */
|
||||
export default DragDropContext(HTML5Backend)(TableOptionsModal);
|
||||
/* eslint-enable new-cap */
|
||||
|
||||
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user