Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore: make eslint/prettier happier :)
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne committed Jun 14, 2023
1 parent a899ac6 commit 66fc8df
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 51 deletions.
24 changes: 6 additions & 18 deletions test/models/notificationsettings/pushrules_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@
"pattern": "m.room.message"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.message",
"default": true,
"enabled": true,
Expand All @@ -105,9 +103,7 @@
"pattern": "m.room.encrypted"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.encrypted",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -191,9 +187,7 @@
"override": [
{
"conditions": [],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.master",
"default": true,
"enabled": false,
Expand All @@ -207,9 +201,7 @@
"pattern": "m.notice"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.suppress_notices",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -257,9 +249,7 @@
"pattern": "m.room.member"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.member_event",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -384,9 +374,7 @@
"pattern": "m.reaction"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.reaction",
"default": true,
"enabled": true,
Expand Down
20 changes: 5 additions & 15 deletions test/models/notificationsettings/pushrules_default_new.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@
"pattern": "m.room.message"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.message",
"default": true,
"enabled": true,
Expand All @@ -105,9 +103,7 @@
"pattern": "m.room.encrypted"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.encrypted",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -191,9 +187,7 @@
"override": [
{
"conditions": [],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.master",
"default": true,
"enabled": false,
Expand All @@ -207,9 +201,7 @@
"pattern": "m.notice"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.suppress_notices",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -388,9 +380,7 @@
"pattern": "m.reaction"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.reaction",
"default": true,
"enabled": true,
Expand Down
24 changes: 6 additions & 18 deletions test/models/notificationsettings/pushrules_sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@
"pattern": "m.room.message"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.message",
"default": true,
"enabled": true,
Expand All @@ -97,9 +95,7 @@
"pattern": "m.room.encrypted"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.encrypted",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -337,9 +333,7 @@
"override": [
{
"conditions": [],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.master",
"default": true,
"enabled": false,
Expand All @@ -353,9 +347,7 @@
"pattern": "m.notice"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.suppress_notices",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -399,9 +391,7 @@
"pattern": "m.room.member"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.member_event",
"default": true,
"enabled": true,
Expand Down Expand Up @@ -485,9 +475,7 @@
"pattern": "m.reaction"
}
],
"actions": [
"dont_notify"
],
"actions": ["dont_notify"],
"rule_id": ".m.rule.reaction",
"default": true,
"enabled": true,
Expand Down

0 comments on commit 66fc8df

Please sign in to comment.