-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure eslint package and fix lint issues #14673
Conversation
@@ -29,6 +29,7 @@ export default class VectorEmbeddedPage extends EmbeddedPage { | |||
translate(s) { | |||
s = sanitizeHtml(_t(s)); | |||
// ugly fix for https://github.com/vector-im/riot-web/issues/4243 | |||
// eslint-disable-next-line max-len | |||
s = s.replace(/\[matrix\]/, '<a href="https://matrix.org" target="_blank" rel="noreferrer noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="welcome/images/matrix.svg"/></a>'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this even exist 😭
(not an issue for this PR, just expressing my sadness for such a regex)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea
@@ -23,7 +23,7 @@ import { Capability, WidgetApi } from "matrix-react-sdk/src/widgets/WidgetApi"; | |||
// Dev note: we use raw JS without many dependencies to reduce bundle size. | |||
// We do not need all of React to render a Jitsi conference. | |||
|
|||
declare var JitsiMeetExternalAPI: any; | |||
declare let JitsiMeetExternalAPI: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm somewhat sure we used var
for a reason, but I guess we'll find out :D
merging to try and unbreak develop |
[Full Changelog](element-hq/element-web@v1.7.1...v1.7.2) * Upgrade to React SDK 3.0.0 and JS SDK 8.0.0 * Update from Weblate [\element-hq#14778](element-hq#14778) * Capitalize letters [\element-hq#14566](element-hq#14566) * Configure eslint package and fix lint issues [\element-hq#14673](element-hq#14673) * Riot → Element [\element-hq#14581](element-hq#14581) * Remove labs info for the new room list [\element-hq#14603](element-hq#14603) * Convince Webpack to use development on CI [\element-hq#14593](element-hq#14593) * Move dev dep to the right place [\element-hq#14572](element-hq#14572) * Bump lodash from 4.17.15 to 4.17.19 [\element-hq#14552](element-hq#14552) * Update all mobile links to match marketing site [\element-hq#14541](element-hq#14541)
TS is now linted