Fix lint issues in new code
This commit is contained in:
parent
c3ffbdbdbc
commit
4ba1f91a2b
19 changed files with 66 additions and 33 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue