Skip to content

Commit ae85956

Browse files
committed
delint
1 parent 23622db commit ae85956

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

src/async-components/structures/CompatibilityView.tsx

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,26 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
7878
<div>
7979
<h2 id="step2_heading">Use Element on mobile</h2>
8080
<p><strong>iOS</strong> (iPhone or iPad)</p>
81-
<a href="https://apps.apple.com/app/vector/id1083446067" target="_blank"
82-
className="mx_ClearDecoration">
81+
<a
82+
href="https://apps.apple.com/app/vector/id1083446067"
83+
target="_blank"
84+
className="mx_ClearDecoration"
85+
>
8386
<img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" />
8487
</a>
8588
<p className="mx_Spacer"><strong>Android</strong></p>
86-
<a href="https://play.google.com/store/apps/details?id=im.vector.app" target="_blank"
87-
className="mx_ClearDecoration">
89+
<a
90+
href="https://play.google.com/store/apps/details?id=im.vector.app"
91+
target="_blank"
92+
className="mx_ClearDecoration"
93+
>
8894
<img height="48" src="themes/element/img/download/google.svg" alt="Google Play Store" />
8995
</a>
90-
<a href="https://f-droid.org/repository/browse/?fdid=im.vector.app" target="_blank"
91-
className="mx_ClearDecoration">
96+
<a
97+
href="https://f-droid.org/repository/browse/?fdid=im.vector.app"
98+
target="_blank"
99+
className="mx_ClearDecoration"
100+
>
92101
<img height="48" src="themes/element/img/download/fdroid.svg" alt="F-Droid" />
93102
</a>
94103
</div>

src/vector/init.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ See the License for the specific language governing permissions and
1717
limitations under the License.
1818
*/
1919

20+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
2021
// @ts-ignore
2122
import olmWasmPath from "olm/olm.wasm";
2223
import Olm from 'olm';
@@ -127,6 +128,7 @@ export async function loadSkin() {
127128
import(
128129
/* webpackChunkName: "riot-web-component-index" */
129130
/* webpackPreload: true */
131+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
130132
// @ts-ignore - this module is generated so may fail lint
131133
"../component-index"),
132134
]);

src/vector/platform/ElectronPlatform.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import BaseEventIndexManager, {
2727
MatrixEvent,
2828
MatrixProfile,
2929
SearchArgs,
30-
SearchResult
30+
SearchResult,
3131
} from 'matrix-react-sdk/src/indexing/BaseEventIndexManager';
3232
import dis from 'matrix-react-sdk/src/dispatcher/dispatcher';
3333
import {_t, _td} from 'matrix-react-sdk/src/languageHandler';
@@ -99,7 +99,7 @@ interface IPCPayload {
9999

100100
class SeshatIndexManager extends BaseEventIndexManager {
101101
private pendingIpcCalls: Record<number, { resolve, reject }> = {};
102-
private nextIpcCallId: number = 0;
102+
private nextIpcCallId = 0;
103103

104104
constructor() {
105105
super();
@@ -216,7 +216,7 @@ class SeshatIndexManager extends BaseEventIndexManager {
216216
export default class ElectronPlatform extends VectorBasePlatform {
217217
private eventIndexManager: BaseEventIndexManager = new SeshatIndexManager();
218218
private pendingIpcCalls: Record<number, { resolve, reject }> = {};
219-
private nextIpcCallId: number = 0;
219+
private nextIpcCallId = 0;
220220
// this is the opaque token we pass to the HS which when we get it in our callback we can resolve to a profile
221221
private ssoID: string = randomString(32);
222222

0 commit comments

Comments
 (0)