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

@ -33,4 +33,4 @@ waitFor(["ButtonLooks", "default"], m => {
waitFor(filters.byDisplayName("SwitchItem"), m => Switch = m.default);
waitFor(filters.byDisplayName("Flex"), m => Flex = m.default);
waitFor(filters.byDisplayName("Card"), m => Card = m.default);
waitFor(filters.byDisplayName("Tooltip"), m => Tooltip = m.default);
waitFor(filters.byDisplayName("Tooltip"), m => Tooltip = m.default);

View file

@ -1,2 +1,2 @@
export * from "./webpack";
export * as Common from "./common";
export * as Common from "./common";

View file

@ -112,7 +112,7 @@ export function search(...filters: Array<string | RegExp>) {
* Extract a specific module by id into its own Source File. This has no effect on
* the code, it is only useful to be able to look at a specific module without having
* to view a massive file. extract then returns the extracted module so you can jump to it.
* As mentioned above, note that this extracted module is not actually used,
* As mentioned above, note that this extracted module is not actually used,
* so putting breakpoints or similar will have no effect.
* @param id The id of the module to extract
*/
@ -130,4 +130,4 @@ ${mod.toString()}
`;
const extracted = (0, eval)(code);
return extracted as Function;
}
}