mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2024-10-07 00:18:08 +08:00
refactor(in-app-review): ignore no-irregular-whitespace rule
This commit is contained in:
parent
261106131e
commit
60a7190eda
@ -1,6 +1,7 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||||
|
|
||||||
|
/* tslint:disable:no-irregular-whitespace */
|
||||||
/**
|
/**
|
||||||
* @name In App Review
|
* @name In App Review
|
||||||
* @description
|
* @description
|
||||||
@ -34,7 +35,6 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class InAppReview extends IonicNativePlugin {
|
export class InAppReview extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open the inApp review popup
|
* Open the inApp review popup
|
||||||
* @return {Promise<any>} Returns a promise that resolves when something happens
|
* @return {Promise<any>} Returns a promise that resolves when something happens
|
||||||
@ -43,5 +43,4 @@ export class InAppReview extends IonicNativePlugin {
|
|||||||
requestReview(): Promise<any> {
|
requestReview(): Promise<any> {
|
||||||
return; // We add return; here to avoid any IDE / Compiler errors
|
return; // We add return; here to avoid any IDE / Compiler errors
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
"member-access": false,
|
"member-access": false,
|
||||||
"adjacent-overload-signatures": false,
|
"adjacent-overload-signatures": false,
|
||||||
"no-angle-bracket-type-assertion": false,
|
"no-angle-bracket-type-assertion": false,
|
||||||
"no-irregular-whitespace": false,
|
|
||||||
"no-constant-condition": false
|
"no-constant-condition": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user