diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 22:16:29 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 22:17:26 +0100 |
commit | fb7118ff1c8f0dcd61f15e51b193512283d83fa1 (patch) | |
tree | 721cee6a64b44a56b7f05f39750a65cda5fb4ef6 /packages/main/src/stores/Config.ts | |
parent | build: Add eslint-plugin-jest (diff) | |
download | sophie-fb7118ff1c8f0dcd61f15e51b193512283d83fa1.tar.gz sophie-fb7118ff1c8f0dcd61f15e51b193512283d83fa1.tar.zst sophie-fb7118ff1c8f0dcd61f15e51b193512283d83fa1.zip |
build: Add eslint-plugin-unicorn
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/src/stores/Config.ts')
-rw-r--r-- | packages/main/src/stores/Config.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/main/src/stores/Config.ts b/packages/main/src/stores/Config.ts index 06dbdeb..ca90c0c 100644 --- a/packages/main/src/stores/Config.ts +++ b/packages/main/src/stores/Config.ts | |||
@@ -18,12 +18,7 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | import { | 21 | import { config as originalConfig, ThemeSource } from '@sophie/shared'; |
22 | config as originalConfig, | ||
23 | ConfigSnapshotIn, | ||
24 | ConfigSnapshotOut, | ||
25 | ThemeSource, | ||
26 | } from '@sophie/shared'; | ||
27 | import { Instance } from 'mobx-state-tree'; | 22 | import { Instance } from 'mobx-state-tree'; |
28 | 23 | ||
29 | export const config = originalConfig.actions((self) => ({ | 24 | export const config = originalConfig.actions((self) => ({ |
@@ -34,4 +29,4 @@ export const config = originalConfig.actions((self) => ({ | |||
34 | 29 | ||
35 | export interface Config extends Instance<typeof config> {} | 30 | export interface Config extends Instance<typeof config> {} |
36 | 31 | ||
37 | export type { ConfigSnapshotIn, ConfigSnapshotOut }; | 32 | export type { ConfigSnapshotIn, ConfigSnapshotOut } from '@sophie/shared'; |