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

@@ -101,7 +101,7 @@ export default observer(({ channel }: Props) => {
filter={[
...(channel.channel_type === "Group"
? []
: ["ViewChannel" as "ViewChannel"]),
: ["ViewChannel" as const]),
"ReadMessageHistory",
"SendMessage",
"ManageMessages",