Replaces Vue CLI 4 with Vite 7 + @tailwindcss/vite + vite-plugin-pwa, yarn with pnpm, tslint with ESLint 9 flat config, and Jest with Vitest. Drops Netlify deploy config and the dead FontAwesome npm token. Bumps the entire dependency surface: Vue 3.5, Pinia 2, vue-router 4, vue-i18n 11, Tailwind 4, DaisyUI 5, TypeScript 5.7, axios 1.x, mapbox-gl 3.x, date-fns 4.x, uuid 11.x, pouchdb-browser 9.x.
30 lines
790 B
JavaScript
30 lines
790 B
JavaScript
import pluginVue from 'eslint-plugin-vue'
|
|
import vueTsConfig from '@vue/eslint-config-typescript'
|
|
|
|
export default [
|
|
{
|
|
ignores: [
|
|
'dist/**',
|
|
'node_modules/**',
|
|
'src-legacy/**',
|
|
'dev/**',
|
|
'src/utils/smtp.js'
|
|
]
|
|
},
|
|
...pluginVue.configs['flat/recommended'],
|
|
...vueTsConfig(),
|
|
{
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/max-attributes-per-line': 'off',
|
|
'vue/singleline-html-element-content-newline': 'off',
|
|
'vue/html-self-closing': 'off',
|
|
'vue/attributes-order': 'off',
|
|
'vue/first-attribute-linebreak': 'off',
|
|
'vue/no-mutating-props': 'warn',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }]
|
|
}
|
|
}
|
|
]
|