Skip to content

Commit

Permalink
Merge pull request #9 from Mikhail2k15/michael/v1.15.2
Browse files Browse the repository at this point in the history
Remove eslint warnings
  • Loading branch information
Mikhail2k15 authored Aug 26, 2022
2 parents c9abdfe + e98df93 commit be5d8cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default class CompanyCommunicatorAdaptiveCardExtension extends BaseAdapti
return this._deferredPropertyPane?.getPropertyPaneConfiguration();
}

/* eslint-disable @typescript-eslint/no-explicit-any */
protected async onPropertyPaneFieldChanged(propertyPath: string, oldValue: any, newValue: any): Promise<void> {
if (propertyPath === 'applicationIdUri' && newValue !== oldValue) {
this.aadClient = await this.context.aadHttpClientFactory.getClient(this.properties.applicationIdUri);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class DetailsQuickView extends BaseAdaptiveCardView<ICompanyCommunicatorA
}

public get template(): ISPFxAdaptiveCard {
/* eslint-disable @typescript-eslint/no-var-requires */
const card: ISPFxAdaptiveCard = require('./template/DetailsQuickViewTemplate.json');
const message = this.state.messages[this.state.currentIndex];
if (message.buttonLink){
Expand Down
1 change: 1 addition & 0 deletions src/service/analytics/AppInsightsTelemetryTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class AppInsightsTelemetryTracker implements ILogListener {
}
}

/* eslint-disable @typescript-eslint/no-explicit-any */
public trackEvent(name: string, customProperties?: any): void {
if (AppInsightsTelemetryTracker.appInsightsInstance) {
AppInsightsTelemetryTracker.appInsightsInstance.trackEvent(
Expand Down

0 comments on commit be5d8cc

Please sign in to comment.