You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Fix a bunch of linting errors
eslint --fix and a few manual ones
This commit is contained in:
@@ -129,7 +129,7 @@ matrixLinkify.MATRIXTO_URL_PATTERN = "^(?:https?:\/\/)?(?:www\\.)?matrix\\.to/#/
|
||||
matrixLinkify.MATRIXTO_BASE_URL= "https://matrix.to";
|
||||
|
||||
matrixLinkify.options = {
|
||||
events: function (href, type) {
|
||||
events: function(href, type) {
|
||||
switch (type) {
|
||||
case "userid":
|
||||
return {
|
||||
@@ -146,7 +146,7 @@ matrixLinkify.options = {
|
||||
}
|
||||
},
|
||||
|
||||
formatHref: function (href, type) {
|
||||
formatHref: function(href, type) {
|
||||
switch (type) {
|
||||
case 'roomalias':
|
||||
case 'userid':
|
||||
|
||||
Reference in New Issue
Block a user