refactor: lint

This commit is contained in:
liyasthomas
2021-05-17 17:11:58 +05:30
parent f9821e5f80
commit e424d06026
7 changed files with 127 additions and 228 deletions

View File

@@ -1,7 +1,7 @@
import { settingsStore, bulkApplySettings, defaultSettings } from "./settings"
import clone from "lodash/clone"
import assign from "lodash/assign"
import eq from "lodash/eq"
import { settingsStore, bulkApplySettings, defaultSettings } from "./settings"
function checkAndMigrateOldSettings() {
const vuexData = JSON.parse(window.localStorage.getItem("vuex") || "{}")
@@ -19,7 +19,9 @@ function checkAndMigrateOldSettings() {
}
function setupSettingsPersistence() {
const settingsData = JSON.parse(window.localStorage.getItem("settings") || "{}")
const settingsData = JSON.parse(
window.localStorage.getItem("settings") || "{}"
)
if (settingsData) {
bulkApplySettings(settingsData)