diff --git a/.eslintignore.errorfiles b/.eslintignore.errorfiles
index 4830f8235a..d5eeebf1f2 100644
--- a/.eslintignore.errorfiles
+++ b/.eslintignore.errorfiles
@@ -31,7 +31,6 @@ src/components/views/globals/UpdateCheckBar.js
src/components/views/messages/MFileBody.js
src/components/views/messages/RoomAvatarEvent.js
src/components/views/messages/TextualBody.js
-src/components/views/room_settings/AliasSettings.js
src/components/views/room_settings/ColorSettings.js
src/components/views/rooms/Autocomplete.js
src/components/views/rooms/AuxPanel.js
diff --git a/src/components/views/elements/EditableItemList.js b/src/components/views/elements/EditableItemList.js
index 66b5962426..28c6e10612 100644
--- a/src/components/views/elements/EditableItemList.js
+++ b/src/components/views/elements/EditableItemList.js
@@ -16,7 +16,6 @@ limitations under the License.
import React from 'react';
import PropTypes from 'prop-types';
-import sdk from '../../../index';
import {_t} from '../../../languageHandler.js';
import Field from "./Field";
import AccessibleButton from "./AccessibleButton";
@@ -80,14 +79,14 @@ export class EditableItem extends React.Component {
return (
+ onClick={this._onRemove} className="mx_EditableItem_delete" alt={_t("Remove")} />
{this.props.value}
);
}
}
-export default class EditableItemList extends React.Component{
+export default class EditableItemList extends React.Component {
static propTypes = {
items: PropTypes.arrayOf(PropTypes.string).isRequired,
itemsLabel: PropTypes.string,
@@ -130,13 +129,13 @@ export default class EditableItemList extends React.Component{
{_t("Add")}
- )
+ );
}
render() {
const editableItems = this.props.items.map((item, index) => {
if (!this.props.canRemove) {
- return {item}
+ return {item};
}
return {
@@ -136,7 +134,7 @@ export default class AliasSettings extends React.Component {
title: _t("Error creating alias"),
description: _t(
"There was an error creating that alias. It may not be allowed by the server " +
- "or a temporary failure occurred."
+ "or a temporary failure occurred.",
),
});
});
@@ -172,7 +170,7 @@ export default class AliasSettings extends React.Component {
title: _t("Error removing alias"),
description: _t(
"There was an error removing that alias. It may no longer exist or a temporary " +
- "error occurred."
+ "error occurred.",
),
});
});
diff --git a/src/components/views/room_settings/RelatedGroupSettings.js b/src/components/views/room_settings/RelatedGroupSettings.js
index 64025b261e..b42ae1a8d7 100644
--- a/src/components/views/room_settings/RelatedGroupSettings.js
+++ b/src/components/views/room_settings/RelatedGroupSettings.js
@@ -20,7 +20,6 @@ import {MatrixEvent, MatrixClient} from 'matrix-js-sdk';
import sdk from '../../../index';
import { _t } from '../../../languageHandler';
import Modal from '../../../Modal';
-import isEqual from 'lodash/isEqual';
import ErrorDialog from "../dialogs/ErrorDialog";
const GROUP_ID_REGEX = /\+\S+:\S+/;
@@ -58,10 +57,10 @@ export default class RelatedGroupSettings extends React.Component {
title: _t("Error updating flair"),
description: _t(
"There was an error updating the flair for this room. The server may not allow it or " +
- "a temporary error occurred."
+ "a temporary error occurred.",
),
});
- })
+ });
}
validateGroupId(groupId) {
@@ -120,4 +119,4 @@ export default class RelatedGroupSettings extends React.Component {
/>
;
}
-};
+}