Add .editorconfig; reformat project

This commit is contained in:
Vendicated 2022-09-16 22:59:34 +02:00
parent 5f62d2d3ec
commit 71a60a0359
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
29 changed files with 42 additions and 28 deletions

View file

@ -82,4 +82,4 @@ export function addClickListener(listener: ClickListener) {
export function removeClickListener(listener: ClickListener) {
return listeners.delete(listener);
}
}

View file

@ -1 +1 @@
export * as MessageEvents from "./MessageEvents";
export * as MessageEvents from "./MessageEvents";

View file

@ -98,7 +98,7 @@ type ResolvePropDeep<T, P> = P extends "" ? T :
* whenever Unindent is toggled. Pass an empty string to get notified for all changes
* @param onUpdate Callback function whenever a setting matching path is updated. It gets passed the new value and the path
* to the updated setting. This path will be the same as your path argument, unless it was an empty string.
*
*
* @example addSettingsListener("", (newValue, path) => console.log(`${path} is now ${newValue}`))
* addSettingsListener("plugins.Unindent.enabled", v => console.log("Unindent is now", v ? "enabled" : "disabled"))
*/