mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
Autofix for padded-blocks.
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
"jsx-a11y/click-events-have-key-events": 0,
|
||||
"jsx-a11y/mouse-events-have-key-events": 0,
|
||||
|
||||
"padded-blocks": 0,
|
||||
"prefer-destructuring": 0,
|
||||
"react/default-props-match-prop-types": 0,
|
||||
"react/jsx-closing-tag-location": 0,
|
||||
|
||||
@@ -6,7 +6,6 @@ import { enterEdge, leaveEdge } from '../actions/app-actions';
|
||||
import { encodeIdAttribute, decodeIdAttribute } from '../utils/dom-utils';
|
||||
|
||||
class Edge extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
||||
|
||||
@@ -81,7 +81,6 @@ function renderIdCell({
|
||||
|
||||
|
||||
class NodesGrid extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
|
||||
|
||||
@@ -151,7 +151,6 @@ function setAppState(fn) {
|
||||
|
||||
|
||||
class DebugToolbar extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.onChange = this.onChange.bind(this);
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
} from '../constants/styles';
|
||||
|
||||
class DetailsCard extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
|
||||
@@ -6,7 +6,6 @@ import { DETAILS_PANEL_WIDTH, DETAILS_PANEL_MARGINS } from '../constants/styles'
|
||||
import Terminal from './terminal';
|
||||
|
||||
class EmeddedTerminal extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
|
||||
@@ -36,7 +36,6 @@ function renderTemplate(nodeType, template) {
|
||||
|
||||
|
||||
export class Loading extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
|
||||
@@ -54,5 +53,4 @@ export class Loading extends React.Component {
|
||||
</NodesError>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ import { selectNetwork, pinNetwork, unpinNetwork } from '../actions/app-actions'
|
||||
import { getNetworkColor } from '../utils/color-utils';
|
||||
|
||||
class NetworkSelectorItem extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ import { availableNetworksSelector } from '../selectors/node-networks';
|
||||
import NetworkSelectorItem from './network-selector-item';
|
||||
|
||||
class NetworkSelector extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.onClick = this.onClick.bind(this);
|
||||
|
||||
@@ -38,7 +38,6 @@ export function appendTime(url, time) {
|
||||
}
|
||||
|
||||
class NodeDetailsHealthLinkItem extends React.Component {
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
|
||||
@@ -4,7 +4,6 @@ import ShowMore from '../show-more';
|
||||
import NodeDetailsHealthLinkItem from './node-details-health-link-item';
|
||||
|
||||
export default class NodeDetailsHealth extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
|
||||
@@ -5,7 +5,6 @@ import { NODE_DETAILS_DATA_ROWS_DEFAULT_LIMIT } from '../../constants/limits';
|
||||
import NodeDetailsRelativesLink from './node-details-relatives-link';
|
||||
|
||||
export default class NodeDetailsRelatives extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
|
||||
@@ -4,7 +4,6 @@ import { connect } from 'react-redux';
|
||||
import { unpinSearch } from '../actions/app-actions';
|
||||
|
||||
class SearchItem extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.handleClick = this.handleClick.bind(this);
|
||||
|
||||
@@ -46,7 +46,6 @@ function getHint(nodes) {
|
||||
|
||||
|
||||
class Search extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.handleBlur = this.handleBlur.bind(this);
|
||||
|
||||
@@ -7,7 +7,6 @@ import { receiveControlPipeFromParams, hitEsc } from '../actions/app-actions';
|
||||
const ESC_KEY_CODE = 27;
|
||||
|
||||
class TerminalApp extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class TopologyOptionAction extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.onClick = this.onClick.bind(this);
|
||||
|
||||
@@ -3,7 +3,6 @@ import classnames from 'classnames';
|
||||
|
||||
|
||||
class Warning extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
this.handleClick = this.handleClick.bind(this);
|
||||
|
||||
@@ -23,7 +23,6 @@ const WINDOW_LENGTH = 60;
|
||||
* This component also keeps a historic max of all samples it sees over time.
|
||||
*/
|
||||
export default ComposedComponent => class extends React.Component {
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user