refactor: update lint rules

This commit is contained in:
Daniel
2018-09-17 17:09:46 +02:00
parent a7830693af
commit 0c7cfeeeb8
95 changed files with 1603 additions and 994 deletions
@@ -1,5 +1,10 @@
import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
import {
Cordova,
CordovaProperty,
IonicNativePlugin,
Plugin
} from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
/* Available status of device */
@@ -67,7 +72,7 @@ export interface InitParams extends InitPeripheralParams {
export interface ScanParams {
/* An array of service IDs to filter the scan or empty array / null. This parameter is not supported on Windows platform yet */
services?: string[];
/** True/false to allow duplicate advertisement packets, defaults to false (iOS)*/
/* True/false to allow duplicate advertisement packets, defaults to false (iOS)*/
allowDuplicates?: boolean;
/** Defaults to Low Power. Available from API21 / API 23 (Android) */
scanMode?: BluetoothScanMode;
@@ -181,7 +186,7 @@ export interface MTU extends DeviceInfo {
}
export interface BondedStatus extends CommonInfo {
/** Bonded status*/
/* Bonded status*/
isBonded: boolean;
}
@@ -322,7 +327,7 @@ export interface DescriptorResult extends OperationResult {
export interface Characteristics extends DeviceInfo {
/** Service's id */
service: string;
/** Array of characteristic objects*/
/* Array of characteristic objects*/
characteristics: Characteristic[];
}