🚨 🎨 add new rules & fix linter warnings

This commit is contained in:
Kevin van der Werff
2019-10-01 14:33:26 +02:00
committed by Kevin
parent 6a2e1a58d5
commit 0e12d978bb
13 changed files with 48 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
export const state = () => ({
locales: ['en', 'fr', 'de'],
locale: 'en'
locale: 'en',
})
export const mutations = {
@@ -8,5 +8,5 @@ export const mutations = {
if (state.locales.indexOf(locale) !== -1) {
state.locale = locale
}
}
},
}