fix(eslint): rules included deprecated plugin

This commit is contained in:
Paul Makles
2022-06-12 19:38:29 +01:00
parent 8e1685a402
commit 74a42914d7
24 changed files with 122 additions and 61 deletions

View File

@@ -137,7 +137,7 @@ export default function MemberList({
server, see issue{" "}
<a
href="https://github.com/revoltchat/delta/issues/128"
target="_blank">
target="_blank" rel="noreferrer">
#128
</a>{" "}
for when this will be resolved.

View File

@@ -182,7 +182,7 @@ export const GroupMemberSidebar = observer(
);
// ! FIXME: this is temporary code until we get lazy guilds like subscriptions
const FETCHED: Set<String> = new Set();
const FETCHED: Set<string> = new Set();
export function resetMemberSidebarFetched() {
FETCHED.clear();

View File

@@ -68,13 +68,13 @@ export function PermissionSelect({
}
return "Neutral";
} else {
}
if (Long.fromNumber(value).and(permission).eq(permission)) {
return "Allow";
}
return "Neutral";
}
}, [value]);
function onSwitch(state: State) {