[cleanup] Fix some minor formatting

This commit is contained in:
Ferdinand Thiessen 2021-11-11 11:11:06 +01:00
parent 1132bfd129
commit bc9dba1c7b
5 changed files with 13 additions and 11 deletions

View File

@ -75,7 +75,11 @@ module.exports = {
// add your custom rules here
rules: {
'prefer-promise-reject-errors': 'off',
// VueStuff
'vue/multi-word-component-names': 'off',
// Misc
'prefer-promise-reject-errors': ["error", {"allowEmptyReject": true}],
// TypeScript
quotes: ['warn', 'single', { avoidEscape: true }],

View File

@ -81,7 +81,7 @@ export const useMainStore = defineStore({
} catch (error) {
return false;
} finally {
this.handleLoggedOut( );
this.handleLoggedOut();
}
return true;
},

View File

@ -1,9 +1,9 @@
/* eslint-disable */
// THIS FEATURE-FLAG FILE IS AUTOGENERATED,
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING
import "quasar/dist/types/feature-flag";
import 'quasar/dist/types/feature-flag';
declare module "quasar/dist/types/feature-flag" {
declare module 'quasar/dist/types/feature-flag' {
interface QuasarFeatureFlags {
cordova: true;
}

View File

@ -1,9 +1,9 @@
/* eslint-disable */
// THIS FEATURE-FLAG FILE IS AUTOGENERATED,
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING
import "quasar/dist/types/feature-flag";
import 'quasar/dist/types/feature-flag';
declare module "quasar/dist/types/feature-flag" {
declare module 'quasar/dist/types/feature-flag' {
interface QuasarFeatureFlags {
electron: true;
}

View File

@ -1,4 +1,4 @@
import {computed} from 'vue';
import { computed } from 'vue';
import { LocalStorage } from 'quasar';
const config = {
@ -6,9 +6,7 @@ const config = {
pollingInterval: 30000,
};
const baseURL = computed(() =>
LocalStorage.getItem<string>('baseURL') || config.baseURL
);
const baseURL = computed(() => LocalStorage.getItem<string>('baseURL') || config.baseURL);
export {baseURL}
export { baseURL };
export default config;