style(lint): Run front-end linter

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-04-19 18:50:09 +02:00
parent 23b5e5930c
commit 52c4337c4f
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 17 additions and 52 deletions

View file

@ -24,9 +24,7 @@ export const scope: Record<
}, },
"write:event:create": { "write:event:create": {
title: t("Publish events"), title: t("Publish events"),
text: t( text: t("This application will be allowed to publish events"),
"This application will be allowed to publish events"
),
icon: "calendar", icon: "calendar",
}, },
"write:event:update": { "write:event:update": {
@ -46,30 +44,22 @@ export const scope: Record<
}, },
"write:media:remove": { "write:media:remove": {
title: t("Remove uploaded media"), title: t("Remove uploaded media"),
text: t( text: t("This application will be allowed to remove uploaded media"),
"This application will be allowed to remove uploaded media"
),
icon: "image", icon: "image",
}, },
"write:group:post:create": { "write:group:post:create": {
title: t("Publish group posts"), title: t("Publish group posts"),
text: t( text: t("This application will be allowed to publish group posts"),
"This application will be allowed to publish group posts"
),
icon: "bullhorn", icon: "bullhorn",
}, },
"write:group:post:update": { "write:group:post:update": {
title: t("Update group posts"), title: t("Update group posts"),
text: t( text: t("This application will be allowed to update group posts"),
"This application will be allowed to update group posts"
),
icon: "bullhorn", icon: "bullhorn",
}, },
"write:group:post:delete": { "write:group:post:delete": {
title: t("Delete group posts"), title: t("Delete group posts"),
text: t( text: t("This application will be allowed to delete group posts"),
"This application will be allowed to delete group posts"
),
icon: "bullhorn", icon: "bullhorn",
}, },
"read:group:resources": { "read:group:resources": {
@ -144,9 +134,7 @@ export const scope: Record<
}, },
"write:group:group_membership": { "write:group:group_membership": {
title: t("Manage group memberships"), title: t("Manage group memberships"),
text: t( text: t("This application will be allowed to join and leave groups"),
"This application will be allowed to join and leave groups"
),
icon: "account-circle", icon: "account-circle",
}, },
"write:group:members": { "write:group:members": {
@ -193,16 +181,12 @@ export const scope: Record<
}, },
"write:profile:update": { "write:profile:update": {
title: t("Update profiles"), title: t("Update profiles"),
text: t( text: t("This application will be allowed to update your profiles"),
"This application will be allowed to update your profiles"
),
icon: "account-circle", icon: "account-circle",
}, },
"write:profile:delete": { "write:profile:delete": {
title: t("Delete profiles"), title: t("Delete profiles"),
text: t( text: t("This application will be allowed to delete your profiles"),
"This application will be allowed to delete your profiles"
),
icon: "account-circle", icon: "account-circle",
}, },
"write:comment:create": { "write:comment:create": {
@ -212,58 +196,42 @@ export const scope: Record<
}, },
"write:comment:update": { "write:comment:update": {
title: t("Update comments"), title: t("Update comments"),
text: t( text: t("This application will be allowed to update comments"),
"This application will be allowed to update comments"
),
icon: "comment", icon: "comment",
}, },
"write:comment:delete": { "write:comment:delete": {
title: t("Delete comments"), title: t("Delete comments"),
text: t( text: t("This application will be allowed to delete comments"),
"This application will be allowed to delete comments"
),
icon: "comment", icon: "comment",
}, },
"write:group:discussion:create": { "write:group:discussion:create": {
title: t("Create group discussions"), title: t("Create group discussions"),
text: t( text: t("This application will be allowed to create group discussions"),
"This application will be allowed to create group discussions"
),
icon: "comment", icon: "comment",
}, },
"write:group:discussion:update": { "write:group:discussion:update": {
title: t("Update group discussions"), title: t("Update group discussions"),
text: t( text: t("This application will be allowed to update group discussions"),
"This application will be allowed to update group discussions"
),
icon: "comment", icon: "comment",
}, },
"write:group:discussion:delete": { "write:group:discussion:delete": {
title: t("Delete group discussions"), title: t("Delete group discussions"),
text: t( text: t("This application will be allowed to delete group discussions"),
"This application will be allowed to delete group discussions"
),
icon: "comment", icon: "comment",
}, },
"write:profile:feed_token:create": { "write:profile:feed_token:create": {
title: t("Create feed tokens"), title: t("Create feed tokens"),
text: t( text: t("This application will be allowed to create feed tokens"),
"This application will be allowed to create feed tokens"
),
icon: "rss", icon: "rss",
}, },
"write:feed_token:delete": { "write:feed_token:delete": {
title: t("Delete feed tokens"), title: t("Delete feed tokens"),
text: t( text: t("This application will be allowed to delete feed tokens"),
"This application will be allowed to delete feed tokens"
),
icon: "rss", icon: "rss",
}, },
"write:participation": { "write:participation": {
title: t("Manage event participations"), title: t("Manage event participations"),
text: t( text: t("This application will be allowed to manage events participations"),
"This application will be allowed to manage events participations"
),
icon: "rss", icon: "rss",
}, },
"write:user:setting:activity": { "write:user:setting:activity": {

View file

@ -83,8 +83,5 @@ module.exports = {
}, },
}, },
}, },
plugins: [ plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
],
}; };