Merge branch 'frontend' into leaderboard-pagination

# Conflicts:
#	frontend/game/tsconfig.json
#	frontend/package-lock.json
#	frontend/package.json
#	frontend/public/index.html
#	frontend/src/App.vue
#	frontend/src/components/Game.vue
#	frontend/src/components/Leaderboard.vue
This commit is contained in:
j-weissen 2023-01-20 14:01:10 +01:00
commit 91fd54a97f
4 changed files with 26 additions and 5 deletions

4
frontend/.browserslistrc Normal file
View file

@ -0,0 +1,4 @@
> 1%
last 2 versions
not dead
not ie 11

19
frontend/.eslintrc.js Normal file
View file

@ -0,0 +1,19 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/multi-word-component-names': 'off',
}
}

View file

@ -42,8 +42,6 @@ export default defineComponent({
data() { data() {
return { return {
userScores: {}, userScores: {},
highscoreLeaderboard: [],
totalPlaytimeLeaderboard: [],
userId: 1, userId: 1,
} }
}, },

View file

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="wrapper">
<main></main> <main></main>
</div> </div>
</template> </template>