mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07: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:
parent
8116e66d52
commit
9d00a17ade
51 changed files with 84 additions and 103 deletions
|
@ -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]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue