Update dependency prettier to v3 (#12095)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot] 2024-01-02 18:56:39 +00:00 committed by GitHub
parent 773b03e15e
commit a0c8575113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
110 changed files with 449 additions and 313 deletions

View file

@ -22,7 +22,10 @@ import SettingController from "./SettingController";
* When the value changes, call a setter function on the matrix client with the new value
*/
export default class PushToMatrixClientController extends SettingController {
public constructor(private setter: Function, private inverse: boolean) {
public constructor(
private setter: Function,
private inverse: boolean,
) {
super();
}

View file

@ -26,7 +26,10 @@ import SettingsStore from "../SettingsStore";
* Settings using this controller are assumed to return `false` when disabled.
*/
export default class UIFeatureController extends SettingController {
public constructor(private uiFeatureName: string, private forcedValue = false) {
public constructor(
private uiFeatureName: string,
private forcedValue = false,
) {
super();
}

View file

@ -27,7 +27,10 @@ export default class DefaultSettingsHandler extends SettingsHandler {
* @param {object} defaults The default setting values, keyed by setting name.
* @param {object} invertedDefaults The default inverted setting values, keyed by setting name.
*/
public constructor(private defaults: Record<string, any>, private invertedDefaults: Record<string, any>) {
public constructor(
private defaults: Record<string, any>,
private invertedDefaults: Record<string, any>,
) {
super();
}

View file

@ -31,7 +31,10 @@ export default class DeviceSettingsHandler extends AbstractLocalStorageSettingsH
* @param {string[]} featureNames The names of known features.
* @param {WatchManager} watchers The watch manager to notify updates to
*/
public constructor(private featureNames: string[], public readonly watchers: WatchManager) {
public constructor(
private featureNames: string[],
public readonly watchers: WatchManager,
) {
super();
}

View file

@ -35,7 +35,10 @@ export default class LocalEchoWrapper extends SettingsHandler {
* @param {SettingsHandler} handler The handler to wrap
* @param {SettingLevel} level The level to notify updates at
*/
public constructor(private readonly handler: SettingsHandler, private readonly level: SettingLevel) {
public constructor(
private readonly handler: SettingsHandler,
private readonly level: SettingLevel,
) {
super();
}