Skip to content
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

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Conversation

JorikSchellekens
Copy link
Contributor

TS is now linted

@JorikSchellekens JorikSchellekens requested a review from a team July 21, 2020 10:33
@JorikSchellekens JorikSchellekens added this to In Review in Web App Team Jul 21, 2020
@JorikSchellekens JorikSchellekens changed the title Confiure eslint package and fix lint issues Configure eslint package and fix lint issues Jul 21, 2020
@@ -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>');
Copy link
Member

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)

Copy link
Contributor Author

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;
Copy link
Member

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

@turt2live
Copy link
Member

merging to try and unbreak develop

@turt2live turt2live closed this Jul 21, 2020
@turt2live turt2live reopened this Jul 21, 2020
@turt2live turt2live merged commit ae8ba13 into develop Jul 21, 2020
Web App Team automation moved this from In Review to In Test Jul 21, 2020
refi64 added a commit to refi64/riot-web-lc that referenced this pull request Jul 28, 2020
[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)
@t3chguy t3chguy deleted the joriks/eslint-config branch May 12, 2022 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants