🎉 Initial template frontend setup (#1)

* Initial frontend setup

* Adapt template to home cert manager
This commit is contained in:
Torge Hamann 2024-11-17 17:47:13 +01:00 committed by GitHub
parent 5483502480
commit 254f2f09ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 3144 additions and 0 deletions

30
frontend/eslint.config.js Normal file
View file

@ -0,0 +1,30 @@
import pluginVue from 'eslint-plugin-vue'
import vueTsEslintConfig from '@vue/eslint-config-typescript'
export default [
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
},
{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
},
...pluginVue.configs['flat/recommended'],
...vueTsEslintConfig(),
{
rules: {
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowShortCircuit: true,
allowTernary: true,
},
],
'vue/multi-word-component-names': 'off',
}
}
]