add eslint config (#53)

* eslint

* workflow

* lint main
This commit is contained in:
Ven
2022-10-06 00:42:58 +02:00
committed by GitHub
parent e563521416
commit 74c3930e0a
41 changed files with 141 additions and 87 deletions

View File

@ -13,7 +13,7 @@ export default definePlugin({
{
match: /;(.{1,2}=null;)(?=.{0,50}updateNotice)/g,
replace:
';if(Vencord.Api.Notices.currentNotice)return !1;$1'
";if(Vencord.Api.Notices.currentNotice)return !1;$1"
},
{
match: /(?<=NOTICE_DISMISS:function.+?){(?=if\(null==(.+?)\))/,