mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user