You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix lint issues in new code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user