Fix lint issues in new code

This commit is contained in:
Jorik Schellekens 2020-07-20 20:43:49 +01:00
parent c3ffbdbdbc
commit 4ba1f91a2b
19 changed files with 66 additions and 33 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
*/
import {PushRuleVectorState, State} from "./PushRuleVectorState";
import {IExtendedPushRule, IPushRuleSet, IRuleSets} from "./types";
import {IExtendedPushRule, IRuleSets} from "./types";
export interface IContentRules {
vectorState: State;

View file

@ -22,10 +22,12 @@ export enum NotificationSetting {
}
export interface ISoundTweak {
// eslint-disable-next-line camelcase
set_tweak: "sound";
value: string;
}
export interface IHighlightTweak {
// eslint-disable-next-line camelcase
set_tweak: "highlight";
value?: boolean;
}
@ -86,6 +88,7 @@ export enum RuleIds {
export interface IPushRule {
enabled: boolean;
// eslint-disable-next-line camelcase
rule_id: RuleIds | string;
actions: Action[];
default: boolean;