[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 // add your custom rules here
rules: { rules: {
'prefer-promise-reject-errors': 'off', // VueStuff
'vue/multi-word-component-names': 'off',
// Misc
'prefer-promise-reject-errors': ["error", {"allowEmptyReject": true}],
// TypeScript // TypeScript
quotes: ['warn', 'single', { avoidEscape: true }], quotes: ['warn', 'single', { avoidEscape: true }],

View File

@ -1,9 +1,9 @@
/* eslint-disable */ /* eslint-disable */
// THIS FEATURE-FLAG FILE IS AUTOGENERATED, // THIS FEATURE-FLAG FILE IS AUTOGENERATED,
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING // 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 { interface QuasarFeatureFlags {
cordova: true; cordova: true;
} }

View File

@ -1,9 +1,9 @@
/* eslint-disable */ /* eslint-disable */
// THIS FEATURE-FLAG FILE IS AUTOGENERATED, // THIS FEATURE-FLAG FILE IS AUTOGENERATED,
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING // 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 { interface QuasarFeatureFlags {
electron: true; electron: true;
} }

View File

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