run eslint

This commit is contained in:
Florian Scholdei
2019-03-28 14:53:03 +01:00
parent c4519ef6ff
commit c8ac5a391c
3 changed files with 4 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ class Index extends Component<Props, State> {
};
render() {
const { indexResources, loading, error, t } = this.props;
const { indexResources, loading, error } = this.props;
const { pluginsLoaded } = this.state;
if (error) {

View File

@@ -61,13 +61,11 @@ class PluginLoader extends React.Component<Props, State> {
}
return promises.reduce((chain, current) => {
return chain.then(chainResults => {
return current.then(currentResult => [...chainResults, currentResult])
}
);
return current.then(currentResult => [...chainResults, currentResult]);
});
}, Promise.resolve([]));
};
loadPlugin = (plugin: Plugin) => {
this.setState({
message: `loading ${plugin.name}`

View File

@@ -2,7 +2,7 @@
import React from "react";
import { Link } from "react-router-dom";
import type { Group } from "@scm-manager/ui-types";
import { Checkbox } from "@scm-manager/ui-components"
import { Checkbox } from "@scm-manager/ui-components";
type Props = {
group: Group