Skip to content

Commit

Permalink
Fix lint errors for src/plugins/showAllRoles/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zeon-neon[bot] authored Jul 2, 2024
1 parent 59572f7 commit 22d89c6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/plugins/showAllRoles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/

import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { Devs } from '@utils/constants'
import definePlugin from '@utils/types'

export default definePlugin({
name: "ShowAllRoles",
description: "Show all roles in new profiles.",
authors: [Devs.Luna],
patches: [
{
find: ".Messages.VIEW_ALL_ROLES",
replacement: {
match: /return null!=\i(?=\?\i\.slice)/,
replace: "return false"
}
}
]
});
name: 'ShowAllRoles',
description: 'Show all roles in new profiles.',
authors: [Devs.Luna],
patches: [
{
find: '.Messages.VIEW_ALL_ROLES',
replacement: {
match: /return null!=\i(?=\?\i\.slice)/,
replace: 'return false'
}
}
]
})

0 comments on commit 22d89c6

Please sign in to comment.