[cleanup] Fix some minor formatting
This commit is contained in:
parent
1132bfd129
commit
bc9dba1c7b
|
@ -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 }],
|
||||
|
|
|
@ -81,7 +81,7 @@ export const useMainStore = defineStore({
|
|||
} catch (error) {
|
||||
return false;
|
||||
} finally {
|
||||
this.handleLoggedOut( );
|
||||
this.handleLoggedOut();
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue