diff --git a/frontend/.prettierrc.json b/frontend/.prettierrc.json index 365aaa42..edce056d 100644 --- a/frontend/.prettierrc.json +++ b/frontend/.prettierrc.json @@ -3,7 +3,7 @@ "tabWidth": 2, "singleQuote": true, "printWidth": 120, - "trailingComma": "all", + "trailingComma": "none", "endOfLine": "auto", "htmlWhitespaceSensitivity": "ignore", "bracketSameLine": true diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 3598038a..b739531b 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -7,7 +7,7 @@ export default [ js.configs.recommended, eslintPluginPrettier, { - ignores: ['dist/'], + ignores: ['dist/'] }, { rules: { @@ -17,15 +17,15 @@ export default [ quotes: ['error', 'single', { avoidEscape: true }], 'no-unused-vars': [ 'error', - { args: 'after-used', argsIgnorePattern: '^_', caughtErrors: 'all', caughtErrorsIgnorePattern: '^ignore' }, + { args: 'after-used', argsIgnorePattern: '^_', caughtErrors: 'all', caughtErrorsIgnorePattern: '^ignore' } ], 'vue/no-v-text-v-html-on-component': ['error', { allow: ['v-card-text'] }], 'vue/valid-v-slot': [ 'error', { - allowModifiers: true, - }, - ], - }, - }, + allowModifiers: true + } + ] + } + } ] diff --git a/frontend/public/js/config/config.js b/frontend/public/js/config/config.js index a77199ee..86f87d92 100644 --- a/frontend/public/js/config/config.js +++ b/frontend/public/js/config/config.js @@ -3,5 +3,5 @@ const config = { BANNER_ENVIRONMENT: 'DEV', BANNER_COLOR: '#8d28d7', TDAD_CONTACT_EMAIL: '10aDayCentres@gov.bc.ca', - IRREGULAR_EXPENSE_FORM_URL: 'https://www2.gov.bc.ca/assets/download/80DAA65E3FA44EFCA61F4557C6FAEE59', + IRREGULAR_EXPENSE_FORM_URL: 'https://www2.gov.bc.ca/assets/download/80DAA65E3FA44EFCA61F4557C6FAEE59' } diff --git a/frontend/src/App.vue b/frontend/src/App.vue index b366e361..ebf26f10 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -29,12 +29,12 @@ export default { TheEnvBar, TheHeader, TheSnackBar, - TheFooter, + TheFooter }, methods: { ...mapActions(useAppStore, ['getLookupInfo']), - ...mapActions(useAuthStore, ['getJwtToken']), - }, + ...mapActions(useAuthStore, ['getJwtToken']) + } } diff --git a/frontend/src/common/apiService.js b/frontend/src/common/apiService.js index db4f959e..1945ffc2 100644 --- a/frontend/src/common/apiService.js +++ b/frontend/src/common/apiService.js @@ -45,7 +45,7 @@ const intercept = apiAxios.interceptors.response.use( reject(e) }) }) - }, + } ) export default { @@ -61,5 +61,5 @@ export default { } else { delete apiAxios.defaults.headers.common['Authorization'] } - }, + } } diff --git a/frontend/src/common/authService.js b/frontend/src/common/authService.js index a6249f29..bd767677 100644 --- a/frontend/src/common/authService.js +++ b/frontend/src/common/authService.js @@ -18,7 +18,7 @@ export default { async refreshAuthToken(token) { try { const response = await axios.post(AuthRoutes.REFRESH, { - refreshToken: token, + refreshToken: token }) if (response.data.error) { @@ -30,5 +30,5 @@ export default { console.log(`Failed to refresh JWT token - ${e}`) throw e } - }, + } } diff --git a/frontend/src/components/TheEnvBar.vue b/frontend/src/components/TheEnvBar.vue index 47666445..71d47cbe 100644 --- a/frontend/src/components/TheEnvBar.vue +++ b/frontend/src/components/TheEnvBar.vue @@ -14,9 +14,9 @@ export default { data() { return { bannerEnvironment: StaticConfig.BANNER_ENVIRONMENT, - bannerColor: StaticConfig.BANNER_COLOR, + bannerColor: StaticConfig.BANNER_COLOR } - }, + } }