diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-09 16:00:39 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-09 16:00:39 +0100 |
commit | f281eaa71ff915370c0d9c1975fb46b7510f110d (patch) | |
tree | a033f254d219d750ff90487a2665f4265905f096 /src | |
parent | 07b5e76c479b8cf5f3668cc69ba87e9b3b844e4f (diff) |
Eslint aliases and improved linting rules
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ContactDetails/ContactDetailsAddNewProp.vue | 2 | ||||
-rw-r--r-- | src/components/ContactDetails/ContactDetailsProperty.vue | 10 | ||||
-rw-r--r-- | src/components/Settings/SettingsAddressbookShare.vue | 2 | ||||
-rw-r--r-- | src/components/SettingsSection.vue | 8 | ||||
-rw-r--r-- | src/router/index.js | 2 | ||||
-rw-r--r-- | src/store/addressbooks.js | 6 | ||||
-rw-r--r-- | src/store/index.js | 4 | ||||
-rw-r--r-- | src/views/Contacts.vue | 14 |
8 files changed, 24 insertions, 24 deletions
diff --git a/src/components/ContactDetails/ContactDetailsAddNewProp.vue b/src/components/ContactDetails/ContactDetailsAddNewProp.vue index 9e12ac99..c9d5404c 100644 --- a/src/components/ContactDetails/ContactDetailsAddNewProp.vue +++ b/src/components/ContactDetails/ContactDetailsAddNewProp.vue @@ -39,7 +39,7 @@ <script> import rfcProps from '../../models/rfcProps.js' import Contact from '../../models/contact' -import PropertyTitle from '../Properties/PropertyTitle' +import PropertyTitle from 'Components/Properties/PropertyTitle' export default { name: 'ContactDetailsAddNewProp', diff --git a/src/components/ContactDetails/ContactDetailsProperty.vue b/src/components/ContactDetails/ContactDetailsProperty.vue index 3a4df0c2..e2eee5b6 100644 --- a/src/components/ContactDetails/ContactDetailsProperty.vue +++ b/src/components/ContactDetails/ContactDetailsProperty.vue @@ -35,11 +35,11 @@ import { Property } from 'ical.js' import rfcProps from '../../models/rfcProps.js' import Contact from '../../models/contact' -import PropertyText from '../Properties/PropertyText' -import PropertyMultipleText from '../Properties/PropertyMultipleText' -import PropertyDateTime from '../Properties/PropertyDateTime' -import propertyGroups from '../Properties/PropertyGroups' -import PropertySelect from '../Properties/PropertySelect' +import PropertyText from 'Components/Properties/PropertyText' +import PropertyMultipleText from 'Components/Properties/PropertyMultipleText' +import PropertyDateTime from 'Components/Properties/PropertyDateTime' +import propertyGroups from 'Components/Properties/PropertyGroups' +import PropertySelect from 'Components/Properties/PropertySelect' export default { name: 'ContactDetailsProperty', diff --git a/src/components/Settings/SettingsAddressbookShare.vue b/src/components/Settings/SettingsAddressbookShare.vue index efea02b9..0c87d799 100644 --- a/src/components/Settings/SettingsAddressbookShare.vue +++ b/src/components/Settings/SettingsAddressbookShare.vue @@ -57,7 +57,7 @@ <script> -import api from '../../services/api' +import api from 'Services/api' import addressBookSharee from './SettingsAddressbookSharee' import debounce from 'debounce' diff --git a/src/components/SettingsSection.vue b/src/components/SettingsSection.vue index d54eab52..de3de5ad 100644 --- a/src/components/SettingsSection.vue +++ b/src/components/SettingsSection.vue @@ -33,10 +33,10 @@ </template> <script> -import addressBook from '../components/Settings/SettingsAddressbook' -import addAddressBook from '../components/Settings/SettingsNewAddressbook' -import importContacts from '../components/Settings/SettingsImportContacts' -import sortContacts from '../components/Settings/SettingsSortContacts' +import addressBook from 'Components/Settings/SettingsAddressbook' +import addAddressBook from 'Components/Settings/SettingsNewAddressbook' +import importContacts from 'Components/Settings/SettingsImportContacts' +import sortContacts from 'Components/Settings/SettingsSortContacts' export default { name: 'SettingsSection', diff --git a/src/router/index.js b/src/router/index.js index 5272dd85..4fff3af6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -22,7 +22,7 @@ import Vue from 'vue' import Router from 'vue-router' -import Contacts from '../views/Contacts' +import Contacts from 'Views/Contacts' Vue.use(Router) diff --git a/src/store/addressbooks.js b/src/store/addressbooks.js index c37a106e..7f28f5fb 100644 --- a/src/store/addressbooks.js +++ b/src/store/addressbooks.js @@ -23,9 +23,9 @@ import Vue from 'vue' import ICAL from 'ical.js' -import parseVcf from '../services/parseVcf' -import client from '../services/cdav' -import Contact from '../models/contact' +import parseVcf from 'Services/parseVcf' +import client from 'Services/cdav' +import Contact from 'Models/contact' import pLimit from 'p-limit' const addressbookModel = { diff --git a/src/store/index.js b/src/store/index.js index 546cbedd..fcd59385 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -21,7 +21,7 @@ */ import Vue from 'vue' -import Vuex from 'vuex' +import Vuex, { Store } from 'vuex' import addressbooks from './addressbooks' import contacts from './contacts' import groups from './groups' @@ -31,7 +31,7 @@ Vue.use(Vuex) const mutations = {} -export default new Vuex.Store({ +export default new Store({ modules: { addressbooks, contacts, diff --git a/src/views/Contacts.vue b/src/views/Contacts.vue index 56843b5e..f751470a 100644 --- a/src/views/Contacts.vue +++ b/src/views/Contacts.vue @@ -48,15 +48,15 @@ </template> <script> -import SettingsSection from '../components/SettingsSection' -import ContentList from '../components/ContentList' -import ContactDetails from '../components/ContactDetails' -import ImportScreen from '../components/ImportScreen' +import SettingsSection from 'Components/SettingsSection' +import ContentList from 'Components/ContentList' +import ContactDetails from 'Components/ContactDetails' +import ImportScreen from 'Components/ImportScreen' -import Contact from '../models/contact' -import rfcProps from '../models/rfcProps.js' +import Contact from 'Models/contact' +import rfcProps from 'Models/rfcProps.js' -import client from '../services/cdav.js' +import client from 'Services/cdav.js' export default { name: 'Contacts', |